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

Bug #1422247 reported by Jeffrey Tees
62
This bug affects 13 people
Affects Status Importance Assigned to Milestone
sddm (Ubuntu)
Confirmed
High
Unassigned

Bug Description

15.04 vivid
sddm seems to have failed install from cli.
sudo apt-get install kubuntu-desktop
chose sddm (just to see how it looked) on reboot sddm failed to load (black screen)
switched to tty reconfigured to return to lightdm, purged sddm -> reboot lightdm ok.
On Unity login error occured (this one) saying sddm had failed to install

ProblemType: Package
DistroRelease: Ubuntu 15.04
Package: sddm (not installed)
ProcVersionSignature: Ubuntu 3.18.0-13.14-generic 3.18.5
Uname: Linux 3.18.0-13-generic x86_64
ApportVersion: 2.16.1-0ubuntu2
AptOrdering: sddm: Purge
Architecture: amd64
Date: Fri Feb 13 11:38:02 2015
DpkgTerminalLog:
 Removing sddm (0.11.0-0ubuntu3) ...
 Purging configuration files for sddm (0.11.0-0ubuntu3) ...
 rm: cannot remove ‘/var/run/sddm/authority’: No such file or directory
 dpkg: error processing package sddm (--purge):
  subprocess installed post-removal script returned error exit status 1
DuplicateSignature: package:sddm:(not installed):subprocess installed post-removal script returned error exit status 1
ErrorMessage: subprocess installed post-removal script returned error exit status 1
InstallationDate: Installed on 2014-10-28 (110 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140228)
SourcePackage: sddm
Title: package sddm (not installed) failed to install/upgrade: subprocess installed post-removal script returned error exit status 1
UpgradeStatus: Upgraded to vivid on 2015-01-02 (44 days ago)

Revision history for this message
Jeffrey Tees (jeff-tees) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in sddm (Ubuntu):
status: New → Confirmed
Changed in sddm (Ubuntu):
importance: Undecided → High
Revision history for this message
apport hater (g112) wrote :

This issue is caused by a simple error in the postrm script

> if [ -d /var/run/sddm ]; then rm -r /var/run/sddm/authority; fi

The directory exists, but the file does not.

Workaround:
Stop ssdm to be sure those files won't be missed.
Delete /var/run/sddm before purging the package.

Revision history for this message
Arma1975 (arma1975) wrote :

Thanks

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.