Estou tentando executar um apt-get dist-upgrade
, mas ele vem com o seguinte erro
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.
Eu corri com sucesso apt-get upgrade
, então estou sem ideias
Eu estava pensando em apt-get remove perl
, mas depois vem com esse erro
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.
Meu sources.list
é semelhante a este
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
O que posso fazer?
As respostas para as perguntas nos comentários são
A saída de cat /etc/debian_version
é 7.9
, mas não, não estou usando apt pinning
como seu comentário é o primeiro lugar, eu li sobre isso, mas estou indo para configurá-lo, quando apt
é executando
A saída de 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: