LightDM package fails to remove if lightdm user is in use

Bug #1109338 reported by Piotr Gajdowski
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
lightdm (Ubuntu)
Triaged
Low
Unassigned

Bug Description

After installing new updates op Ubuntu 12.04, lightdm stopped working properly, I can loggin but after that it only shows my wallpaper and my cursor. Sometimes I am unable to login.

I can however right click my desktop and go to settings etc, but the graphics are extremely laggy (for example moving a window).
But I can't see my desktop menu bar or anything else.

ProblemType: Package
DistroRelease: Ubuntu 12.10
Package: lightdm 1.4.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-23.35-generic 3.5.7.2
Uname: Linux 3.5.0-23-generic x86_64
ApportVersion: 2.6.1-0ubuntu10
AptOrdering:
 ubuntu-desktop: Purge
 lightdm-remote-session-uccsconfigure: Purge
 lightdm-remote-session-freerdp: Purge
 lightdm: Purge
Architecture: amd64
Date: Tue Jan 29 22:29:00 2013
ErrorMessage: subprocess installed post-removal script returned error exit status 1
InstallationDate: Installed on 2013-01-16 (13 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
SourcePackage: lightdm
Title: package lightdm 1.4.0-0ubuntu2 failed to install/upgrade: subprocess installed post-removal script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Piotr Gajdowski (p-a-gajdowski) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lightdm (Ubuntu):
status: New → Confirmed
Sam (sambit11)
description: updated
Revision history for this message
Robert Ancell (robert-ancell) wrote :

From the terminal log:

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

Which indicates that LightDM was probably removed while it was running.

We should probably just warn if this occurs with the penalty that a lightdm user will be left on the system.

summary: - package lightdm 1.4.0-0ubuntu2 failed to install/upgrade: subprocess
- installed post-removal script returned error exit status 1
+ LightDM package fails to remove if lightdm user is in use
Changed in lightdm (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.