ubuntu openoffice解決方案

來源:互聯網
上載者:User

ubuntu openoffice解決方案 因為update openoffice,或者誤刪除了openoffice,導致升級出錯: Java代碼  Can't open /usr/share/applications/openoffice4-base.desktop: No such file or directory at -e line 1, <> line 3489.  Can't open /usr/share/applications/openoffice4-calc.desktop: No such file or directory at -e line 1, <> line 3489.  Can't open /usr/share/applications/openoffice4-draw.desktop: No such file or directory at -e line 1, <> line 3489.  Can't open /usr/share/applications/openoffice4-impress.desktop: No such file or directory at -e line 1, <> line 3489.  Can't open /usr/share/applications/openoffice4-javafilter.desktop: No such file or directory at -e line 1, <> line 3489.  Can't open /usr/share/applications/openoffice4-math.desktop: No such file or directory at -e line 1, <> line 3489.  Can't open /usr/share/applications/openoffice4-printeradmin.desktop: No such file or directory at -e line 1, <> line 3489.  Can't open /usr/share/applications/openoffice4-startcenter.desktop: No such file or directory at -e line 1, <> line 3489.  Can't open /usr/share/applications/openoffice4-writer.desktop: No such file or directory at -e line 1, <> line 3489.  Processing triggers for desktop-file-utils ...  Processing triggers for gnome-menus ...  Errors were encountered while processing:   /var/cache/apt/archives/libreoffice-common_1%3a3.5.7-0ubuntu4_all.deb  E: Sub-process /usr/bin/dpkg returned an error code (1)    解決辦法: Java代碼  sudo dpkg --remove --force-remove-reinstreq libreoffice*  sudo apt-get -f dist-upgrade  sudo dpkg --remove --force-remove-reinstreq libssl-dev  sudo dpkg --remove --force-remove-reinstreq python*  sudo apt-get install python2.7  sudo apt-get -f install  sudo apt-get dist-upgrade  sudo apt-get install libreoffice  sudo apt-get upgrade    若你還安裝了apache openoffice則先刪除之: Java代碼  sudo dpkg --remove --force-remove-reinstreq openoffice*   

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.