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
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,507
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.

- 4,334
-
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.)
– Jani Uusitalo Aug 17 '12 at 16:07
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".
Synaptic packagemanagement
(translation by hand from a german system) you mark a package, then in the menupackage
you canlock version
. – user unknown Apr 17 '11 at 10:19From 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