LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 10-19-2008, 10:04 PM   #1
parent's_basement
Member
 
Registered: Dec 2006
Posts: 111

Rep: Reputation: 16
APT pinning question


Hello,

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,

pb

Last edited by parent's_basement; 10-19-2008 at 10:19 PM.
 
Old 10-20-2008, 04:30 AM   #2
megaprog
Member
 
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, 07:38 AM   #3
esaym
Member
 
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
http://jaqque.sbih.org/kplug/apt-pinning.html
http://wiki.debian.org/AptPinning

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
 
  


Reply


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 03:44 AM
Apt-pinning question Tortanick Debian 3 06-02-2007 09:16 AM
apt-pinning question nx5000 Debian 3 04-11-2007 05:48 PM
apt pinning question divukman Debian 3 12-01-2005 10:49 AM
apt-pinning h/w Debian 6 02-25-2004 11:57 AM


All times are GMT -5. The time now is 11:56 PM.

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