Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#21286 - [wireshark] replacing wireshark by wireshark-(gui|cli) cause loss of group informations
Attached to Project:
Arch Linux
Opened by Benoit Izac (benizac) - Sunday, 17 October 2010, 05:45 GMT
Last edited by Guillaume ALAUX (galaux) - Tuesday, 19 October 2010, 06:36 GMT
Opened by Benoit Izac (benizac) - Sunday, 17 October 2010, 05:45 GMT
Last edited by Guillaume ALAUX (galaux) - Tuesday, 19 October 2010, 06:36 GMT
|
DetailsDescription:
Today I replaced wireshark with wireshark-gui and I noticed members of the group wireshark are lost. Removing package wireshark runs `groupdel wireshark' but I think it's not correct: 1) it's not a package removal but a replacement 2) more generally, when there are manual modifications in a group, is it a good idea to remove them? For point 1, I don't know if pacman has some special commands according to replaces=(...). For point 2, if manual operations are done, we should not delete them. Warn should be better and let administrators a chance to decide what to do. |
This task depends upon
Closed by Guillaume ALAUX (galaux)
Tuesday, 19 October 2010, 06:36 GMT
Reason for closing: Won't fix
Additional comments about closing: Unfortunate side effect of the package split
Tuesday, 19 October 2010, 06:36 GMT
Reason for closing: Won't fix
Additional comments about closing: Unfortunate side effect of the package split
> 1) it's not a package removal but a replacement
As you probably noticed, this package was split from wireshark to wireshark-cli + wireshark-gui. Pacman sees this as "removal of wireshark and installation of new packages wireshark-cli and wireshark-gui". So pacman performs the wireshark.post_remove() that deletes wireshark group. As you can see this is an unfortunate side effect of the split.
> For point 1, I don't know if pacman has some special commands according to replaces=(...).
Not that I know of!
> 2) more generally, when there are manual modifications in a group, is it a good idea to remove them?
> For point 2, if manual operations are done, we should not delete them. Warn should be better and let administrators a chance to decide what to do.
[Edit:]
I suggest you raise this idea on the arch-dev mailing list and the previous to pacman-dev so you could get Pacman devs opinion
As there is nothing we can do here, I am closing this bug report but thanks for letting us know.