I have a similar issue while removing whoopsie within a preseed
installation, so whoopsie will be removed before it is started the first
time.

$ sudo apt purge whoopsie
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  whoopsie*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 227602 files and directories currently installed.)
Purging configuration files for whoopsie (0.2.69) ...
rm: cannot remove '/var/lib/whoopsie/whoopsie-id': No such file or directory
dpkg: error processing package whoopsie (--purge):
 installed whoopsie package post-removal script subprocess returned error exit 
status 1
Errors were encountered while processing:
 whoopsie
E: Sub-process /usr/bin/dpkg returned an error code (1)


As you can see, the post-removal script is missing the whoopsie-id file. After 
creating the dir and file, the post-removal script runs fine.

Tested under Ubuntu focal.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1099788

Title:
  I can't uninstall completely whoopsie

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1099788/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to