Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #269681

Re: Uninstalling a package and its entourage

From Vincent Lefevre <vincent@vinc17.net>
Newsgroups linux.debian.user
Subject Re: Uninstalling a package and its entourage
Date 2024-05-29 03:10 +0200
Message-ID <IJfZf-gwBL-1@gated-at.bofh.it> (permalink)
References <IIJZn-gcU9-5@gated-at.bofh.it> <IIK94-gdcW-13@gated-at.bofh.it> <IIKLL-gdpK-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2024-05-27 18:42:48 +0300, mindaugasceliesius@gmail.com wrote:
> On Monday, May 27, 2024 5:59:55 PM EEST Nicolas George wrote:
> > Eben King (12024-05-27):
> > > Is there an easier way to uninstall a package and everything it brought in
> > > at one swell foop?  Thanks.
> > 
> > The packages you did not choose to install but were installed as a
> > consequence are shown by apt-get when you do almost anything:
> > 
> > The following packages were automatically installed and are no longer
> > required: <snip>
> > 
> > Regards,
> Hello.
> 
> You can use one simple command: sudo apt autoremove --purge

For various reasons, this may leave automatically installed packages
behind.

First, for symmetry with "apt install", you would need

APT::AutoRemove::SuggestsImportant "false";

Still, a package could have been automatically installed due to a
dependency, but it may be in another OR dependency, in which case
apt will not propose its removal, even though the OR dependency
would still be satisfied.

So, you should either look at the logs or keep trace of the packages
that are installed before installation of new packages.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Uninstalling a package and its entourage Eben King <eben@gmx.us> - 2024-05-27 17:00 +0200
  Re: Uninstalling a package and its entourage Nicolas George <george@nsup.org> - 2024-05-27 17:10 +0200
    Re: Uninstalling a package and its entourage mindaugasceliesius@gmail.com - 2024-05-27 17:50 +0200
      Re: Uninstalling a package and its entourage Mike Castle <dalgoda+debian@gmail.com> - 2024-05-27 18:50 +0200
      Re: Uninstalling a package and its entourage Vincent Lefevre <vincent@vinc17.net> - 2024-05-29 03:10 +0200
    Re: Uninstalling a package and its entourage <tomas@tuxteam.de> - 2024-05-27 18:00 +0200
      Re: *****SPAM***** Re: Uninstalling a package and its entourage Hans <hans.ullrich@loop.de> - 2024-05-27 18:10 +0200

csiph-web