Posted in Debian/Ubuntu Linux

Debian : preventing a package from being updated

June 5, 2008 - 1 comment

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

Comments

Dieter

January 23, 2009 - 16:05

You can do the same with “wajig ”
install wajig with apt-get install wajig

greets

Leave Comment

Please consider visiting the partners below if you enjoyed this article :

If this post saved you time and money, please consider checking my Amazon wishlist.

Before submitting, some rules :
- Is your comment related to the article ?
- You're having a problem ? Have you checked Google, other howtos, docs, manpages ?
- You're still having the problem ? Have you raised log verbosity, checked traces, ran tcpdump ?
- Have you checked your configuratoin for typo ?
Unless your comment is providing additional info or respect the rules above, DON'T comment.
If you don't understand what you are doing, I urge you to read the documentation, I'm not your free Level 1 helpdesk guy.