Re: Pinning unstable
Hi,
Keith O'Connell <keith_oconnell@blueyonder.co.uk> writes:
> Hi,
>
> I find that I have a need for some packages from unstable. I want to
> remain a far as possible with Woody and have been told that
> "package-pinning is the solution I am looking for.
>
Another way:
$ cat /etc/preferences
Package: *
Pin: release a=stable
Then:
apt-get install package1
installs from stable, but you can install from unstable:
apt-get install -t unstable package2
now, on apt-get upgrade, package1 will upgrade in the "stable" branch,
and package2 in the "unstable" branch.
e.g.:
$ apt-cache policy gnome-gv
gnome-gv:
Installed: 1.1.96-2
Candidate: 1.1.96-2
Version Table:
1.99.7-5 0
500 http://ftp.de.debian.org unstable/main Packages
*** 1.1.96-2 0
989 http://ftp.de.debian.org stable/main Packages
500 http://ftp.de.debian.org testing/main Packages
100 /var/lib/dpkg/status
$ apt-cache policy galeon
galeon:
Installed: 1.2.5-1
Candidate: 1.2.5-1
Version Table:
*** 1.2.5-1 0
500 http://ftp.de.debian.org unstable/main Packages
100 /var/lib/dpkg/status
1.2.5-0.woody.1 0
989 http://ftp.de.debian.org stable/main Packages
500 http://ftp.de.debian.org testing/main Packages
989 http://security.debian.org woody/updates/main Packages
989 http://security.debian.org stable/updates/main Packages
This was featured on Debian weekly news earlier this year:
http://www.debian.org/News/weekly/2002/1/mail#1
http://www.debian.org/News/weekly/2002/4/mail#1
Best regards,
Jaume
--
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: