[NBLUG/talk] Debian and Apt question
Steve Johnson
gnuguy at gmail.com
Tue Nov 2 11:42:17 PST 2004
Hmm, I've never used aptitude, I'll give it a try.. Thanks.
-Steve
On Tue, 2 Nov 2004 10:35:49 -0800, troy <fryman at sonic.net> wrote:
> On Tue, Nov 02, 2004 at 09:38:17AM -0800, Kyle Rankin wrote:
> > On Tue, Nov 02, 2004 at 09:33:34AM -0800, Steve Johnson wrote:
> > > Is there a way to make apt-get exclude a package when doing an update?
> >
> > Basically you need to set a hold status flag for apt. To do this:
> >
> > echo <package name> hold | dpkg --set-selections
> >
> > To remove the hold:
> > echo <package name> install | dpkg --set-selections
>
> That's one reason I like aptitude over vanilla apt-get:
> aptitude hold <package>
> aptitude unhold <package>
>
> Other usage is similar:
> aptitude update && aptitude dist-upgrade
> aptitude remove <package>
> aptitude download <package> #grabs the .deb, doesn't install it.
>
> -troy
>
>
>
>
> _______________________________________________
> talk mailing list
> talk at nblug.org
> http://nblug.org/cgi-bin/mailman/listinfo/talk
>
--
"Knowing others is wisdom, knowing your self is Enlightenment."
-- Lao-Tzu
|C8H10N4O2|
More information about the talk
mailing list