[R-sig-Debian] autoremove_

Göran Broström gor@n@bro@trom @ending from umu@@e
Wed Aug 1 17:30:30 CEST 2018


thanks a lot.

Best, Göran

On 2018-08-01 16:24, Dirk Eddelbuettel wrote:
> Göran,
> Got it now (thanks to a slower/later than usual commute) -- see 'man apt' which has
>         autoremove (apt-get(8))
>             autoremove is used to remove packages that were automatically installed to satisfy
>             dependencies for other packages and are now no longer needed as dependencies changed or
>             the package(s) needing them were removed in the meantime.
>             You should check that the list does not include applications you have grown to like even
>             though they were once installed just as a dependency of another package. You can mark such
>             a package as manually installed by using apt-mark(8). Packages which you have installed
>             explicitly via install are also never proposed for automatic removal.
> leading 'man apt-mark' with the details and commands.  The actual file is
>         /var/lib/apt/extended_states
>             Status list of auto-installed packages. Configuration Item: Dir::State::extended_states.
> and you can switch the state of auto-installed Suggests: or Recommended:
> packages (like r-cran-littler et al in your case) to 'manual' which will
> prevent any auto-removal.
> Hope this helps, and thanks for bringing this up - had been meaning to look
> around for this myself.
> Cheers, Dirk

More information about the R-SIG-Debian mailing list