CLI apt file version locking- how can it be done?
I have a several headless debian servers without X.
I would like to use a webmin module that is not in the standard repositories. apt-get install webmin webmin-core, no problem.
Update webmin inside webmin, again no problem. Get module, no problem. apt-get update && apt-get upgrade -- big problem! apt doesnt find webmin (because of the upgrade within webmin)- apt borks. It has problems with any upgrade, so: rm -r /etc/webmin && apt-get --purge remove webmin-- voila everything works again. Then reinstall re-update, re-install module. What a pain.
I would like to find a way to lock the package version so apt will not try to update webmin. I'll update webmin through webmin.
I couldn't find anything in:
man apt_preferences
man apt.conf
man apt-get
man aptititude
There IS an easy way through synaptic-- but nothing I can find from the command line.
Any way some old debian hacker could enlighten me?
Thanks
dan
Last edited by flashingcurser; 10-10-2006 at 09:13 PM.
|