I was updating packages on my omv (6.3.5-2) through the webinterface of omv. Then I automatically logged off from the web UI because of inactivity but the update was not done yet. Then I logged in again, changed the auto log off timer to 1h and restarted the updater. But then it told me
dpkg was interrupted, you must manually run sudo dpkg –configure -a to correct the problem
So I started a ssh session and did like the UI told me. The following lines appear:
Setting up openmediavault (6.3.5-2) ...
Creating configuration database ...
Migrating configuration database ...
Setting up Salt environment ...
And then nothing else happens. After waiting an hour or even more I press Crtl+C to cancel the execution just du receive a prompt with Network error: Software caused connection abort
I have a raspberry pi 3b+ with raspbian os lite 64 bit and (as I already told) openmediavault
I Also tried to execute the following commands before:
cd /var/lib/dpkg/updates
sudo rm *
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
But I get the same behaviour that the system stuck at Setting up Salt environment ...
edit: loosing the ssh connection is caused by a restart of the raspi, but I cannot figure out why. As soon as the system has been restarted, it does not even remember the previous login.