/etc/apt/preferences

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

/etc/apt/preferences

Postby gotjazz on Sun Jan 23, 2011 1:42 pm

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......
Image
User avatar
gotjazz
Level 4
Level 4
 
Posts: 386
Joined: Fri May 28, 2010 11:38 am
Location: Vienna, Austria

Linux Mint is funded by ads and donations.
 

Re: /etc/apt/preferences

Postby gotjazz on Sun Jan 23, 2011 1:45 pm

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
Image
User avatar
gotjazz
Level 4
Level 4
 
Posts: 386
Joined: Fri May 28, 2010 11:38 am
Location: Vienna, Austria

Re: /etc/apt/preferences

Postby vrkalak on Sun Jan 23, 2011 5:30 pm

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
Image
:: LinuxMint-Debian-Edition (Fluxbox) :: Manjaro/Arch (Xfce) ::
Registered Linux User: #497031 :: DeviantART Page
User avatar
vrkalak
Level 10
Level 10
 
Posts: 3323
Joined: Mon Jul 20, 2009 5:53 pm
Location: Santa Fe, NM, USA

Re: /etc/apt/preferences

Postby gotjazz on Sun Jan 23, 2011 6:08 pm

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.
Image
User avatar
gotjazz
Level 4
Level 4
 
Posts: 386
Joined: Fri May 28, 2010 11:38 am
Location: Vienna, Austria

Re: /etc/apt/preferences

Postby gotjazz on Sun Jan 23, 2011 6:19 pm

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
Image
User avatar
gotjazz
Level 4
Level 4
 
Posts: 386
Joined: Fri May 28, 2010 11:38 am
Location: Vienna, Austria


Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 4 guests