Can you tell update-manager not to update a specific package?

Asked by Tina Russell

Hey, I use Ubuntu Studio, which seems to have just moved a bunch of its packages, like the window and icon theme packages, to the main Ubuntu repositories. Anyway, when I upgraded to the Gutsy beta, and it installed the new Studio theme, I realized I liked the old one better so I used "Force Version" in Synaptic to downgrade the window theme and icon theme packages. All is well and good, except that Update Manager keeps bugging me to update these packages that I want to _stay_ un-upgraded. DIsabling the entire repository would be serious overkill, since it's the main Ubuntu repository where important updates come from. Is there a way to tell Update Manager not to upgrade specific packages, but still inform me of updates to all the other ones? Thanks!

Question information

English Edit question
Ubuntu update-manager Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Wrwrwr (wrwrwr) said :

This is probably possible with apt_preferences. Take a look at the manual for that.

You would more or less do:

sudo gedit /etc/apt/preferences

and add there something like:

Package: gnome-themes
Pin: version 2.18*
Pin-Priority: 1001

for every package you'd like to keep.

Revision history for this message
Wrwrwr (wrwrwr) said :

I've just came across a nice description of these settings, that maybe can help you:, part 3.10

Let me know if you need some more help with that, it's not really complex (even if they say so ;)

Can you help with this problem?

Provide an answer of your own, or ask Tina Russell for more information if necessary.

To post a message you must log in.