Bug#256829: Preferences origin attribute ignored
Hello!
The problem in the report is that the user configured the origin with
double quotes.
the line must be in the form of:
-------------------------------------------
Package: *
Pin: origin debian.seabone.net
Pin-Priority: 1200
-------------------------------------------
without the quotes.
So you can close this old bug, and don't forget to change apt_preferences(5)
to eliminate the double quotes.
__
Carlos Barros.
aka cbf@debian.org
---------------------------------------------------------------------------------------
From: Peter Chubb <peterc@gelato.unsw.edu.au>
To: submit@bugs.debian.org
Subject: Preferences origin attribute ignored
Date: Tue, 29 Jun 2004 21:35:33 +1000
Package: apt
Version: 0.5.25
I want to keep the IPv6 version of Apache 1.3, so my /etc/apt/preferences
file contains:
Package: *
Pin: origin "debian.seabone.net"
Pin-Priority: 1200
However, apt-get wants to install a non-ipv6 version from
my local apt-proxy on machine croak.
Here's the output of
$ apt-cache policy apache
apache:
Installed: 1.3.29.0.2-4.0.ipv6.r1
Candidate: 1.3.31-2
Version Table:
1.3.31-2 0
500 http://croak unstable/main Packages
1.3.29.0.2-4.0.ipv6.r1 0
500 http://ftp.linux.org.au sid/ipv6 Packages
500 http://debian.seabone.net unstable/ipv6 Packages
500 http://debian.seabone.net sid/ipv6 Packages
*** 1.3.29.0.2-4.0.ipv6.r1 0
100 /var/lib/dpkg/status
1.3.29.0.2-4 0
500 http://croak testing/main Packages
1.3.27.0-2.0.ipv6.r1 0
500 http://debian.seabone.net sarge/ipv6 Packages
1.3.26-0woody3 0
500 http://croak stable/main Packages
Reply to: