How to prevent a package from being removed?
Hi, how do I prevent a package from being removed? I have installed a single package from an unnoficial repository, but every time I do an apt-get dist-upgrade (or apt-get anything for that matter) it gets removed. How do I stop this? How can I tell apt-get and dpkg to ignore it?
GJ |
Re: How to prevent a package from being removed?
Quote:
Code:
echo "package_name hold" ¦ dpkg --set-selections package_name |
Happytux, I didn't know about putting a package on hold. Can't you also do it in preferences by setting a pin priority >1000? For example, I use a specific version of wine. In /etc/apt/preferences I have, for example:
Quote:
|
I thought putting a pakage on hold prevents it from getting installed...not holding it from being removed.
*heads to man* |
All times are GMT -5. The time now is 07:05 AM. |