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?
Asked
Active
Viewed 5,665 times
3 Answers
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
user unknown
- 6,447
- 3
- 34
- 63
-
Is there no GUI based update manager? For example, Linux Mint update manager supports this feature – user Apr 17 '11 at 05:29
-
1Yes, 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
-
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 '11 at 11:03
-
Sorry - connection went away while editing. My sentence should have been `From there it is two clicks to lock a version, or to force a specific version.` I don't know how often you lock or unlock versions, that using synaptic seems such an inappropriate indirection. But if you feel so, I guess "No, no such shortcut" is the right answer. – user unknown Apr 17 '11 at 19:44
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.
scouser73
- 4,334
- 25
- 27
-
1>[Lock version is not as clever as it sounds](http://askubuntu.com/a/9615/34756). 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](http://askubuntu.com/editing-help#link-simple-blockquotes), I but it doesn't seem to work.) – Jani Uusitalo Aug 17 '12 at 16:07
0
For KUbuntu:
- Run "Muon Package Manager"
- Found under the "start menu" or by running "
muon" on the command line.
- Found under the "start menu" or by running "
- Search for the packages you want to lock.
- Right click on the package and select "Lock at current version".
Stephen M -on strike-
- 123
- 11