Apt-get corrupted

时间:2013-04-30 20:47:04

标签: linux apt-get linuxmint

我尝试使用我的linux mint。结果是apt-get不再起作用了......

sudo apt-get upgrade
For repair packages run „apt-get -f install“.
Following packages
apt : Depends on: debian-archive-keyring cannot install
ia32-libs : Depends on: ia32-libs-multiarch cannot install
libapt-pkg4.12 : Break: apt (< 0.9.4~) ale 0.8.10.3+squeeze1 is installed
skype : Depends on: skype-bin cannot install
wine1.4 : Depends on: wine1.4-i386 (= 1.4.1-0ubuntu1) cannot install
N: Ignoring file 'local-repository.list.save' in directory '/etc/apt/sources.list.d/' as     it has an invalid filename extension
N: Ignoring file 'langdalepl-gvfs-mtp-quantal.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'xubuntu-dev-xfce-4_12-quantal.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'webupd8team-java-quantal.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Corrupted dependencies, try to use -f.

难道没有人知道任何解决方案吗?

2 个答案:

答案 0 :(得分:1)

如果apt / dpkg数据库没有损坏,只需遵循apt给出的说明即可。尝试:

sudo apt-get install -f

没有任何包名称,并且可以修复破坏的内容。

答案 1 :(得分:0)

阅读你收到的信息并运行:

sudo apt-get -f install