DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
To install a new package, it is just as it ever was, apt-get install <package>. If the package exists in Stable, then that is what it will grab. If the package exists only in Unstable, then from Unstable it will be gotten.
What if the package exists in both Stable and Unstable, but we want the Unstable version? There are two ways we can do that, each with a slightly different syntax, and each with a slightly different effect.
apt-get install <package>/unstable
This will install the unstable version of the package, and try to meet any dependencies from Stable. This may not work, but it will tell you why:
Now the bootcd package is in both stable and testing, then why did it get downloaded from testing??
yea, it's true, you are giving priority to stable. But i think the bootcd is much latest in testing then the bootcd of stable. That's why it's taking the bootcd from testing. Can you please inform the booth version of bootcd ?
Yes it is spelled correctly and I run apt-get update everytime
Yes I will add those line in the apt.conf file and see if it still downloads packages from etch instead of stable.
EDIT: Also of Pinning is specific to package, then why did the specific package bootcd got installed from etch.
Thanks
Well I went one step ahead. I changed all the instances of Sarge with Stable and Etch with testing in the /etc/apt/preferences, /etc/apt/sources.lst, /etc/apt/apt.conf. And now apt-get downloads package from stable instead of testing.
How do you explain this???
According to Debian Doc, Stable is just a pointer to Sarge and it should not matter what name you give?
I know this should not make any difference theoritically, but it works in this case. I don't know how?
Ok guys, it is confirmed that that /etc/apt/preferences file does not work with aliases "sarge", "etch". It only works if you put stable and testing. This is so strange. Isn't it??
Ok guys, it is confirmed that that /etc/apt/preferences file does not work with aliases "sarge", "etch". It only works if you put stable and testing. This is so strange. Isn't it??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.