this post was submitted on 15 May 2025
10 points (91.7% liked)
Arch Linux
8753 readers
8 users here now
The beloved lightweight distro
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If I interpret the wiki correctly, it is only takes effect when removing groups. If you remove a group and some of those packages are dependencies of another installed package, you get an error. The
-u
or--unneeded
flag strikes those needed packages from the list and removes only the unneeded ones.Edit: I just looked at the man page for pacman. There appear to be other usages besides groups. It probably does the same as with groups just with explicitly stated packages.
Many thx. I hadn't referred to groups, but at least that's how it makes sense.