解决apt-get -f install提示错误
从别的地方找的,很管用,转过来了^^
oy:/home/joy# apt-get install gpdf
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
您可能需要运行“apt-get -f install”来纠正下列错误:
下列的软件包有不能满足的依赖关系:
cdparanoia: 依赖: libcdparanoia0 (= 3a9.8-11) 但是,它将不会被安装
gpdf: 依赖: libgnomeprint2.2-0 (>= 2.4.2) 但是,它将不会被安装
依赖: libgnomeprintui2.2-0 (>= 2.4.2) 但是,它将不会被安装
E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt-get -f install”(也可以指定一个解决办法)。
------------------------------------------------------------------------------------
不管想装什么,都会出现这个 cdparanoia的错误
用apt-get -f install 报错如下:
---------------------------------------------------------------------------------
解压缩后会消耗掉 176kB 的额外空间。
您希望继续执行吗?Y/ny
(Reading database ... 61868 files and directories currently installed.)
Unpacking libcdparanoia0 (from .../libcdparanoia0_3a9.8-11_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libcdparanoia0_3a9.8-11_i386.deb (--unpack):
trying to overwrite `/usr/lib/libcdda_interface.so.0.9.8', which is also in package cdparanoia-libs
dpkg-deb: subprocess paste killed by signal (断开的管道)
Errors were encountered while processing:
/var/cache/apt/archives/libcdparanoia0_3a9.8-11_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
joy:/home/joy#
---------------------------------------------------------------------------------
现在不管装什么软件包都会出现这个提示错误,请问有解决的办法吗?
dpkg -P cdparanoia,
把这个东西卸载掉,我上午刚搞定类似的问题,
不过不是这个包。
Use cd /var/cache/apt/archives then dpkg -i --force-overwrite your.deb ... with every package listed at the bottom of the output above on the line then dpkg --configure -a to configure all the packages that were missed when the error occurred.
oy:/home/joy# apt-get install gpdf
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
您可能需要运行“apt-get -f install”来纠正下列错误:
下列的软件包有不能满足的依赖关系:
cdparanoia: 依赖: libcdparanoia0 (= 3a9.8-11) 但是,它将不会被安装
gpdf: 依赖: libgnomeprint2.2-0 (>= 2.4.2) 但是,它将不会被安装
依赖: libgnomeprintui2.2-0 (>= 2.4.2) 但是,它将不会被安装
E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt-get -f install”(也可以指定一个解决办法)。
------------------------------------------------------------------------------------
不管想装什么,都会出现这个 cdparanoia的错误
用apt-get -f install 报错如下:
---------------------------------------------------------------------------------
解压缩后会消耗掉 176kB 的额外空间。
您希望继续执行吗?Y/ny
(Reading database ... 61868 files and directories currently installed.)
Unpacking libcdparanoia0 (from .../libcdparanoia0_3a9.8-11_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libcdparanoia0_3a9.8-11_i386.deb (--unpack):
trying to overwrite `/usr/lib/libcdda_interface.so.0.9.8', which is also in package cdparanoia-libs
dpkg-deb: subprocess paste killed by signal (断开的管道)
Errors were encountered while processing:
/var/cache/apt/archives/libcdparanoia0_3a9.8-11_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
joy:/home/joy#
---------------------------------------------------------------------------------
现在不管装什么软件包都会出现这个提示错误,请问有解决的办法吗?
dpkg -P cdparanoia,
把这个东西卸载掉,我上午刚搞定类似的问题,
不过不是这个包。
Use cd /var/cache/apt/archives then dpkg -i --force-overwrite your.deb ... with every package listed at the bottom of the output above on the line then dpkg --configure -a to configure all the packages that were missed when the error occurred.