Debian - preventing a package from being updated


Put a package on hold : echo "${package} hold" | dpkg --set-selections

Remove the hold : echo "${package} install" | dpkg --set-selections

where ${package} is the package name

Knowing the status of your packages : dpkg --get-selections

Thanks for reading this post!

If you found an issue in this article, you can create an issue on Github.

If you have a comment or question, please drop me a line below!