Bug#448743: autoremove build-deps

View: New views
2 Messages — Rating Filter:   Alert me  

Bug#448743: autoremove build-deps

by orion-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I couldn't find any work referencing this in the current apt sources, so I hacked in
this two-liner myself. Seems to work fine. Anything that's pulled in by build-dep is
set to autoinstall.

--
Aaron Haviland
34 Wayne Ave, Dudley, MA                       home:  [508] 943 - 7974

--- apt-0.7.9/cmdline/apt-get.cc~ 2008-04-08 08:04:26.000000000 -0400
+++ apt-0.7.9/cmdline/apt-get.cc 2008-07-13 19:24:33.000000000 -0400
@@ -2539,6 +2539,8 @@
             {
                // We successfully installed something; skip remaining alternatives
                skipAlternatives = hasAlternatives;
+       // And set it to automatic install
+       Cache->MarkAuto(Pkg,true);
                continue;
             }
             else if (hasAlternatives)


signature.asc (196 bytes) Download Attachment

Bug#448743: autoremove build-deps

by Mathias Brodala :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

Aaron Haviland, 14.07.2008 02:14:
> I couldn't find any work referencing this in the current apt sources, so I hacked in
> this two-liner myself. Seems to work fine. Anything that's pulled in by build-dep is
> set to autoinstall.

Yep, I can confirm that this solution works just fine for me. APT
maintainers, please consider including this.


Regards, Mathias

- --
debian/rules
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiDxXsACgkQYfUFJ3ewsJhYTACgoVQ+lB0x8moH/v3YJ/9RCYvV
PmUAoIG+65gWfrXF9RIB21pe7jGCXTOH
=fu+A
-----END PGP SIGNATURE-----



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...

LightInTheBox - Buy quality products at wholesale price