我嘗試按照所有步驟安裝 fbreader,但最終遇到了未滿足的依賴關係,我還認為一個檔案同時在兩個位置引用,因此殺死了它。
我有什麼想法可以解決它嗎?我做了很多研究並嘗試過:
simon@simon-Studio-1558:~$ 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:
dkms patch
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libzlcore0.12
The following NEW packages will be installed:
libzlcore0.12
0 upgraded, 1 newly installed, 0 to remove and 61 not upgraded.
6 not fully installed or removed.
Need to get 0 B/270 kB of archives.
After this operation, 811 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 179860 files and directories currently installed.)
Unpacking libzlcore0.12 (from .../libzlcore0.12_0.12.10dfsg-4_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libzlcore0.12_0.12.10dfsg-4_i386.deb (--unpack):
trying to overwrite '/usr/lib/libzlcore.so.0.12.10', which is also in package libzlcore 0.12.10-1
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libzlcore0.12_0.12.10dfsg-4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
對格式感到抱歉,但基本上它不喜歡:
dpkg: error processing /var/cache/apt/archives/libzlcore0.12_0.12.10dfsg-4_i386.deb (--unpack):
trying to overwrite '/usr/lib/libzlcore.so.0.12.10', which is also in package libzlcore 0.12.10-1
有任何想法嗎?另外我不關心保留程序,但錯誤正在停止
sudo apt-get remove fbreader
也從工作中。
答案1
我有一個非常相似的錯誤訊息:
dpkg: error processing /var/cache/apt/archives/gimp_2.8.0~rc1-0precise0~ppa_amd64.deb (--unpack):
trying to overwrite '/usr/lib/gimp/2.0/plug-ins/file-xmc', which is also in package gimp-plugin-registry 3.5.4-1 dpkg-deb:
error: subprocess paste was killed by signal (Broken pipe)
並且apt-get
不再為我工作,不再做任何有用的事情。對於軟體中心也是如此,但是突觸仍然可以工作(至少在某種程度上),我可以gimp-plugin-registry 3.5.4-1
用它來卸載衝突的軟體包。
因此,您可以嘗試使用 Synaptic,儘管當 apt-get 無法工作且您尚未安裝它時,我不知道如何將其安裝到您的系統中。
更新:我想我有一種預感,有一種更通用的方法來解決這個問題。您可以嘗試dpkg - P libzlcore 0.12.10-1
,但由於我已經解決了我的問題,所以我無法自己測試。
答案2
我發現您的驅動器已滿並且沒有可用空間。嘗試將一些不需要的檔案移動到另一個分割區,並騰出一些可用空間。類型
sudo apt-get install --fix-broken