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

Re: Pinning unstable



On Tue, 2002-07-23 at 01:10, Keith O'Connell wrote:
> 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. 
> 
> I have just read the apt manual and the man page for sources.list, but there is no reference to pinning or isolating packages for tracking and this was where I expected to find it. 
> 
> I am capable of doing this from the written instruction, but it would seem that I am not capable of finding those instructions!
> 
> Could I please be told which docs I need to read to enable me to learn this fresh skill. 

The actual docs are still fairly confusing. A short and simple recipe,
that doesn't go into too many intimate details, and works for me:

Add the following line to /etc/apt/apt.conf (create the file if
necessary):

  APT::Default-Release "stable";

Edit your /etc/apt/sources.list file and add new lines for testing and 
unstable, then do an apt-get update.

When you need to install a package from unstable:

  apt-get install pkgname/testing

This will "unpin" the specified package and install the version from
testing.

If apt complains about dependencies, you sometimes have to do

  apt-get install pkgname/testing dependency/testing

Like I say, this works for me, but if there's a better way or I'm doing
something wrong, I'm sure lots of folks will correct me.

-- 
Dave Carrigan
Seattle, WA, USA
dave@rudedog.org | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL


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



Reply to: