auf meinem Rechner zu Hause funktioniert APT-Pinning nicht, im Gegensatz zu meinem Rechner auf der Arbeit und meinem Zweit-Rechner zu Hause.
Sowohl die /etc/apt/sources.list als auch die /etc/apt/prefences sind auf allen drei Rechnern gleich, Auf der Arbeit benutzte ich einen Proxy-Server der in /etc/apt/apt.conf eingetragen ist.
Meine sources.list:
Code: Alles auswählen
deb http://ftp.de.debian.org/debian/ testing main non-free contrib
deb-src http://ftp.de.debian.org/debian/ testing main non-free contrib
deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
deb http://ftp.de.debian.org/debian/ stable main non-free contrib
deb-src http://ftp.de.debian.org/debian/ stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb http://ftp.de.debian.org/debian/ unstable main non-free contrib
deb-src http://ftp.de.debian.org/debian/ unstable main non-free contrib
deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
Code: Alles auswählen
Package: *
Pin: release a=stable
Pin-Priority: 700
Package: *
Pin: release a=testing
Pin-Priority: 650
Package: *
Pin: release a=unstable
Pin-Priority: 600
Die Ausgabe von "apt-cache policy" zeigt, dass die Pin nicht übereinstimmen.
stable und testing haben 500 und unstable hat 600, das erklärt dann auch, das er immer die unstable-Pakete installieren will. Aber warum?!?
Code: Alles auswählen
Paketdateien:
100 /var/lib/dpkg/status
release a=now
500 http://security.debian.org stable/updates/non-free Packages
release v=3.0,o=Debian,a=stable,l=Debian-Security,c=updates/non-free
origin security.debian.org
500 http://security.debian.org stable/updates/contrib Packages
release v=3.0,o=Debian,a=stable,l=Debian-Security,c=updates/contrib
origin security.debian.org
500 http://security.debian.org stable/updates/main Packages
release v=3.0,o=Debian,a=stable,l=Debian-Security,c=updates/main
origin security.debian.org
600 http://non-us.debian.org unstable/non-US/non-free Packages
release o=Debian,a=unstable,l=Debian,c=non-US/non-free
origin non-us.debian.org
600 http://non-us.debian.org unstable/non-US/contrib Packages
release o=Debian,a=unstable,l=Debian,c=non-US/contrib
origin non-us.debian.org
600 http://non-us.debian.org unstable/non-US/main Packages
release o=Debian,a=unstable,l=Debian,c=non-US/main
origin non-us.debian.org
600 http://ftp.de.debian.org unstable/contrib Packages
release o=Debian,a=unstable,l=Debian,c=contrib
origin ftp.de.debian.org
600 http://ftp.de.debian.org unstable/non-free Packages
release o=Debian,a=unstable,l=Debian,c=non-free
origin ftp.de.debian.org
600 http://ftp.de.debian.org unstable/main Packages
release o=Debian,a=unstable,l=Debian,c=main
origin ftp.de.debian.org
500 http://non-us.debian.org testing/non-US/non-free Packages
release o=Debian,a=testing,l=Debian,c=non-US/non-free
origin non-us.debian.org
500 http://non-us.debian.org testing/non-US/contrib Packages
release o=Debian,a=testing,l=Debian,c=non-US/contrib
origin non-us.debian.org
500 http://non-us.debian.org testing/non-US/main Packages
release o=Debian,a=testing,l=Debian,c=non-US/main
origin non-us.debian.org
500 http://ftp.de.debian.org testing/contrib Packages
release o=Debian,a=testing,l=Debian,c=contrib
origin ftp.de.debian.org
500 http://ftp.de.debian.org testing/non-free Packages
release o=Debian,a=testing,l=Debian,c=non-free
origin ftp.de.debian.org
500 http://ftp.de.debian.org testing/main Packages
release o=Debian,a=testing,l=Debian,c=main
origin ftp.de.debian.org
500 http://non-us.debian.org stable/non-US/non-free Packages
release v=3.0r1,o=Debian,a=stable,l=Debian,c=non-US/non-free
origin non-us.debian.org
500 http://non-us.debian.org stable/non-US/contrib Packages
release v=3.0r1,o=Debian,a=stable,l=Debian,c=non-US/contrib
origin non-us.debian.org
500 http://non-us.debian.org stable/non-US/main Packages
release v=3.0r1,o=Debian,a=stable,l=Debian,c=non-US/main
origin non-us.debian.org
500 http://ftp.de.debian.org stable/contrib Packages
release v=3.0r1a,o=Debian,a=stable,l=Debian,c=contrib
origin ftp.de.debian.org
500 http://ftp.de.debian.org stable/non-free Packages
release v=3.0r1a,o=Debian,a=stable,l=Debian,c=non-free
origin ftp.de.debian.org
500 http://ftp.de.debian.org stable/main Packages
release v=3.0r1a,o=Debian,a=stable,l=Debian,c=main
origin ftp.de.debian.org
Festgehaltene Pakete (,,Pin"):
Code: Alles auswählen
apt 0.5.14 für linux i386 kompiliert am Sep 24 2003 00:13:47
Unterstützte Module:
*Ver: Standard .deb
*Pkg: Debian dpkg interface (Priority 30)
S.L: 'deb' Standard Debian binary tree
S.L: 'deb-src' Standard Debian source tree
Idx: Debian Source Index
Idx: Debian Package Index
Idx: Debian dpkg status file