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.
Now that apt 0.6.38 is in unstable I hit this bug again. What I found
is that manually adding a "Suite: experimental" line to the Release file
fixes the bug:
With original Release file:
$ apt-cache policy
[...]
1 http://ftp.fi.debian.org project/experimental/main/binary-i386/ Packages
release o=Debian,l=Debian,c=main
origin ftp.fi.debian.org
[...]
After adding "Suite: experimental" to
/var/lib/apt/lists/ftp.fi.debian.org_debian_project_experimental_main_binary-i386_Release,
removing /var/cache/apt/*.bin and running "apt-get update":
$ apt-cache policy
[...]
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
[...]
Note that simply running "apt-get update" without removing the package
caches first is _not_ enough.
So at least a workaround for this bug would be to add "Suite:
experimental" to the Release files under debian/project/experimental.
Gabor
--
-----------------------------------------------------
MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
-----------------------------------------------------
Reply to: