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

Re: Return a Debian system to a pristine state

On Fri 05 Jun 2020 at 12:01:32 -0400, The Wanderer wrote:


> Nowadays, my regular upgrade-against-testing routine - carried out at
> least weekly, if not daily - consists of the following (with adjustments
> to account for undesired installations, removals, bugs as reported by
> apt-listbugs, et cetera):
> $ apt-get update
> $ apt-get dist-upgrade
> $ apt-get autoremove
> $ apt-get remove $(deborphan)
> And if the deborphan step finds anything, I go back to the autoremove
> step, and repeat until neither of them has found anything.
> When I first started with deborphan, it took me somewhere between three
> and six repetitions of that pair of commands before I got to that point.
> Now, I can't even remember the last time deborphan found anything,
> because the system is already clean in this regard - but I still keep it
> up, just to make sure that doesn't change.

An aside regarding deborphan: it finds packages that haven't any packages
depending on them. This may lead to the removal of a useful package. For
example, libsane-hpaio (installed without recommended packages).


Reply to: