Re: debfoster and apt
Hi,
On Sun, Dec 22, 2024 at 10:46:26PM +0100, Julian Andres Klode wrote:
> On Thu, Nov 21, 2024 at 09:22:11AM +0100, Marc Haber wrote:
> > How would I used apt to iterate over the set of packages that nothing
> > depends on and give the user the choice to deinstall those packages?
> >
> > debfoster goes a step further and offers an additional "deinstall this
> > and all dependencies that nothing else depends on" choice.
>
> apt autoremove automatically removes all automatically installed
> packages. Surely you must have seen its prompt in dist-upgrade
> telling you about which packages are autoremovable?
Yes, of course. Using this regularly. But it's different from what
debfoster does.
> The debfoster package description basically says it's doing the
> same thing.
Debfoster iterates through all leaf packages and offers to remove them.
And it keeps your decisions in a state file so that a question you
answered once isn't asked again. And it can be configured to not ask
that question for packages that have a priority higher than a certain
value.
> The classic autoremove code is conservative: It keeps all Depends,
> Recommends, and Suggests that are reachable from a manually
> installed package.
debfoster is configurable in this regard.
I acknowledge that apt autoremove goes in the same direction, but to
achieve debfoster's level of usefulness it needs to evolve a lot.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421
Reply to: