Arch Linux

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!
Tasklist

FS#19269 - [bitlbee] pre_remove() error

Attached to Project: Arch Linux
Opened by orbisvicis (orbisvicis) - Tuesday, 27 April 2010, 21:49 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 04 May 2010, 19:15 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
If "USERGROUPS_ENAB" is set to yes in "/etc/login.defs" (which it is by default, on Arch), then "userdel" will delete the user's group if it contains no more members. Therefore, the following "groupdel" command in pre_remove() returns in error.

It's the chicken in the egg problem because "userdel" needs to run first otherwise "groupdel" will return in error.


Additional info:
* package version(s)
extra/bitlbee 1.2.6a-1
* config and/or log files etc.
sudo pacman -Rn bitlbee
checking dependencies...
error: command failed to execute correctly
(1/1) removing bitlbee

Here is an untested bitlbee.install providing other modifications.
(And in this case I guess there isn't an effective difference between pre_remove() and post_remove())

Other Stuff
the bitlbee PKGBUILD should set the "force" option otherwise pacman will not promp for upgrading from 1.2.6 -> 1.2.6a
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Tuesday, 04 May 2010, 19:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  on trunk

Loading...