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

Bug#308445: apt: Pinning seems to be broken



On Tue, May 10, 2005 at 12:04:01PM +0200, Michael Vogt wrote:

> Can you please run "apt-cache policy" (without additional arguments)
> and add the output to this bugreport? There are some known issues with
> pinning on components, but pinning on "archive" should work.

Ok, this seems strange. Since the original bugreport I downgraded to
apt-0.5.28.6. Now I upgraded again to 0.6.36. After the upgrade the first
"apt-cache policy" command gave:

# apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 990 ftp://ftp.nerim.net unstable/main Packages
     release o=Christian Marillat,a=unstable,l=Unofficial Packages Free,c=main
     origin ftp.nerim.net
 101 http://pkg-gnome.alioth.debian.org experimental/main Packages
     release v=2005.05.10.09.00.31,o=Alioth,a=experimental,l=pkg-gnome,c=main
     origin pkg-gnome.alioth.debian.org
 101 http://ftp.fi.debian.org project/experimental/non-free/binary-i386/ Packages
     release o=Debian,a=experimental,l=Debian,c=non-free
     origin ftp.fi.debian.org
 101 http://ftp.fi.debian.org project/experimental/contrib/binary-i386/ Packages
     release o=Debian,a=experimental,l=Debian,c=contrib
     origin ftp.fi.debian.org
 101 http://ftp.fi.debian.org project/experimental/main/binary-i386/ Packages
     release o=Debian,a=experimental,l=Debian,c=main
     origin ftp.fi.debian.org
 990 http://ftp.fi.debian.org unstable/non-US/non-free Packages
     release o=Debian,a=unstable,l=Debian,c=non-US/non-free
     origin ftp.fi.debian.org
 990 http://ftp.fi.debian.org unstable/non-US/contrib Packages
     release o=Debian,a=unstable,l=Debian,c=non-US/contrib
     origin ftp.fi.debian.org
 990 http://ftp.fi.debian.org unstable/non-US/main Packages
     release o=Debian,a=unstable,l=Debian,c=non-US/main
     origin ftp.fi.debian.org
 990 http://ftp.fi.debian.org unstable/contrib Packages
     release o=Debian,a=unstable,l=Debian,c=contrib
     origin ftp.fi.debian.org
 990 http://ftp.fi.debian.org unstable/non-free Packages
     release o=Debian,a=unstable,l=Debian,c=non-free
     origin ftp.fi.debian.org
 990 http://ftp.fi.debian.org unstable/main Packages
     release o=Debian,a=unstable,l=Debian,c=main
     origin ftp.fi.debian.org
Pinned packages:

Which seems correct. However, after an "apt-get update", "apt-cache policy"
now prints:

# apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 990 ftp://ftp.nerim.net unstable/main Packages
     release o=Christian Marillat,a=unstable,l=Unofficial Marillat Packages
     origin ftp.nerim.net
 101 http://pkg-gnome.alioth.debian.org experimental/main Packages
     release o=Alioth,a=experimental,l=pkg-gnome
     origin pkg-gnome.alioth.debian.org
   1 http://ftp.fi.debian.org project/experimental/non-free/binary-i386/ Packages
     release o=Debian,l=Debian,c=non-free
     origin ftp.fi.debian.org
   1 http://ftp.fi.debian.org project/experimental/contrib/binary-i386/ Packages
     release o=Debian,l=Debian,c=contrib
     origin ftp.fi.debian.org
   1 http://ftp.fi.debian.org project/experimental/main/binary-i386/ Packages
     release o=Debian,l=Debian,c=main
     origin ftp.fi.debian.org
 990 http://ftp.fi.debian.org unstable/non-US/non-free Packages
     release o=Debian,a=unstable,l=Debian
     origin ftp.fi.debian.org
 990 http://ftp.fi.debian.org unstable/non-US/contrib Packages
     release o=Debian,a=unstable,l=Debian
     origin ftp.fi.debian.org
 990 http://ftp.fi.debian.org unstable/non-US/main Packages
     release o=Debian,a=unstable,l=Debian
     origin ftp.fi.debian.org
 990 http://ftp.fi.debian.org unstable/contrib Packages
     release o=Debian,a=unstable,l=Debian
     origin ftp.fi.debian.org
 990 http://ftp.fi.debian.org unstable/non-free Packages
     release o=Debian,a=unstable,l=Debian
     origin ftp.fi.debian.org
 990 http://ftp.fi.debian.org unstable/main Packages
     release o=Debian,a=unstable,l=Debian
     origin ftp.fi.debian.org
Pinned packages:

So the pkg-gnome repository is pinned correctly but project/experimental
is not. The "a=experimental" tag is missing from project/experimental,
and the "c=..." tag is missing from everywhere else.

/var/lib/apt/lists/ftp.fi.debian.org_debian_project_experimental_main_binary-i386_Release:
Archive: experimental
Component: main
Origin: Debian
Label: Debian
NotAutomatic: yes
Architecture: i386

/var/lib/apt/lists/pkg-gnome.alioth.debian.org_debian_dists_experimental_Release:
Origin: Alioth
Label: pkg-gnome
Suite: experimental
Codename: experimental
Date: Tue, 10 May 2005 10:30:21 UTC
Architectures: powerpc i386
Components: main
Description: Debian Gnome Team
MD5Sum:
 [...]
SHA1:
 [...]

Gabor

-- 
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences
     ---------------------------------------------------------



Reply to: