Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 10-19-2008, 11:04 PM   #1
Registered: Dec 2006
Posts: 111

Rep: Reputation: 16
APT pinning question


I'm running testing and want to pin unstable. I know that when pinning is set up correctly, apt will first look for a given package in testing and if it can't find it, will then look in unstable. Here's my question. What if there is a bunch of new programs in unstable that aren't in testing yet? When I run aptitude update and then aptitude upgrade, will apt install all of those programs onto my system? Seems that if this is the case, I may end up with a bunch of stuff I don't want. Thoughts?

Thanks Much,


Last edited by parent's_basement; 10-19-2008 at 11:19 PM.
Old 10-20-2008, 05:30 AM   #2
Registered: Sep 2006
Posts: 74

Rep: Reputation: 15
You mean a new version of a package already installed? If this is the case, it will not install it unless all the dependecies are solved. So the most of the time you will keep the testing package, Sometimes the package from Sid have resolved dependencies with Testing, in this case it will install it.
Old 10-20-2008, 08:38 AM   #3
Registered: Nov 2006
Distribution: Lots of Debian
Posts: 165

Rep: Reputation: 32
No that is not the way it works. Depending on the priority level that you have the repo set at, a package installed from unstable into testing might not ever get updated.

Here are some docs

The best way to test is to make sure your system is up to date before you start messing with pinning repos. Then after you pin a repo, check and make sure that you don't have any new updates for your system. If you do that means you need more space between your priority levels.

Here is what I have and it works:
user@user:~$ cat /etc/apt/preferences
Package: *
Pin: release a=testing
Pin-Priority: 900

Package: *
Pin: release a=unstable
Pin-Priority: 600


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
apt pinning aquaboot Debian 2 10-14-2008 04:44 AM
Apt-pinning question Tortanick Debian 3 06-02-2007 10:16 AM
apt-pinning question nx5000 Debian 3 04-11-2007 06:48 PM
apt pinning question divukman Debian 3 12-01-2005 11:49 AM
apt-pinning h/w Debian 6 02-25-2004 12:57 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration