오늘 Ubuntu 17.04를 17.10으로 업그레이드했습니다. 업그레이드 이미지를 언급하면서 나에게 몇 가지 오류를 준 _helpimg.zip.dpkg-new
, libreoffice
3-4 더. 마지막으로 오류와 함께 업그레이드를 요청했습니다.
이제 아무것도 설치 / 업데이트 할 수 없습니다. 이 오류가 발생합니다.
unable to open '/usr/share/libreoffice/share/config/images_helpimg.zip.dpkg-new':
Operation not permitted
이미 다음 명령을 시도했습니다
sudo apt-get purge libreoffice* openoffice*
그것은 준다
Package 'libreoffice-wiki-publisher' is not installed, so not removed
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
gir1.2-lokdocview-0.1 :
Depends: libreoffice-core (= 1:5.4.2-0ubuntu0.17.10.1) but it is not going to be installed
liblibreofficekitgtk :
Depends: libreofficekit-data but it is not going to be installed
Depends: libreoffice-core (= 1:5.4.2-0ubuntu0.17.10.1) but it is not going to be installed
Recommends: libreoffice-gtk3 but it is not going to be installed
python3-uno :
Depends: libreoffice-core (= 1:5.4.2-0ubuntu0.17.10.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
그래서 나는 시도했다
sudo apt --fix-broken install
설치를 시도했지만 실패했습니다.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libreoffice-common
Suggested packages:
libreoffice-style-hicontrast libreoffice-style-oxygen libreoffice-style-sifr
The following packages will be upgraded:
libreoffice-common
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
28 not fully installed or removed.
Need to get 0 B/20.8 MB of archives.
After this operation, 15.7 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 292277 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a5.4.2-0ubuntu0.17.10.1_all.deb ...
Unpacking libreoffice-common (1:5.4.2-0ubuntu0.17.10.1) over (1:5.3.1-0ubuntu2) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a5.4.2-0ubuntu0.17.10.1_all.deb (--unpack):
unable to open '/usr/share/libreoffice/share/config/images_helpimg.zip.dpkg-new': Operation not permitted
rmdir: failed to remove '/var/lib/libreoffice/share/prereg/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/share/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/program/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-common_1%3a5.4.2-0ubuntu0.17.10.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
따라서 수동으로 설치하려고했습니다.
$sudo gdebi /var/cache/apt/archives/libreoffice-common_1%3a5.4.2-
0ubuntu0.17.10.1_all.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
This package is uninstallable
Failed to satisfy all dependencies (broken cache)
도움이되지 않았기 때문에 다음을 시도했습니다.
$ sudo dpkg --configure -a
:
Errors were encountered while processing:
libreoffice-style-galaxy
libreoffice-l10n-hi
libreoffice-core
libreoffice-calc
libreoffice-l10n-ja
libreoffice-l10n-en-gb
libreofficekit-data
libreoffice-style-elementary
gir1.2-lokdocview-0.1
libreoffice-l10n-en-za
libreoffice-style-tango
gnome-menus
libreoffice-gtk3
libreoffice-style-breeze
libreoffice-gnome
libreoffice-pdfimport
libreoffice-draw
libreoffice-help-en-us
libreoffice-avmedia-backend-gstreamer
libreoffice-ogltrans
libreoffice-writer
libreoffice-help-ja
libreoffice-impress
liblibreofficekitgtk
libreoffice-help-hi
libreoffice-math
libreoffice-help-en-gb
libreoffice-base-core
그러나 아무것도 작동하지 않았습니다.
마지막으로 기본적으로 .NET 용 GUI 대안 인 Ubuntu Software Center에서 Synaptic Package Manager를 설치했습니다 apt-get
. APT에서 어려움을 겪고 있던 모든 패키지를 설치할 수있었습니다. 그래서 libreoffice, python3 및 python3-minimal을 설치했습니다. 그것은 내 문제를 해결했습니다. 이제 다른 패키지도 설치할 수 있습니다.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다