autotrust fails to deinstall

Bug #572910 reported by Teun Vink
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
autotrust (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: autotrust

purging autotrust fails:

# dpkg --purge autotrust
(Reading database ... 77947 files and directories currently installed.)
Removing autotrust ...
 * Stopping DNSSEC trust anchor updater autotrust [ OK ]
sh: getcwd() failed: No such file or directory
Purging configuration files for autotrust ...
sh: getcwd() failed: No such file or directory
userdel: unrecognized option '--system'
Usage: userdel [options] LOGIN

Options:
  -f, --force force removal of files,
                                even if not owned by user
  -h, --help display this help message and exit
  -r, --remove remove home directory and mail spool

dpkg: error processing autotrust (--purge):
 subprocess installed post-removal script returned error exit status 2

This is caused by the --system flags in /var/lib/dpkg/info/autotrust.postrm or userdel and groupdel, removing these flags fixes it.

Changed in autotrust (Ubuntu):
status: New → Confirmed
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.