Your message dated Sun, 22 Nov 2020 15:24:16 +0100 with message-id <20201122151820.GA2641237@debian.org> and subject line Re: Bug#975426: Package:apt remove package and apt autoremove does not remove dependencies. has caused the Debian Bug report #975426, regarding Package:apt remove package and apt autoremove does not remove dependencies. to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 975426: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=975426 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: "submit" <submit@bugs.debian.org>
- Subject: Package:apt remove package and apt autoremove does not remove dependencies.
- From: Tomas <correo@tomaszubiri.com>
- Date: Sun, 22 Nov 2020 00:27:45 -0300
- Message-id: <[🔎] 175edfe45df.111eb9799375890.7876863615438227527@tomaszubiri.com>
Package: aptHello.
Here are the 3 commands that I ran:
apt install xfce4apt remove xfce4apt autoremoveHowever I can still run xfce (by running Xorg) and apt list --installed | grep xfce yields like 10 packages.
Could you please confirm whether this is a bug or unexpected behaviour? If so I can send more data about my setup and we can pinpoint the issue.
Thank you.
--- End Message ---
--- Begin Message ---
- To: Tomas <correo@tomaszubiri.com>, 975426-close@bugs.debian.org
- Subject: Re: Bug#975426: Package:apt remove package and apt autoremove does not remove dependencies.
- From: Julian Andres Klode <jak@debian.org>
- Date: Sun, 22 Nov 2020 15:24:16 +0100
- Message-id: <20201122151820.GA2641237@debian.org>
- In-reply-to: <[🔎] 175edfe45df.111eb9799375890.7876863615438227527@tomaszubiri.com>
- References: <[🔎] 175edfe45df.111eb9799375890.7876863615438227527@tomaszubiri.com>
On Sun, Nov 22, 2020 at 12:27:45AM -0300, Tomas wrote: > Package: apt > > Hello. > Here are the 3 commands that I ran: > > apt install xfce4 > apt remove xfce4 > > apt autoremove > > > > However I can still run xfce (by running Xorg) and apt list --installed | grep xfce yields like 10 packages. It is normal and expected that some people will remain when installing a package, removing it, and running autoremove, as packages are not only kept around by dependencies, but also Recommends, and Suggests - the latter which are not installed automatically. You can remove more packages in autoremove by setting the option APT::AutoRemove::SuggestsImportant to 0, or even more by setting APT::AutoRemove::RecommendsImportant to 0 (not recommended at all); but be aware that this might cause some other packages to lose functionality you might have come to rely upon (e.g., A suggests B and you remove B, and now A has different behavior which you did not expect). In the future, I plan to introduce an `apt revert` command which lets you revert transactions still recorded in /var/log/apt/history.log, which would solve a lot of these temporarily installed issues more adequately. -- debian developer - deb.li/jak | jak-linux.org - free software dev ubuntu core developer i speak de, en
--- End Message ---