From: Eli Schwartz <eschwartz@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] --depclean and openrc [Was: Wayland! Beware of!]
Date: Sun, 27 Oct 2024 19:14:05 -0400 [thread overview]
Message-ID: <912035d9-9393-4cd4-a90a-9adff1e78538@gentoo.org> (raw)
In-Reply-To: <Zx7EJo5wpQY7-sa-@MAC.fritz.box>
[-- Attachment #1.1: Type: text/plain, Size: 2318 bytes --]
On 10/27/24 6:52 PM, Alan Mackenzie wrote:
> OK, thanks. I didn't know that. The emerge man page section for
> --depclean is far from clear on the point. Looking at it more closely,
> it doesn't mention giving it arguments until the very last subsidiary
> paragraph. It could, for example, start with "WITHOUT ARGUMENTS, cleans
> the system by removing packages that are ....". And it could replace
> that useless weasel phrase "associated with" with "dependencies of".
I see what you mean. The --depclean flag (and --unmerge as well) is
listed in the section for "action"s. depclean isn't an *option* such as
--ask / --color / --jobs / --verbose / etc.
And, the synopsis states that all *actions* allow specifying optional
atoms / sets / etc at the same time.
This isn't clear from reading the individual documentation on an action,
but I'm not sure what a solution here might look like.
> It could also warn users that their system packages are not protected
> against removal in certain circumstances.
>
> It could correct the error where it says "Packages that are part of the
> world set will always be kept.". Earlier on on the man page it defines
> @world to be the amalgam of @selected, @system, and @profile. Despite
> the reassuring words, --depclean wants to delete nano and openrc (still),
> which are part of @world.
@world is an alias expansion (it expands its contents, in this case,
@selected @system @profile).
@system is also an alias expansion -- it expands the profile-based list
of atoms for system.
Moving beyond that, nano and openrc aren't an *expansion* of @world, but
they are an RDEPEND of atoms (virtual/*) that are expanded from @world.
The emerge documentation says that packages that are part of the world
set -- i.e. they are expanded from @world -- will be kept. It doesn't
say that their dependencies will be kept (there are arguments about why
this is the portage design, but this discussion is less about whys and
more about whether the documentation is correct, so that's what I will
address).
I don't really see that part of the documentation as being in error.
Although I suppose I also don't see any harm in rewording it for
additional clarity. I'm not sure exactly how to reword it...
--
Eli Schwartz
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
next prev parent reply other threads:[~2024-10-27 23:14 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-23 20:14 [gentoo-user] Wayland! Beware of! Alan Mackenzie
2024-09-23 21:11 ` Eli Schwartz
2024-09-23 22:08 ` Alan Mackenzie
2024-09-23 22:54 ` Eli Schwartz
2024-09-24 11:30 ` [gentoo-user] --depclean and openrc [Was: Wayland! Beware of!] Alan Mackenzie
2024-09-24 11:40 ` Arsen Arsenović
2024-09-24 12:34 ` [gentoo-user] --depclean and openrc Alan Mackenzie
2024-09-24 15:24 ` Eli Schwartz
2024-09-24 18:15 ` Alan Mackenzie
2024-09-27 0:09 ` [gentoo-user] --depclean and openrc [Was: Wayland! Beware of!] Mitchell Dorrell
2024-09-24 15:15 ` Eli Schwartz
2024-09-24 18:53 ` Alan Mackenzie
2024-09-24 19:36 ` Eli Schwartz
2024-10-25 19:22 ` Alan Mackenzie
2024-10-26 3:10 ` Walter Dnes
2024-10-27 1:53 ` Eli Schwartz
2024-10-27 22:52 ` Alan Mackenzie
2024-10-27 23:14 ` Eli Schwartz [this message]
2024-09-25 0:32 ` Matt Jolly
2024-09-24 0:43 ` [gentoo-user] Wayland! Beware of! Michael Orlitzky
2024-09-24 0:52 ` Mitchell Dorrell
2024-09-24 1:13 ` Matt Jolly
2024-09-24 1:52 ` Eli Schwartz
2024-09-24 9:46 ` Mitchell Dorrell
2024-09-25 0:14 ` Matt Jolly
2024-09-24 10:05 ` Dr Rainer Woitok
2024-09-24 22:00 ` Walter Dnes
2024-09-25 1:42 ` Eli Schwartz
2024-09-25 10:00 ` Walter Dnes
2024-09-25 11:53 ` Arsen Arsenović
2024-09-25 22:21 ` Walter Dnes
2024-09-26 0:25 ` Eli Schwartz
2024-09-26 5:08 ` Walter Dnes
2024-09-26 19:18 ` James Cloos
2024-09-25 14:26 ` Eli Schwartz
2024-09-25 14:40 ` jay
2024-09-26 0:19 ` Michael Orlitzky
2024-09-23 21:12 ` Arsen Arsenović
2024-09-23 21:20 ` Wol
2024-09-23 22:53 ` karl
2024-09-24 7:10 ` Wols Lists
2024-09-24 18:32 ` What is what (Re: [gentoo-user] Wayland! Beware of!) karl
2024-09-24 23:44 ` Wols Lists
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=912035d9-9393-4cd4-a90a-9adff1e78538@gentoo.org \
--to=eschwartz@gentoo.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox