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

Bug#152514: apt: APT::Default-Release "woody"; does not work as expected, i.e it is ignored



Package: apt
Version: 0.5.4
Severity: normal

I am currently trying to allow for the ability to install packages from
unstable on my woody system by using the -t option of apt-get. So to
this end I put in sources.list entries that point unstable and I put in
kodaira:/etc/apt# cat apt.conf
// I want to keep the woody stuff but have the ability to download
// stuff from unstable if I specify it on the command line of apt-get
// The weird thing is if I put in the name woody and put in the
// sources.list
// names for unstable I get way more package, i.e. I am presumably
// getting
// files from unstable. In short the name woody is ignored
APT::Default-Release "woody";

here is my /etc/apt/sources.list:

# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.
deb ftp://debian30.math.uwaterloo.ca/debian woody main contrib non-free
deb ftp://debian30.math.uwaterloo.ca/debian-non-US woody/non-US main
contrib non-free
deb ftp://ftp.au.debian.org/debian unstable main contrib non-free
deb ftp://ftp.au.debian.org/debian-non-US unstable/non-US main contrib
non-free
deb http://security.debian.org woody/updates main contrib non-free

OK, now if one runs apt-get -u upgrade:

kodaira:/etc/apt# apt-get -u upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back
  debmirror dpkg gnome-terminal imagemagick libmagick5 libmng-dev
  libmng1 parted python-extclass r-base r-base-dev r-gnome r-mathlib
  r-recommended
    reportbug spamassassin
    The following packages will be upgraded
					    <sniped list of packages>

   257 packages upgraded, 0
    newly installed, 0 to remove
    and 16  not upgraded.
    Need to get 181MB of
    archives. After unpacking
    20.1MB will be used.

In short I would imagine it is simply about to slurp in stuff from
unstable even though I told it not to. Now on the other hand if I put
the line 
APT::Default-Release "testing";

into /etc/apt/apt.conf then I get:

apt-get -u upgrade:

kodaira:/etc/apt# apt-get -u upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back
  debmirror
  The following packages will be upgraded
    bind9-host dnsutils fai gnome-admin gnumeric libdns5 libisc4
    liblwres1 nethack nethack-common nethack-x11 spamassassin squid
    squidclient sysvinit
    15 packages upgraded, 0 newly installed, 0 to remove and 1  not
    upgraded.
    Need to get 6910kB of archives. After unpacking 1287kB will be used.

    which I assume is indeed getting upgrades from woody and security
    only.




-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux kodaira.math 2.4.17mfcf-190402 #1 Fri Apr 19 14:11:08 EDT 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages apt depends on:
ii  libc6                         2.2.5-6    GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2        1:2.95.4-7 The GNU stdc++ library



-- 
To UNSUBSCRIBE, email to deity-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: