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!

Did you find an issue in this article?

- click on the following Github link
- log into Github with your account
- click on the line number containing the error
- click on the "..." button
- choose "Reference in new issue"
- add a title and your comment
- click "Submit new issue"

Your feedback is much appreciated! πŸ€œπŸΌπŸ€›πŸΌ

You can also drop me a line below!