This problem still exists within Precise. I ran sudo apt-get purge lightdm and 
got the following output in the Terminal:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  lightdm* ubuntu-desktop*
0 upgraded, 0 newly installed, 2 to remove and 5 not upgraded.
After this operation, 505 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 232740 files and directories currently installed.)
Removing ubuntu-desktop ...
Removing lightdm ...
Purging configuration files for lightdm ...
Removing user `lightdm' ...
Warning: group `lightdm' has no more members.
userdel: user lightdm is currently logged in
/usr/sbin/deluser: `/usr/sbin/userdel lightdm' returned error code 8. Exiting.
dpkg: error processing lightdm (--purge):
 subprocess installed post-removal script returned error exit status 1
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Errors were encountered while processing:
 lightdm
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/992376

Title:
  package lightdm (not installed) failed to install/upgrade: subprocess
  installed post-removal script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/992376/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to