6

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?

3 Answers 3

3

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

6
  • Is there no GUI based update manager? For example, Linux Mint update manager supports this feature
    – user
    Apr 17, 2011 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. Apr 17, 2011 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, 2011 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. Apr 17, 2011 at 10:58
  • 1
    @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, 2011 at 11:03
3

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.

1
  • 1
    >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.) Aug 17, 2012 at 16:07
0

For KUbuntu:

  1. Run "Muon Package Manager"
    • Found under the "start menu" or by running "muon" on the command line.
  2. Search for the packages you want to lock.
  3. Right click on the package and select "Lock at current version".

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .