I'm attempting to upgrade from 18.10 Cosmic. Whoopsie is causing issues. I can't uninstall it, and it won't let me stop it. Is there a way around this so I can finish the upgrade?
Sorry if I'm missing something obvious. I haven't really messed with Linux in years and I'm trying to get this old laptop back up and running.
Preparing to unpack .../whoopsie_0.2.69ubuntu0.3_amd64.deb ...
Failed to reload daemon: Access denied
Failed to retrieve unit state: Access denied
Failed to stop whoopsie.service: Access denied
See system logs and 'systemctl status whoopsie.service' for details.
invoke-rc.d: initscript whoopsie, action "stop" failed.
dpkg: warning: old whoopsie package pre-removal script subprocess returned error exit status 1
dpkg: trying script from the new package instead ...
Failed to reload daemon: Access denied
Failed to retrieve unit state: Access denied
Failed to stop whoopsie.service: Access denied
See system logs and 'systemctl status whoopsie.service' for details.
invoke-rc.d: initscript whoopsie, action "stop" failed.
dpkg: error processing archive /var/cache/apt/archives/whoopsie_0.2.69ubuntu0.3_amd64.deb (--unpack):
new whoopsie package pre-removal script subprocess returned error exit status 1
Failed to reload daemon: Access denied
Failed to reload daemon: Access denied
Failed to retrieve unit state: Access denied
Failed to start whoopsie.service: Access denied
See system logs and 'systemctl status whoopsie.service' for details.
invoke-rc.d: initscript whoopsie, action "start" failed.
Failed to get properties: Access denied
dpkg: error while cleaning up:
installed whoopsie package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/whoopsie_0.2.69ubuntu0.3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
room@room-pc:~$
If I try to stop it:
room@room-pc:~$ sudo systemctl stop whoopsie
Failed to stop whoopsie.service: Access denied
See system logs and 'systemctl status whoopsie.service' for details.
room@room-pc:~$
If I try to remove it:
The following packages will be REMOVED:
whoopsie*
0 upgraded, 0 newly installed, 1 to remove and 668 not upgraded.
973 not fully installed or removed.
After this operation, 109 kB disk space will be freed.
Do you want to continue? [Y/n] y
dpkg: error processing package whoopsie (--remove):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
dpkg: too many errors, stopping
Errors were encountered while processing:
whoopsie
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
room@room-pc:~$
So, how can I fix this and upgrade the system successfully?