Debian APT / Backports / Pinning

2 posts / 0 new
Last post
#1 Wed, 02/10/2010 - 08:28
supergames

Debian APT / Backports / Pinning

Hi there,

I have a problem with debian and apt pinning.

Problem description:

In my sources.list a have a reference to debian backport. When i check for packages available for update, all debian backport packages get listed. any ideas?

I know that this issue has been discussed before, but I didn't find a solution for my problem in those postings.

http://www.virtualmin.com/node/12048 http://www.virtualmin.com/node/6688

thank you and best regards

Nicolas

listings:

sources.list
--------------------------------
# Debian packages for lenny
deb http://ftp.ch.debian.org/debian/ lenny main contrib non-free

# Security updates for stable
deb http://security.debian.org/ stable/updates main contrib

# Backports
deb http://www.backports.org/debian lenny-backports main contrib non-free

# Dotdeb
deb http://packages.dotdeb.org stable all

deb http://AAA:BBB@cloudmin.virtualmin.com/debian binary/

preferences
---------------------------------
Package: *
Pin: origin packages.dotdeb.org
Pin-Priority: 1

Package: subversion
Pin: release a=lenny-backports
Pin-Priority: 999

Package: libsvn1
Pin: release a=lenny-backports
Pin-Priority: 999

apt-cache policy output:
----------------------------------
> apt-cache policy
Package files:
100 /var/lib/dpkg/status
     release a=now
500 http://cloudmin.virtualmin.com binary/ Packages
     release o=Virtualmin Inc,l=Cloudmin,c=non-free
     origin cloudmin.virtualmin.com
   1 http://packages.dotdeb.org stable/all Packages
     origin packages.dotdeb.org
   1 http://www.backports.org lenny-backports/non-free Packages
     release v=None,o=Backports.org archive,a=lenny-backports,l=Backports.org archive,c=non-free
     origin www.backports.org
   1 http://www.backports.org lenny-backports/contrib Packages
     release v=None,o=Backports.org archive,a=lenny-backports,l=Backports.org archive,c=contrib
     origin www.backports.org
   1 http://www.backports.org lenny-backports/main Packages
     release v=None,o=Backports.org archive,a=lenny-backports,l=Backports.org archive,c=main
     origin www.backports.org
500 http://security.debian.org stable/updates/contrib Packages
     release v=5.0,o=Debian,a=stable,l=Debian-Security,c=contrib
     origin security.debian.org
500 http://security.debian.org stable/updates/main Packages
     release v=5.0,o=Debian,a=stable,l=Debian-Security,c=main
     origin security.debian.org
500 http://ftp.ch.debian.org lenny/non-free Packages
     release v=5.0.4,o=Debian,a=stable,l=Debian,c=non-free
     origin ftp.ch.debian.org
500 http://ftp.ch.debian.org lenny/contrib Packages
     release v=5.0.4,o=Debian,a=stable,l=Debian,c=contrib
     origin ftp.ch.debian.org
500 http://ftp.ch.debian.org lenny/main Packages
     release v=5.0.4,o=Debian,a=stable,l=Debian,c=main
     origin ftp.ch.debian.org
Pinned packages:
     subversion -> 1.6.4dfsg-1~bpo50+1
     libsvn1 -> 1.6.4dfsg-1~bpo50+1
Mon, 02/15/2010 - 04:55
supergames

Hi there,

Does anyone of you use APT pinning (for example with debian backports) without having this problems?

Best regards

Nicolas

Topic locked