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


Groups > linux.debian.user > #242260 > unrolled thread

Re: Why can I not uninstall this package? (fwd)

Started byTim Woodall <debianuser@woodall.me.uk>
First post2021-11-19 20:30 +0100
Last post2021-12-10 15:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  Re: Why can I not uninstall this package? (fwd) Tim Woodall <debianuser@woodall.me.uk> - 2021-11-19 20:30 +0100
    Re: Why can I not uninstall this package? (fwd) Andrei POPESCU <andreimpopescu@gmail.com> - 2021-12-10 15:10 +0100

#242260 — Re: Why can I not uninstall this package? (fwd)

FromTim Woodall <debianuser@woodall.me.uk>
Date2021-11-19 20:30 +0100
SubjectRe: Why can I not uninstall this package? (fwd)
Message-ID<DlhK9-4Ws-1@gated-at.bofh.it>
Apologies, meant to reply to the list. I thought answering N to reply to
all went to the list, not to the author - something else I need to fix...

---------- Forwarded message ----------
Date: Fri, 19 Nov 2021 19:10:24 +0000 (GMT)
From: Tim Woodall <debianuser@woodall.me.uk>
To: The Wanderer <wanderer@fastmail.fm>
Subject: Re: Why can I not uninstall this package?

On Fri, 19 Nov 2021, The Wanderer wrote:


> The manually-installed package list can be gotten by running
> 
> $ apt-mark showmanual
> 
> and if you redirect that into a file you'll have a copy for later reference.
> 
>

That apt-mark is incredibly useful too. Could have saved myself hours
of working through packages working out which ones can be uninstalled.

Just done (after first checking the list of packages it would change)

apt-mark auto $( apt-mark showmanual | grep ^lib )

Then set libreoffice-writer and libreoffice-calc back to manual

And then apt-get autoremove --purge found another four libraries I could
remove. Only 800K of diskspace extra by this point but still, nice to
have when you've only got 4GB to play with.

I shall work through the full list of manually installed packages
flipping those I don't explicitly want to auto - that might find some
more that should be removed too.

Many thanks!

[toc] | [next] | [standalone]


#242910

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2021-12-10 15:10 +0100
Message-ID<DsOL1-7nZ-23@gated-at.bofh.it>
In reply to#242260

[Multipart message — attachments visible in raw view] — view raw

On Vi, 19 nov 21, 19:19:42, Tim Woodall wrote:
> 
> I shall work through the full list of manually installed packages
> flipping those I don't explicitly want to auto - that might find some
> more that should be removed too.

You might also want to set

    AutoRemove::SuggestsImportant "false";


somewhere under /etc/apt/apt.conf.d/ (or use the equivalent '-o' option 
when running `autoremove`).


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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web