Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#28754 - The -u option that goes with -R is ambiguously described.
Attached to Project:
Pacman
Opened by Georgiy Treyvus (hiushoz) - Saturday, 03 March 2012, 01:24 GMT
Last edited by Allan McRae (Allan) - Thursday, 08 March 2012, 22:56 GMT
Opened by Georgiy Treyvus (hiushoz) - Saturday, 03 March 2012, 01:24 GMT
Last edited by Allan McRae (Allan) - Thursday, 08 March 2012, 22:56 GMT
|
DetailsIt leads you to believe that "pacman -Ru" is like "apt-get autoremove" when in reality it 1. requires other arguments and 2. is actually like a localized version of autoremove for each specified package group.
|
This task depends upon
Removes targets that are not required by any other packages. This
is mostly useful when removing a group without using the -c option,
to avoid breaking any dependencies.
The first two words of the description are "Removes targets", which is our standard word for referring to command line arguments.
There exists a wiki page for such "translations" of pacman functionality compared to other package managers:
https://wiki.archlinux.org/index.php/Pacman_rosetta
Like I would write something like:
-u, --unneeded
This takes package groups as arguments. For each argument specified orphaned packages that are not needed by other packages in the group are removed.
target == (group OR package)
The only improvement I can see making is doing something like this:
"Restricts removal operation to targets that are not required by any other packages."
Please, for our sake and for our sanity to be preserved, stop proposing documentation updates that are incorrect. In this case, the only person in the "they" you refer to seems to be you.
dmcgee@galway ~
$ sudo pacman -Ru base-devel
checking dependencies...
warning: removing gcc from target list
warning: removing make from target list
warning: removing libtool from target list
warning: removing binutils from target list
warning: removing bison from target list
warning: removing automake from target list
warning: removing pkg-config from target list
warning: removing m4 from target list
Targets (4):
Name Old Version Net Change
autoconf 2.68-2 -2.15 MiB
fakeroot 1.18.2-1 -0.22 MiB
flex 2.5.35-5 -0.91 MiB
patch 2.6.1-3 -0.14 MiB
Total Removed Size: 3.42 MiB
Do you want to remove these packages? [Y/n] ^C
Interrupt signal received
dmcgee@galway ~
$ sudo pacman -Ru gcc make libtool flex
checking dependencies...
warning: removing gcc from target list
warning: removing make from target list
warning: removing libtool from target list
Targets (1):
Name Old Version Net Change
flex 2.5.35-5 -0.91 MiB
Total Removed Size: 0.91 MiB
Do you want to remove these packages? [Y/n] ^C
Interrupt signal received
Though I know what -Ru does to package groups can someone please explain what it does to individual packages?