从 Kubuntu 16.04 升级到 16.10 后,我遇到了一系列问题。
我尝试用以下方法修复它们:sudo apt-get -f install
以及其他几种尝试。
其中一个问题似乎在于kde-l10n-nl
以下结果sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libavdevice-ffmpeg56 libboost-date-time1.58.0 libboost-filesystem1.58.0 libboost-iostreams1.58.0 libicu55:i386
libjson-c2:i386 libkf5activitiesexperimentalstats1 libkwinxrenderutils7 libmircommon5 liborcus-0.10-0v5
libprocps4 libprotobuf9v5 libwacom-bin libxdelta2 linux-headers-4.4.0-45 linux-headers-4.4.0-45-generic
linux-headers-4.4.0-46 linux-headers-4.4.0-46-generic linux-headers-4.4.0-47 linux-headers-4.4.0-47-generic
linux-image-4.4.0-45-generic linux-image-4.4.0-46-generic linux-image-4.4.0-47-generic
linux-image-extra-4.4.0-45-generic linux-image-extra-4.4.0-46-generic linux-image-extra-4.4.0-47-generic
ubuntu-core-launcher xdelta
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
kde-l10n-nl libkf5kexiv2-15.0.0 libkf5kipi-bin libkf5screen7
The following packages will be REMOVED:
libkf5kipi30.0.0 libkf5screen6
The following NEW packages will be installed:
libkf5kexiv2-15.0.0 libkf5kipi-bin libkf5screen7
The following packages will be upgraded:
kde-l10n-nl
1 upgraded, 3 newly installed, 2 to remove and 829 not upgraded.
967 not fully installed or removed.
Need to get 0 B/15,6 MB of archives.
After this operation, 211 kB disk space will be freed.
Do you want to continue? [J/n] j
(Reading database ... 344785 files and directories currently installed.)
Preparing to unpack .../kde-l10n-nl_4%3a16.04.3-0ubuntu1_all.deb ...
Unpacking kde-l10n-nl (4:16.04.3-0ubuntu1) over (4:15.12.3-0ubuntu1.1) ...
dpkg: error processing archive /var/cache/apt/archives/kde-l10n-nl_4%3a16.04.3-0ubuntu1_all.deb (--unpack):
trying to overwrite '/usr/share/doc/HTML/nl/khelpcenter/index.cache.bz2', which is also in package khelpcenter 4:5.5.5-0ubuntu1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/kde-l10n-nl_4%3a16.04.3-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
我试过了:sudo apt autoremove
这也告诉我
sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
gwenview : Depends: libkf5kipi-bin (>= 16.04) but it is not installed
kde-spectacle : Depends: libkf5kipi-bin (>= 16.04) but it is not installed
Depends: libkf5screen7 (>= 4:5.6.3) but it is not installed
kscreen : Depends: libkf5screen7 (>= 4:5.6.3) but it is not installed
libkf5i18n-data : Breaks: kde-l10n-nl (< 4:16.04.2) but 4:15.12.3-0ubuntu1.1 is installed
libkf5screen-bin : Depends: libkf5screen7 (>= 4:5.7.1) but it is not installed
libpowerdevilcore2 : Depends: libkf5screen7 (>= 4:5.6.3) but it is not installed
plasma-desktop-data : Breaks: kde-l10n-nl (< 4:15.12.3-0ubuntu3~) but 4:15.12.3-0ubuntu1.1 is installed
E: Unmet dependencies. Try using -f.
欢迎提出任何有关如何修复的建议。
答案1
我最终从安装中清除了许多软件包,以便最终能够无错误地sudo apt-get dist-upgrade
重新安装许多模块。
khelpcenter 只是我必须清除并重新安装的众多程序之一。dpkg --configure -a
其间我还必须清除几次。
说实话我记不住所有的步骤。现在我还剩下一个小问题没有解决:从 16.04 升级到 16.10 后,Ubuntu 启动到“只读文件系统”