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
Touch seeded packages, which is subscribed to whoopsie in Ubuntu.
https://bugs.launchpad.net/bugs/1099788

Title:
  I can't uninstall completely whoopsie

Status in whoopsie package in Ubuntu:
  Invalid

Bug description:
  $ sudo aptitude -y purge whoopsie
  The following packages will be REMOVED:  
    whoopsie{p} 
  0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
  Need to get 0 B of archives. After unpacking 0 B will be used.
  (Reading database ... 331880 files and directories currently installed.)
  Removing whoopsie ...
  Purging configuration files for whoopsie ...
  dpkg: error processing whoopsie (--purge):
   subprocess installed post-removal script returned error exit status 1
  No apport report written because MaxReports is reached already
                                                                Errors were 
encountered while processing:
   whoopsie
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  A package failed to install.  Trying to recover:

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: whoopsie (not installed)
  Uname: Linux 3.7.2-999-i7 x86_64
  ApportVersion: 2.6.1-0ubuntu9
  Architecture: amd64
  Date: Tue Jan 15 12:29:07 2013
  InstallationDate: Installed on 2013-01-10 (4 days ago)
  InstallationMedia: Ubuntu GNOME Remix 12.10 "Quantal Quetzal" - Release 
amd64(20121023)
  MarkForUpload: True
  ProcEnviron:
   LANGUAGE=es_ES:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=es_ES.UTF-8
   SHELL=/bin/bash
  SourcePackage: whoopsie
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to