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

Recommend pin practices for using volatile?



Hi folks,

I've been using sarge for some time, and i've never quite got my
apt-pinning right.  It's all fairly straightforward - i want to track
stable, use volatile for the important things, and occasionally pull
packages from unstable.

Here are the relevant lines from my /etc/apt/sources.list:

> deb http://ftp.iinet.net.au/debian/debian/ sarge main contrib non-free
> deb http://ftp.iinet.net.au/debian/debian/ unstable main contrib non-free
> deb http://security.debian.org/ sarge/updates main contrib non-free
> deb http://volatile.debian.net/debian-volatile sarge/volatile main

Here's my /etc/apt/preferences:

> Package: *
> Pin: origin security.debian.org
> Pin-Priority: 900
> 
> Package: *
> Pin: origin volatile.debian.net
> Pin-Priority: 800
> 
> Package: *
> Pin: release o=Debian,a=stable
> Pin-Priority: 700
> 
> Package: *
> Pin: release o=Debian,a=testing
> Pin-Priority: 200
> 
> Package: *
> Pin: release o=Debian,a=unstable
> Pin-Priority: 100
> 
> Explanation: see http://www.argon.org/~roderick/apt-pinning.html
> Package: *
> Pin: release o=Debian
> Pin-Priority: -1

As i understand it, this should prioritise security above everything,
followed by volatile.  When i run 'apt-show-versions|grep clam', i get:

> clamav-base/unstable upgradeable from 0.85.1-0volatile1 to 0.86-1
> clamav-freshclam/unstable upgradeable from 0.85.1-0volatile1 to 0.86-1
> clamav-daemon/unstable upgradeable from 0.85.1-0volatile1 to 0.86-1
> clamav-docs/unstable upgradeable from 0.85.1-0volatile1 to 0.86-1
> libclamav1/unstable upgradeable from 0.85.1-0volatile1 to 0.86-1
> clamav/unstable upgradeable from 0.85.1-0volatile1 to 0.86-1

Yet 'apt-get dist-upgrade' tells me there is nothing to upgrade.  Any ideas?

Thanks in advance,
Paul
<http://paulgear.webhop.net>
--
Did you know?  OpenOffice.org has built-in PDF creation.  Better yet,
it's compatible with Microsoft Office, and free!  Find out more at
<http://www.openoffice.org>.

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: