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#40212 - [lightdm] uninstallation throws "error: command failed to execute correctly"
Attached to Project:
Community Packages
Opened by No Name (torpet) - Sunday, 04 May 2014, 11:10 GMT
Last edited by Maxime Gauduin (Alucryd) - Monday, 05 May 2014, 07:42 GMT
Opened by No Name (torpet) - Sunday, 04 May 2014, 11:10 GMT
Last edited by Maxime Gauduin (Alucryd) - Monday, 05 May 2014, 07:42 GMT
|
DetailsDescription:
When uninstall lightdm either via -R or -Rn, I get the error "error: command failed to execute correctly" after the finished uninstall. I attached the output of pacman -Rn with --debug flag enabled. Here I think the error happens: debug: executing ". /tmp/alpm_2JZtcc/.INSTALL; post_remove 1:1.10.0-2" debug: executing "/usr/bin/bash" under chroot "/" debug: call to waitpid succeeded error: command failed to execute correctly I don't know if it's just a cosmetic bug or some part really fails. The uninstall hooks work fine, as user and group lightdm both are getting removed from /etc/passwd and /etc/group file. Additional info: * lightdm-1:1.10.0-2 Steps to reproduce: pacman -S lightdm pacman -R(n)? lightdm |
This task depends upon
Comment by Maxime Gauduin (Alucryd) -
Monday, 05 May 2014, 07:41 GMT
I'm not sure what happens, but my guess is userdel and groupdel commands return either nothing or something other that 0. Anyway as you noticed it works nonetheless so there is nothing to fix here. BTW, gdm does the exact same thing and produces the same messages.
lightdm.txt