Package: apt Version: 0.5.4 Systemconfig: ii apt 0.5.4 Advanced front-end for dpkg ii apt-utils 0.5.4 APT utility programs ii libc6 2.2.5-14.3 GNU C Library: Shared libraries and Timezone ii libc6-dev 2.2.5-14.3 GNU C Library: Development Libraries and Hea ii dpkg 1.10.9 Package maintenance system for Debian ii dpkg-dev 1.10.9 Package building tools for Debian
Linux frija 2.2.20 #1 Mon Dec 31 07:05:08 EST 2001 i686 Pentium III (Katmai) GenuineIntel GNU/Linux -- frija:~# perl -v This is perl, v5.6.1 built for i386-linux Copyright 1987-2001, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. -- Description: I have a strange behavior when I start using APT::Default-Release. It suddenly whats to install packages while the apt-get upgrade process. But it should not install any since the release hasn't changed because default is still "testing". My /etc/apt/sources.list before using APT::Default-Release: -- deb http://sunsite.cnlab-switch.ch/ftp/mirror/debian/ testing main non-free contrib deb-src http://sunsite.cnlab-switch.ch/ftp/mirror/debian/ testing main non-free contrib deb http://security.debian.org/ stable/updates main contrib non-free -- apt-get upgrade says: -- frija:/var/spool/squid# apt-get upgrade Reading Package Lists... Done Building Dependency Tree... Done 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. frija:/var/spool/squid# -- apt-get dist-upgrade says: -- frija:/var/spool/squid# apt-get dist-upgrade Reading Package Lists... Done Building Dependency Tree... Done Calculating Upgrade... Done 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. frija:/var/spool/squid# -- Now I add unstable to sources.list: -- deb http://sunsite.cnlab-switch.ch/ftp/mirror/debian/ testing main non-free contrib deb-src http://sunsite.cnlab-switch.ch/ftp/mirror/debian/ testing main non-free contrib deb http://sunsite.cnlab-switch.ch/ftp/mirror/debian/ unstable main non-free contrib deb-src http://sunsite.cnlab-switch.ch/ftp/mirror/debian/ unstable main non-free contrib deb http://security.debian.org/ stable/updates main contrib non-free -- And I set APT::Default-Release in /etc/apt/apt.conf: -- APT::Default-Release "testing"; -- apt-get update says: -- frija:/var/spool/squid# apt-get update Hit http://security.debian.org stable/updates/main Packages Hit http://security.debian.org stable/updates/main Release Hit http://security.debian.org stable/updates/contrib Packages Hit http://security.debian.org stable/updates/contrib Release Hit http://security.debian.org stable/updates/non-free Packages Hit http://security.debian.org stable/updates/non-free Release Hit http://sunsite.cnlab-switch.ch testing/main Packages Hit http://sunsite.cnlab-switch.ch testing/main Release Hit http://sunsite.cnlab-switch.ch testing/non-free Packages Hit http://sunsite.cnlab-switch.ch testing/non-free Release Hit http://sunsite.cnlab-switch.ch testing/contrib Packages Hit http://sunsite.cnlab-switch.ch testing/contrib Release Hit http://sunsite.cnlab-switch.ch testing/main Sources Hit http://sunsite.cnlab-switch.ch testing/main Release Hit http://sunsite.cnlab-switch.ch testing/non-free Sources Hit http://sunsite.cnlab-switch.ch testing/non-free Release Hit http://sunsite.cnlab-switch.ch testing/contrib Sources Hit http://sunsite.cnlab-switch.ch testing/contrib Release Get:1 http://sunsite.cnlab-switch.ch unstable/main Packages [2303kB] Get:2 http://sunsite.cnlab-switch.ch unstable/main Release [82B] Get:3 http://sunsite.cnlab-switch.ch unstable/non-free Packages [73.1kB] Get:4 http://sunsite.cnlab-switch.ch unstable/non-free Release [86B] Get:5 http://sunsite.cnlab-switch.ch unstable/contrib Packages [75.7kB] Get:6 http://sunsite.cnlab-switch.ch unstable/contrib Release [85B] Get:7 http://sunsite.cnlab-switch.ch unstable/main Sources [938kB] Get:8 http://sunsite.cnlab-switch.ch unstable/main Release [84B] Get:9 http://sunsite.cnlab-switch.ch unstable/non-free Sources [32.2kB] Get:10 http://sunsite.cnlab-switch.ch unstable/non-free Release [88B] Get:11 http://sunsite.cnlab-switch.ch unstable/contrib Sources [32.2kB] Get:12 http://sunsite.cnlab-switch.ch unstable/contrib Release [87B] Fetched 3455kB in 1m58s (29.2kB/s) Reading Package Lists... Done Building Dependency Tree... Done frija:/var/spool/squid# -- apt-get upgrade says: -- frija:/var/spool/squid# apt-get upgrade Reading Package Lists... Done Building Dependency Tree... Done The following packages have been kept back php4 php4-gd 0 packages upgraded, 0 newly installed, 0 to remove and 2 not upgraded. frija:/var/spool/squid# -- apt-get install php4 says: -- frija:/var/spool/squid# apt-get install php4 Reading Package Lists... Done Building Dependency Tree... 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. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: Sorry, but the following packages have unmet dependencies: php4: Depends: libc6 (>= 2.3.1-1) but 2.2.5-14.3 is to be installed E: Sorry, broken packages frija:/var/spool/squid# -- I have the same effect on another machine where samba is installed with samba and samba-common. I think what happend is that it wants to install unstable php4 for some reason. I already asked on the debian-user list. George (in CC) tried to tune apt with /etc/apt/preferences. Using -1 as pin-prio for unstable, but that didn't help either. Best, Hans

