FS#45717 - [networkmanager-openconnect] error on package removal

Attached to Project: Arch Linux
Opened by Scott Coil (sylphid) - Monday, 20 July 2015, 00:58 GMT
Last edited by Jan de Groot (JGC) - Saturday, 21 October 2017, 21:46 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When removing the package, the user is deleted, followed by an attempt to remove the group. However, userdel appears to remove not only the user, but also the group resulting in an error when attempting to remove the group directly

Additional info:

scott@scott-desktop:/etc$ sudo pacman -R networkmanager-openconnect
[sudo] password for scott:
checking dependencies...

Packages (1) networkmanager-openconnect-1.0.2-1

Total Removed Size: 1.40 MiB

:: Do you want to remove these packages? [Y/n]
(1/1) removing networkmanager-openconnect [#####################] 100%
error: command failed to execute correctly

scott@scott-desktop:/etc$ sudo userdel nm-openconnect
scott@scott-desktop:/etc$ echo $?
0
scott@scott-desktop:/etc$ getent group nm-openconnect >/dev/null 2>&1 && groupdel nm-openconnect
scott@scott-desktop:/etc$ echo $?
2


Steps to reproduce:
Attempt to remove package
This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 21 October 2017, 21:46 GMT
Reason for closing:  Fixed
Additional comments about closing:  User/group are not removed on uninstall per policy, so the error doesn't occur anymore.
Comment by Doug Newgard (Scimmia) - Monday, 20 July 2015, 05:09 GMT
This is still incomplete on the todo list.

Loading...