실행하려고 하는데 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_version
이지만 7.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: