Page 1 of 1

/etc/apt/preferences

Posted: Sun Jan 23, 2011 1:42 pm
by gotjazz
hey everyone - just a quick question: aren't priorities >1000 supposed to lead to automatic downgrades (with dist-upgrade wven if that means removing stuff)?


Lately I've pulled in a bunch of stuff from experimental to a. test some stuff on hadret's experimental repo and b. get around the dependency problem of lmde's font rendering to install certain dev packages.

Well now I've tested and built to my satisfaction and I don't need all that stuff anymore and I wanted to downgrade to testing. None of the packages cause any problems but you know - i want to be on the safe side. and I could've sworn I've done this before but no luck.

I pinned testing to 1005 and just to be on the safe side (although it shouldn'T make a difference) experimental to a negative value, ran an apt-get dist-upgrade and..... nothing.

Am I understanding something completely wrong? Is my brain turning to mush? I've had a sid/experimental debian install on my spare partition a couple of months ago and I could've sworn I've done this before. I read the according man page again and it also said that was the way it's supposed to work......

Re: /etc/apt/preferences

Posted: Sun Jan 23, 2011 1:45 pm
by gotjazz
I mean I'm not in a hurry - if something breaks I can still deal with individual packages and an old-fashioned apt-get install foo/testing /foo2/testing /nextdependency/testing pr whatever and also testing is going to catch up eventually.

It's really just about some additional peace of mind

Re: /etc/apt/preferences

Posted: Sun Jan 23, 2011 5:30 pm
by vrkalak
Debian's Wiki on Apt-Pinning (Preferences) Guide

http://wiki.debian.org/AptPreferences?a ... ct=Pinning
(I usually refer to the official Debian Wiki first)

http://www.linux-archive.org/debian-use ... names.html
http://linux.die.net/man/5/apt_preferences

http://www.debian.org/releases/lenny/i3 ... ading.html
http://www.breitenlee.net/index.php?opt ... &Itemid=54

Hopefully, these links will answer all your questions about Preferences and Apt-Pinning

Re: /etc/apt/preferences

Posted: Sun Jan 23, 2011 6:08 pm
by gotjazz
thanks I'll give that a thorough read-through sometime. for now I've worked my way across all the packages and their dependencies maually - i don't think I've missed anything.

Re: /etc/apt/preferences

Posted: Sun Jan 23, 2011 6:19 pm
by gotjazz
oh just noticed it's supposed to be a=testing etc not o=testing

Must've gotten confused by the default settings making the same mistake - i better go and file that

edit: https://bugs.launchpad.net/linuxmint/+bug/706711