[plug] apt-get question
Bernard Blackham
bernard at blackham.com.au
Sat Dec 14 13:39:40 WST 2002
On Sat, Dec 14, 2002 at 10:31:33AM +0800, Jon Miller wrote:
> I think I've asked this before but received no replies. Is there a way
> to tell apt-get not to install a certain package when doing an update of
> the entire system?
Not install or not upgrade? apt-get shouldn't install packages when
you tell it to upgrade unless they're a required dependency of the
new version. It won't go around installing unnecessary packages.
If you want to tell it not to upgrade a package, either use dselect
and choose "hold" on the package, or use a simple dirty hack:
echo "packagename hold" | dpkg --set-selections
HTH,
Bernard.
--
Bernard Blackham
bernard at blackham dot com dot au
Australian Linux Technical Conference 2003: http://www.linux.conf.au/
More information about the plug
mailing list