Removing package fails to remove user
Bug #1185547 reported by
Jonathan Harker
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-cacher-ng (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When purging the apt-cacher-ng package, the apt-cacher-ng user is not removed from the system. This causes reinstalls to fail because the apt-cacher-ng user already exists. The package should remove the user when being purged.
Workaround:
After uninstalling, run the command:
sudo userdel apt-cacher-ng
Once the user is removed, the package can be installed again.
Version affected: 12.04.1 Precise
Package version: 0.7.2-1ubuntu2.1
To post a comment you must log in.
It does already but only if deluser tool is available.
However, this is a minor bug because normally it does not hurt even if the user account remains on the system.
Why this you might ask? Because the installation normally does not fail since it's a system user account. Unless... somebody (YOU?) messed around with user id so it doesn't look like a system account anymore and in this case adduser can show erroneous behavior. Also see Debian bug #708073 .