Noticed the following error when upgrading openmediavault:
Code
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
openmediavault
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2,409 kB of archives.
After this operation, 4,096 B of additional disk space will be used.
Do you want to continue? [Y/n]
Preconfiguring packages ...
(Reading database ... 62451 files and directories currently installed.)
Preparing to unpack .../openmediavault_6.0.21-1_all.deb ...
Unpacking openmediavault (6.0.21-1) over (6.0.20-2) ...
Setting up openmediavault (6.0.21-1) ...
Creating configuration database ...
Migrating configuration database ...
Setting up Salt environment ...
[ERROR ] Command '/usr/bin/patch' failed with return code: 1
[ERROR ] stdout: patching file /tmp/__salt.tmp.dt0ut9rj (read from /lib/python3/dist-packages/salt/modules/network.py)
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file /tmp/__salt.tmp.in73c4_4
[ERROR ] retcode: 1
[ERROR ] Command '/usr/bin/patch' failed with return code: 1
[ERROR ] stdout: patching file /tmp/__salt.tmp.raar_dry (read from /lib/python3/dist-packages/salt/fileserver/roots.py)
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file /tmp/__salt.tmp.y210kivn
[ERROR ] retcode: 1
Processing system modifications ...
Processing triggers for rsyslog (8.2102.0-2) ...
Processing triggers for openmediavault (6.0.21-1) ...
Restarting engine daemon ...
Updating workbench configuration files ...
Alles anzeigen
The error regarding the "Salt environment" happens every time openmediavault gets updated, though it didn't fail the upgrade process. Also this has happened since I installed OMV6 (probably starting at version 6.0.19-1), and still present in the latest version.