Package: apt Version: 0.5.4 apt-get sometimes ignores:
APT::Default-Release "stable"; in /etc/apt/apt.conf and installs from testing or unstable. After I broke things by trying to install kde3, I attempted to downgrade to stable (which is where 99+% of my installed packages are from). Following instructions on p. 62 of "Debian Reference" by O. Aoki, I created /etc/apt/preferences: Package: * Pin: release a=stable Pin-Priority: 1001 then # apt-get update # apt-get upgrade Reading Package Lists... Done Building Dependency Tree... Done You might want to run `apt-get -f install' to correct these. Sorry, but the following packages have unmet dependencies: ark: Depends: kdelibs3 (>= 4:2.2.2-1) but it is not installed kab: Depends: kdelibs3 (>= 4:2.2.2-1) but it is not installed karm: Depends: kdelibs3 (>= 4:2.2.2-1) but it is not installed .... 11 similar lines deleted ... E: Unmet dependencies. Try using -f. # apt-get -f upgrade Reading Package Lists... Done Building Dependency Tree... Done Correcting dependencies... Done The following NEW packages will be installed: kdelibs3 14 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 15 packages not fully installed or removed. Need to get 19.6MB/26.2MB of archives. After unpacking 24.8MB will be used. Do you want to continue? [Y/n] Get:1 ftp://ftp.monash.edu.au unstable/main libc6 2.3.1-8 [3190kB] Get:2 ftp://ftp.monash.edu.au unstable/main coreutils 4.5.4-1 [2085kB] CTRL-C As you can see libc6 has been downloaded from _unstable_ despite the pin-priority of 1001 for stable in /etc/apt/preferences -- Steven Homolya School of Physics and Materials Engineering Monash University VIC 3800 Australia Tel: INT +61 3 9905 3694 Fax: INT +61 3 9905 3637

