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?
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.
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
Pin: release a=testing
Pin: release a=unstable
|All times are GMT -5. The time now is 12:26 PM.|