未满足的依赖关系和损坏的计数> 0 问题

未满足的依赖关系和损坏的计数> 0 问题

我尝试安装 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停止工作了,不再有任何用处。软件中心也一样,但是 synaptic 仍然可以工作(至少在某种程度上),我可以用gimp-plugin-registry 3.5.4-1它卸载冲突的软件包。

因此,您可以尝试使用 Synaptic,尽管当 apt-get 不工作并且您尚未安装它时,我不知道如何将它放入您的系统中。

更新:我想我已经想到了一种更通用的方法来解决这个问题。你可以试试dpkg - P libzlcore 0.12.10-1,但由于我已经解决了我的问题,所以我无法亲自测试。

答案2

我感觉你的驱动器已满,没有可用空间。尝试将一些不需要的文件移到另一个分区,腾出一些可用空间。输入

sudo apt-get install --fix-broken

相关内容