Can I remove something from the update list permanently? [duplicate]
It is possible to select/deselect packages for updating, and there are several ways to do that. I am listing various methods, adding a command to check which packages are held. Note that all methods modify the same Debian Package Manager database, so what you do with one command would impact what you see with others.
apt
$ sudo apt-mark hold wine
$ sudo apt-mark unhold wine
$ apt-mark showhold
aptitude
$ sudo aptitude hold wine
$ sudo aptitude unhold wine
dpkg
(the "finer" grep
prevents packages whose name includes the substring hold
being incorrectly listed)
$ echo "wine hold" | sudo dpkg --set-selections
$ echo "wine install" | sudo dpkg --set-selections
$ dpkg --get-selections | grep "\<hold$"
Notes:
- If you hold a package, it will still show in the Software Updater GUI, but it will be unchecked so you could click on Install Now right away.
- You may check what other wine-related packages to mark.