Excerpts from owner's message of Sat Aug 04 18:15:03 -0700 2012:
> On 5 August 2012 06:49, Andrew Pimlott <and...@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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to