On Saturday 18 March 2006 23:47, Sick Twist wrote:
<snip>
> If you do wish to use so many repositories, you may want to look into
> apt-pinning. It is a way to prioritize repositories so that apt will know
> what to do if the same version of a package is found in more than one
> place.
Precisely.
`apt-cache policy` will give you the priorities:
faith:/usr/src/linux-2.6.16-rc6# apt-cache policy
Package Files:
100 /var/lib/dpkg/status
release a=now
300 http://nebula unstable/contrib Packages
release o=Debian,a=unstable,l=Debian,c=contrib
origin nebula
300 http://nebula unstable/non-free Packages
release o=Debian,a=unstable,l=Debian,c=non-free
origin nebula
300 http://nebula unstable/main Packages
release o=Debian,a=unstable,l=Debian,c=main
origin nebula
400 http://nebula sarge-backports/main Packages
release o=Backports.org archive,a=sarge-backports,l=Backports.org
archive,c=main
origin nebula
500 http://nebula sarge/updates/non-free Packages
release v=3.1,o=Debian,a=stable,l=Debian-Security,c=updates/non-free
origin nebula
500 http://nebula sarge/updates/contrib Packages
release v=3.1,o=Debian,a=stable,l=Debian-Security,c=updates/contrib
origin nebula
500 http://nebula sarge/updates/main Packages
release v=3.1,o=Debian,a=stable,l=Debian-Security,c=updates/main
origin nebula
500 http://nebula sarge/contrib Packages
release v=3.1r1,o=Debian,a=stable,l=Debian,c=contrib
origin nebula
500 http://nebula sarge/non-free Packages
release v=3.1r1,o=Debian,a=stable,l=Debian,c=non-free
origin nebula
500 http://nebula sarge/main Packages
release v=3.1r1,o=Debian,a=stable,l=Debian,c=main
origin nebula
500 http://nebula sarge/main Packages
release o=jab,a=jab,l=jab,c=main
origin nebula
Pinned Packages:
`man apt_preferences` will give you a technical rundown on what it all means.
faith:/usr/src/linux-2.6.16-rc6# cat /etc/apt/preferences
Package: *
Pin: release a=testing
Pin-Priority: 700
Package: *
Pin: release a=unstable
Pin-Priority: 300
Package: *
Pin: release a=sarge-backports
Pin-Priority: 400
--Jason Boxman http://edseek.com/ - Linux and FOSS stuff
----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:01:42 EDT