Upgrade from 13 to 14 breaking Whonix every time

Hi!

Following instructions from:

I’m not able to upgrade existing Whonix v13 installation.

Everything brakes on:
apt-get-noninteractive dist-upgrade

when packages are downloaded and unpacked, and after that:
dpkg: error: dpkg status database is locked by another processE: Sub-process /usr/bin/dpkg returned an error code (2)

Meanwhile AppArmour is spitting errors on desktop notifications every second:
AppArmour Message
Profile: /usr/bin/whonixcheck
Operation: exec Name: /sbin/getcap
Denied: x Logfile /var/log/kern.log

I can’t simply remove lock on dpkg becouse AppArmour will lock it again instantly.

This is happening on v13 Workstation on my own images and on freshly installed ones from .ova files (clean, updated, without any modification made).

Any suggestions?

sudo systemctl stop whonixcheck
sudo killall whonixcheck
sudo dpkg --configure -a
1 Like

Thanx!

It solved the problem and I suggest to put that information in upgrade wiki.

A post was split to a new topic: Tor denied message after upgrade from Whonix 13 to Whonix 14

A post was merged into an existing topic: Tor denied message after upgrade from Whonix 13 to Whonix 14

Hope that helps.

Error - Whonix