[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: aptitude doesn't remove unused packages



On Mi, 22 apr 20, 22:13:36, Urs Thuermann wrote:
> Debian's package management should remove packages that were installed
> automatically, if they are no longer needed.  Unfortunately, that
> often seems to not work correctly.  See this example on my Raspberry
> Pi running Raspbian jessie:
 
[...]

> But after many updates/upgrades no installed package needs
> gcc-4.8-base anymore but it hasn't been removed.  If I check why it's
> still installed I get:
> 
> # aptitude why gcc-4.8-base
> i   cron              Recommends exim4 | postfix | mail-transport-agent
> p   courier-mta       Provides   mail-transport-agent
> p   courier-mta       Depends    courier-authlib (>= 0.66.1-1)
> p   courier-authlib   Depends    expect
> p   expect            Recommends tk8.6
> p   tk8.6             Recommends xterm | x-terminal-emulator
> p   gnome-terminal    Provides   x-terminal-emulator
> p   gnome-terminal    Recommends gvfs
> p   gvfs              Depends    gvfs-daemons (< 1.22.2-1+deb8u1.1~)
> p   gvfs-daemons      Recommends policykit-1-gnome
> p   lxsession         Provides   policykit-1-gnome
> p   lxsession         Recommends openbox | x-window-manager
> p   xmonad            Provides   x-window-manager
> p   xmonad            Recommends libghc-xmonad-dev
> p   libghc-xmonad-dev Depends    libghc-unix-dev-2.6.0.1-7550b
> p   ghc               Provides   libghc-unix-dev-2.6.0.1-7550b
> p   ghc               Depends    libgmp-dev
> p   libgmp-dev        Recommends libstdc++-4.8-dev | libstdc++-dev
> p   libstdc++-4.8-dev Depends    gcc-4.8-base (= 4.8.4-1)

This is controlled by the apt configuration options

    APT::AutoRemove::RecommendsImportant
    APT::AutoRemove::SuggestsImportant

See apt.conf(5) for how to adjust these.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Attachment: signature.asc
Description: PGP signature


Reply to: