pkgProblemResolver::解决生成的中断

pkgProblemResolver::解决生成的中断

我正在尝试运行apt-get dist-upgrade,但出现以下错误

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Failed
The following packages have unmet dependencies:
 perl : Depends: perl-base (= 5.14.2-21+deb7u2) but it is not going to be installed
        Depends: perl-modules (>= 5.14.2-21+deb7u2) but it is not going to be installed
 sysvinit : PreDepends: initscripts (>= 2.88dsf-13.3) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

我成功跑了apt-get upgrade,所以我没主意了

我正在考虑apt-get remove perl,但后来出现了这个错误

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mount : PreDepends: libblkid1 (>= 2.20.1) but it is not going to be installed
         PreDepends: libmount1 (>= 2.20.1) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

我的sources.list样子是这样的

deb http://ftp.dk.debian.org/debian/ wheezy main
deb-src http://ftp.dk.debian.org/debian/ wheezy main

deb http://security.debian.org/ testing/updates main
deb-src http://security.debian.org/ testing/updates main

deb http://security.debian.org/debian-security wheezy/updates main
deb-src http://security.debian.org/debian-security wheezy/updates main

deb http://backports.debian.org/debian-backports squeeze-backports main

deb http://mirrors.sunsite.dk/debian/ wheezy main
deb-src http://mirrors.sunsite.dk/debian/ wheezy main

deb http://ftp.ie.debian.org/debian/ wheezy main
deb-src http://ftp.ie.debian.org/debian/ wheezy main

deb http://security.debian.org/ stable/updates main

deb http://ftp.debian.org/debian/ wheezy main non-free
deb http://security.debian.org/ wheezy/updates main non-free

我能做些什么?

评论中问题的答案是

的输出cat /etc/debian_version7.9,但不,我没有使用,因为你的评论是第一个地方,我读到了它,但我要在运行apt pinning时进行设置apt

的输出apt-cache policy

Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://security.debian.org/ wheezy/updates/non-free Translation-en
 500 http://security.debian.org/ wheezy/updates/main Translation-en
 500 http://security.debian.org/ wheezy/updates/non-free i386 Packages
     release v=7.0,o=Debian,a=oldstable,n=wheezy,l=Debian-Security,c=non-free
     origin security.debian.org
 500 http://security.debian.org/ wheezy/updates/main i386 Packages
     release v=7.0,o=Debian,a=oldstable,n=wheezy,l=Debian-Security,c=main
     origin security.debian.org
 500 http://ftp.debian.org/debian/ wheezy/non-free Translation-en
 500 http://ftp.debian.org/debian/ wheezy/main Translation-en
 500 http://ftp.debian.org/debian/ wheezy/non-free i386 Packages
     release v=7.9,o=Debian,a=oldstable,n=wheezy,l=Debian,c=non-free
     origin ftp.debian.org
 500 http://ftp.debian.org/debian/ wheezy/main i386 Packages
     release v=7.9,o=Debian,a=oldstable,n=wheezy,l=Debian,c=main
     origin ftp.debian.org
 500 http://security.debian.org/ stable/updates/main Translation-en
 500 http://security.debian.org/ stable/updates/main i386 Packages
     release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=main
     origin security.debian.org
 500 http://ftp.ie.debian.org/debian/ wheezy/main Translation-en
 500 http://ftp.ie.debian.org/debian/ wheezy/main i386 Packages
     release v=7.9,o=Debian,a=oldstable,n=wheezy,l=Debian,c=main
     origin ftp.ie.debian.org
 500 http://mirrors.sunsite.dk/debian/ wheezy/main Translation-en
 500 http://mirrors.sunsite.dk/debian/ wheezy/main i386 Packages
     release v=7.9,o=Debian,a=oldstable,n=wheezy,l=Debian,c=main
     origin mirrors.sunsite.dk
 500 http://backports.debian.org/debian-backports/ squeeze-backports/main Translation-en
 100 http://backports.debian.org/debian-backports/ squeeze-backports/main i386 Packages
     release o=Debian Backports,a=squeeze-backports,n=squeeze-backports,l=Debian Backports,c=main
     origin backports.debian.org
 500 http://security.debian.org/debian-security/ wheezy/updates/main Translation-en
 500 http://security.debian.org/debian-security/ wheezy/updates/main i386 Packages
     release v=7.0,o=Debian,a=oldstable,n=wheezy,l=Debian-Security,c=main
     origin security.debian.org
 500 http://security.debian.org/ testing/updates/main Translation-en
 500 http://security.debian.org/ testing/updates/main i386 Packages
     release o=Debian,a=testing,n=stretch,l=Debian-Security,c=main
     origin security.debian.org
 500 http://ftp.dk.debian.org/debian/ wheezy/main Translation-en
 500 http://ftp.dk.debian.org/debian/ wheezy/main i386 Packages
     release v=7.9,o=Debian,a=oldstable,n=wheezy,l=Debian,c=main
     origin ftp.dk.debian.org
Pinned packages:

相关内容