[plug] apt-get question
Michael Hunt
michael.j.hunt at usa.net
Sat Dec 14 18:04:51 WST 2002
On Sat, 2002-12-14 at 13:39, Bernard Blackham wrote:
> 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.
I don't know if the above hack will work on a redhat system running
apt4rpm *grin* (sorry Bernard, you probaly wouldn't have known that from
the post).
Try using one of the gui utils like synaptic and then unselect the
packages you don't want to upgrade.
Michael Hunt
More information about the plug
mailing list