[Aptitude-devel] Bug#683859: closed by Daniel Hartwig <mandyke at gmail.com> (Re: Bug#683859: aptitude: APT::Get::Build-Dep-Automatic is not honored)

Andrew Pimlott andrew at pimlott.net
Sun Aug 5 03:34:44 UTC 2012


Excerpts from owner's message of Sat Aug 04 18:15:03 -0700 2012:
> On 5 August 2012 06:49, Andrew Pimlott <andrew at pimlott.net> wrote:
> > (a way to hold off the automatic
> > uninstalls until ready would be nice),
> 
> Such an option exists: Aptitude::Delete-Unused.

Fair.

> > 1.  Often you only want the build-deps for the duration of a build, so
> >     the next run of aptitude is the right time to uninstall.
> 
> Build-Dep-Automatic is a hack used by apt-get because it lacks a
> better means of tracking sets of packages.  Auto-installed is not
> intended for temporary installs but tracking packages which are
> installed only as dependencies of another.
> 
> Aptitude provides for tracking sets of packages:
> 
> # aptitude --add-user-tag foo-builddep build-dep foo

I had no idea, thanks for making me aware of this!  It seems like a much
better solution.  I'll definitely start using it.

> [then, after make foo]
> # aptitude --remove-user-tag foo-builddep '?user-tag(foo-builddep)'

Did you mean to add an unmarkauto to this command?

Andrew



More information about the Aptitude-devel mailing list