l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2007 Aug 13 12:27

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] clear all holds (debian/ubuntu)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] clear all holds (debian/ubuntu)

On Mon, Aug 13, 2007 at 11:34:55AM -0700, Gandalf Parker wrote:
> On Mon, 13 Aug 2007, Henry House wrote:
> >>Is there a way in Aptitude or dselect to clear all holds on updates?
> >>
> >>A previous manager put a lock on just about everything prefering to do it
> >>himself, and I want to go back to using aptitude recommends.
> >
> >I think something like
> >
> >  aptitude -o 'APT::Ignore-Hold = true' upgrade
> >
> >will do the trick. (Warning: untested.)
> >
> >There is also an --ignore-holds flag in apt-get (but you specified that
> >you want to use aptitude).
> Apt would be fine also if there is a way to turn off all of the holds. Or 
> maybe there is a text file someplace that stores it and I can do a SED 
> command on. I want to go back to the original settings and let the catalog 
> decide what should or shouldnt be upgraded.

There is also the method involving dpkg, ie:

# dpkg --get-selections


# dpkg --set-selections

You can dump the former to a file, sed it, then feed it into the latter.
I imagine aptitude uses the same holds as apt as dpkg, but I don't know
for sure.

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!