Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I don't want to update certain packages. But this list of packages appears every time I open update manager. Is there an ignore list feature for packages? So I can add or remove packages from ignore list whenever I want?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Then you need to do an apt-pinning, to prevent future updates:

Create a new file in /etc/apt/preferences.d/ (if Ubuntu >= 10.4) named after your program, with following entry:

Package: program
Pin: version 1.2.3*
Pin-Priority: 1000

assuming, you know that your programs version, you want to freeze, is 1.2.3

share|improve this answer
    
Is there no GUI based update manager? For example, Linux Mint update manager supports this feature –  user Apr 17 '11 at 5:29
1  
Yes, I looked, and in Synaptic packagemanagement (translation by hand from a german system) you mark a package, then in the menu package you can lock version. –  user unknown Apr 17 '11 at 10:19
    
@user: Thanks. I know that. I just want some shortcut way (as i mentioned before like linux mint update manager) to do that. An update manager which can ignore some packages –  user Apr 17 '11 at 10:34
    
What do you mean, by 'shortcut way'? You select the package, which you need to select on mint too, I guess. From there it is I don't have linux mint, so your description 'like in linux mint' isn't helpful for me - you have to say, how it is. –  user unknown Apr 17 '11 at 10:58
    
@user: In Linux Mint, when update manager showing the package list, you right click on a package and select "Ignore this package", the package will be in Ignored Package List. Update manager will never show it on update list. If you wish to update that package again, just go to "Ignored List" and remove the package. See, no need to open synaptic, just everything in the update manager. –  user Apr 17 '11 at 11:03

1 - Go to Synaptic Package Manager

2 - Enter [package name] into the search field

3 - Highlight the installed package

4 - Click on Package on the top row

5 - Select Lock Version

Done, now [package name] will no longer be updated.

share|improve this answer
    
>Lock version is not as clever as it sounds. It's supposed to >do what it says on the tin, lock the version... But it only >locks it within Synaptic. Anything else that does package >upgrades (read: Update Manager, apt-get, aptitude, etc) >ignores this. (That's supposed to be a blockquote, I but it doesn't seem to work.) –  Jani Uusitalo Aug 17 '12 at 16:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.