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#18223 - [dbus-core] error on uninstall

Attached to Project: Arch Linux
Opened by Ivan Todoroski (Grnch) - Sunday, 07 February 2010, 23:50 GMT
Last edited by Jan de Groot (JGC) - Sunday, 07 March 2010, 15:05 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Jan de Groot (JGC)
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 uninstalling dbus-glib it prints "error: command failed to execute correctly".

Additional info:

Repository : extra
Name : dbus-glib
Version : 0.82-2
URL : http://www.freedesktop.org/wiki/Software/DBusBindings
Licenses : GPL
Groups : None
Provides : None
Depends On : dbus-core>=1.2.16 glib2>=2.22.2
Optional Deps : None
Conflicts With : None
Replaces : None


Steps to reproduce:

# pacman -S dbus-glib
resolving dependencies...
looking for inter-conflicts...

Targets (2): dbus-core-1.2.16-1 dbus-glib-0.82-2

Total Download Size: 0.00 MB
Total Installed Size: 1.66 MB

Proceed with installation? [Y/n]
checking package integrity...
(2/2) checking for file conflicts [###########################################] 100%
(1/2) installing dbus-core [###########################################] 100%
(2/2) installing dbus-glib [###########################################] 100%

# pacman -Rs dbus-glib
checking dependencies...

Remove (2): dbus-glib-0.82-2 dbus-core-1.2.16-1

Total Removed Size: 1.66 MB

Do you want to remove these packages? [Y/n]
(1/2) removing dbus-glib [###########################################] 100%
error: command failed to execute correctly
(2/2) removing dbus-core [###########################################] 100%
This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 07 March 2010, 15:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  This was already fixed in svn. Will be fixed in 1.2.20.
Comment by Thomas Dziedzic (tomd123) - Monday, 08 February 2010, 12:57 GMT
dbus-core has:

pre_remove() {
usr/sbin/userdel dbus &>/dev/null
usr/sbin/groupdel dbus &>/dev/null
}

Looks like one of those failed. I wouldn't worry about it.
Comment by Jan de Groot (JGC) - Tuesday, 09 February 2010, 08:12 GMT
The userdel also removes the group, so the groupdel fails.
Comment by Ivan Todoroski (Grnch) - Tuesday, 09 February 2010, 14:49 GMT
I think this behavior of userdel might be influenced by the USERGROUPS_ENAB setting in /etc/login.defs.

I tried the steps again, with both settings.

USERGROUPS_ENAB yes => error occurs
USERGROUPS_ENAB no => no error on uninstall

Note that "yes" is the default in ArchLinux.

I don't know if this adds anything useful to the report, except maybe as a reminder to test any fixes with both values of USERGROUPS_ENAB, to make sure it works in both scenarios.

Loading...