[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apt-get, preferences, apt.conf... I don't understand...



hallo everybody,

I'm happily running Debian on my iMac, but there is something I definitely
did not understand about choosing/pinpointing the release.

I have the following situation:
kruiskruid:~# grep -v "^/\|^$" /etc/apt/apt.conf
APT::Default-Release "stable";
APT::Hold "yaboot";
APT::Cache-Limit "16777216"; //  16 MB

kruiskruid:~# cat /etc/apt/preferences
Package: *
Pin: release a=stable
Pin-Priority: 1001

kruiskruid:~# grep -v "#\|^$" /etc/apt/sources.list
deb http://ftp.us.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 http://security.debian.org/ stable/updates main
deb http://ftp.fr.debian.org/debian/ stable main contrib non-free
deb http://ftp.fr.debian.org/debian-non-US/ stable/non-US main contrib non-free
deb http://ftp.fr.debian.org/debian/ proposed-updates main
deb http://ftp.us.debian.org/debian testing main non-free contrib
deb http://security.debian.org/ testing/updates main
deb http://ftp.fr.debian.org/debian/ testing main contrib non-free
deb http://ftp.debian.org/debian/ testing contrib
deb http://ftp.us.debian.org/debian unstable main non-free contrib

why then trying to upgrade takes me to unstable for so many packages?  I
assume this is a consequence of me staying on testing for a short while
after sarge was declared stable...  does anyone have a clear view of the
way apt-get decides to download a specific version of a package given the
installed one and the declared preferences?

also: given the situation, what is safer: staying on this mixed system and
doing periodic update, upgrade or dist-upgrade or leave the mixed
situation and return to unstable?

thanks,
Mario

kruiskruid:~# apt-get -s -V upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages have been kept back:
   apt (0.6.42.2 => 0.6.43)
   apt-utils (0.6.42.2 => 0.6.43)
   easytag (1.99.8-1 => 1.99.10-1)
   grip (3.3.1-4 => 3.3.1-4+b1)
   hpijs (2.1.3+0.9.3-3 => 2.1.7+0.9.7-3) id3v2 (0.1.11-2 => 0.1.11-2+b1)
   libapt-pkg-perl (0.1.17 => 0.1.18)
   libgconfmm-2.6-1c2 (2.8.1-1.1 => 2.10.0-3) libgnomemm-2.6-1c2
   (2.8.0-1.2 => 2.10.0-1) peercast-handlers (0.1214-4 =>
   0.1214.toots.svn20051112-1) pylint (0.7.0-1 => 0.8.1-1) python2.3-apt
   (0.6.13.1 => 0.6.15)
   python2.3-pylint (0.7.0-1 => 0.8.1-1) synaptic (0.57.5.1 => 0.57.6)
The following packages will be upgraded:
   cpp-4.0 (4.0.2-4 => 4.0.2-5)
   g++-4.0 (4.0.2-4 => 4.0.2-5)
   gcc-4.0 (4.0.2-4 => 4.0.2-5)
   gcc-4.0-base (4.0.2-4 => 4.0.2-5)
   gimp (2.2.9-1 => 2.2.9-6)
   gimp-data (2.2.9-1 => 2.2.9-6)
   gimp-svg (2.2.9-1 => 2.2.9-6)
   kdeedu-data (3.4.2-2.1 => 3.4.3-1)
   kernel-package (10.011 => 10.012)
   libgcc1 (4.0.2-4 => 4.0.2-5)
   libgimp2.0 (2.2.9-5 => 2.2.9-6)
   libmudflap0 (4.0.2-4 => 4.0.2-5)
   libmudflap0-dev (4.0.2-4 => 4.0.2-5)
   libstdc++6 (4.0.2-4 => 4.0.2-5)
   libstdc++6-4.0-dev (4.0.2-4 => 4.0.2-5) libxslt1.1 (1.1.15-1 =>
   1.1.15-2)
   xsltproc (1.1.15-1 => 1.1.15-2)
17 upgraded, 0 newly installed, 0 to remove and 14 not upgraded. Inst
libgcc1 [1:4.0.2-4] (1:4.0.2-5 Debian:unstable) Conf libgcc1 (1:4.0.2-5
Debian:unstable) Inst libmudflap0 [4.0.2-4] (4.0.2-5 Debian:unstable) []
Inst libstdc++6-4.0-dev [4.0.2-4] (4.0.2-5 Debian:unstable) [g++-4.0 ]
Inst g++-4.0 [4.0.2-4] (4.0.2-5 Debian:unstable) [] Inst gcc-4.0 [4.0.2-4]
(4.0.2-5 Debian:unstable) [] Inst cpp-4.0 [4.0.2-4] (4.0.2-5
Debian:unstable) [] Inst libmudflap0-dev [4.0.2-4] (4.0.2-5
Debian:unstable) [] Inst gcc-4.0-base [4.0.2-4] (4.0.2-5 Debian:unstable)
[libstdc++6 ] Inst libstdc++6 [4.0.2-4] (4.0.2-5 Debian:unstable) Conf
gcc-4.0-base (4.0.2-5 Debian:unstable) Conf libstdc++6 (4.0.2-5
Debian:unstable) Inst libgimp2.0 [2.2.9-5] (2.2.9-6 Debian:unstable) Inst
gimp-svg [2.2.9-1] (2.2.9-6 Debian:unstable) [] Inst gimp [2.2.9-1]
(2.2.9-6 Debian:unstable) [] Inst gimp-data [2.2.9-1] (2.2.9-6
Debian:unstable) Inst kdeedu-data [4:3.4.2-2.1] (4:3.4.3-1
Debian:unstable) Inst kernel-package [10.011] (10.012 Debian:unstable)
Inst libxslt1.1 [1.1.15-1] (1.1.15-2 Debian:unstable) Inst xsltproc
[1.1.15-1] (1.1.15-2 Debian:unstable) Conf libmudflap0 (4.0.2-5
Debian:unstable) Conf cpp-4.0 (4.0.2-5 Debian:unstable) Conf gcc-4.0
(4.0.2-5 Debian:unstable) Conf g++-4.0 (4.0.2-5 Debian:unstable) Conf
libstdc++6-4.0-dev (4.0.2-5 Debian:unstable) Conf libmudflap0-dev (4.0.2-5
Debian:unstable) Conf libgimp2.0 (2.2.9-6 Debian:unstable) Conf gimp-data
(2.2.9-6 Debian:unstable) Conf gimp (2.2.9-6 Debian:unstable) Conf
gimp-svg (2.2.9-6 Debian:unstable) Conf kdeedu-data (4:3.4.3-1
Debian:unstable) Conf kernel-package (10.012 Debian:unstable) Conf
libxslt1.1 (1.1.15-2 Debian:unstable) Conf xsltproc (1.1.15-2
Debian:unstable) 
kruiskruid:~# 



Reply to: