--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: Please allow APT::Get::AutomaticRemove=true during dist-upgrades
- From: Loïc Minier <lool@dooz.org>
- Date: Sun, 10 May 2009 12:00:39 +0200
- Message-id: <20090510100039.GA24746@bee.dooz.org>
Package: apt
Version: 0.7.21
Severity: wishlist
Hi
In pbuilder, we attempted to drop unused packages automatically via:
-o "APT::Get::AutomaticRemove=true"
which we added to the apt-get dist-upgrade call; this doesn't work
because in apt, DoAutomaticRemove() is only called from DoInstall()
(which is called for apt-get install, remove, purge, and autoremove).
dist-upgrade calls DoDistUpgrade().
Could you please call DoAutomaticRemove() from DoDistUpgrade()?
Thanks,
--
Loïc Minier
--- End Message ---
--- Begin Message ---
- To: Loïc Minier <lool@dooz.org>, 528011-done@bugs.debian.org
- Subject: Re: Bug#528011: Please allow APT::Get::AutomaticRemove=true during dist-upgrades
- From: Julian Andres Klode <jak@debian.org>
- Date: Thu, 13 Aug 2015 23:43:29 +0200
- Message-id: <20150813234138.GA11733@debian.org>
- In-reply-to: <20090510100039.GA24746@bee.dooz.org>
- References: <20090510100039.GA24746@bee.dooz.org>
On Sun, May 10, 2009 at 12:00:39PM +0200, Loïc Minier wrote:
> Package: apt
> Version: 0.7.21
> Severity: wishlist
>
> Hi
>
> In pbuilder, we attempted to drop unused packages automatically via:
> -o "APT::Get::AutomaticRemove=true"
> which we added to the apt-get dist-upgrade call; this doesn't work
> because in apt, DoAutomaticRemove() is only called from DoInstall()
> (which is called for apt-get install, remove, purge, and autoremove).
> dist-upgrade calls DoDistUpgrade().
>
> Could you please call DoAutomaticRemove() from DoDistUpgrade()?
>
THat seems working now:
$ apt-get --auto-remove dist-upgrade -s
HINWEIS: Dies ist nur eine Simulation!
apt-get benötigt root-Privilegien für die reale Ausführung.
Behalten Sie ebenfalls in Hinterkopf, dass die Sperren deaktiviert
sind, verlassen Sie sich also bezüglich des reellen aktuellen
Status der Sperre nicht darauf!
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
Die folgenden Pakete werden ENTFERNT:
libept1.4.16 libutempter0
0 aktualisiert, 0 neu installiert, 2 zu entfernen und 0 nicht aktualisiert.
Remv libept1.4.16 [1.0.14]
Remv libutempter0 [1.1.6-1]
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
Be friendly, do not top-post, and follow RFC 1855 "Netiquette".
- If you don't I might ignore you.
--- End Message ---