[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#853844: sddm: purging fails because of deluser/userdel (sddm is currently used by a process)



Package: sddm
Version: 0.14.0-1
Severity: serious


Dear Maintainer,

here is the problem:

# apt purge sddm   sddm-theme-breeze
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  sddm* sddm-theme-breeze*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 2 595 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 261837 files and directories currently installed.)
Removing sddm (0.14.0-1) .....................................................................................................]
Please be sure to run "dpkg-reconfigure gdm3".
Removing sddm-theme-breeze (4:5.8.5-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
(Reading database ... 261663 files and directories currently installed.)
Purging configuration files for sddm (0.14.0-1) ...
Removing user `sddm' ...
Warning: group `sddm' has no more members.
userdel: user sddm is currently used by process 658
/usr/sbin/deluser: `/usr/sbin/userdel sddm' returned error code 8. Exiting.
Could not remove sddm user.
/usr/sbin/delgroup: `sddm' still has `sddm' as their primary group!
Could not remove sddm group.
userdel: user sddm is currently used by process 658
/usr/sbin/deluser: `/usr/sbin/userdel sddm' returned error code 8. Exiting.
/usr/sbin/delgroup: `sddm' still has `sddm' as their primary group!
dpkg: error processing package sddm (--purge):
 subprocess installed post-removal script returned error exit status 128
Errors were encountered while processing:
 sddm
E: Sub-process /usr/bin/dpkg returned an error code (1)


Stopping the service before the purge fixes the problem.


-- 
Laurent.


Reply to: