Hi,
Newbie here and recently I noticed when upgrading the packages via the UI I get this error
Code
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --allow-downgrades --allow-change-held-packages --fix-broken --fix-missing --auto-remove --allow-unauthenticated --show-upgraded --option DPkg::Options::="--force-confold" dist-upgrade 2>&1' with exit code '100': Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up openmediavault (6.9.16-1) ...
Creating configuration database ...
Migrating configuration database ...
Setting up Salt environment ...
Inconsistency detected by ld.so: dl-lookup.c: 972: _dl_setup_hash: Assertion `(bitmask_nwords & (bitmask_nwords - 1)) == 0' failed!
dpkg: error processing package openmediavault (--configure):
installed openmediavault package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
openmediavault
E
:
Sub-process /usr/bin/dpkg returned an error code (1)
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --allow-downgrades --allow-change-held-packages --fix-broken --fix-missing --auto-remove --allow-unauthenticated --show-upgraded --option DPkg::Options::="--force-confold" dist-upgrade 2>&1' with exit code '100': Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up openmediavault (6.9.16-1) ...
Creating configuration database ...
Migrating configuration database ...
Setting up Salt environment ...
Inconsistency detected by ld.so: dl-lookup.c: 972: _dl_setup_hash: Assertion `(bitmask_nwords & (bitmask_nwords - 1)) == 0' failed!
dpkg: error processing package openmediavault (--configure):
installed openmediavault package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
openmediavault
E
:
Sub-process /usr/bin/dpkg returned an error code (1)
in /usr/share/openmediavault/engined/rpc/apt.inc:226
Stack trace:
#0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(620): Engined\Rpc\Apt->Engined\Rpc\{closure}('/tmp/bgstatusSE...', '/tmp/bgoutputlA...')
#1 /usr/share/openmediavault/engined/rpc/apt.inc(229): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#2 [internal function]: Engined\Rpc\Apt->upgrade(NULL, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('upgrade', NULL, Array)
#5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Apt', 'upgrade', NULL, Array, 1)
#6 {main}
Display More
I tried running
Code
root:~# sudo omv-confdbadm migrate "conf" "5.0.0"
Running migration conf_5.0.0
INFO: The node 'optiongroup' already exists at XPath '/config/services/rsync/jobs/job'.
INFO: The node 'optionowner' already exists at XPath '/config/services/rsync/jobs/job'.
INFO: The node 'timemachine' already exists at XPath '/config/services/smb/shares/share'.
Running migration conf_5.0.3
Running migration conf_5.2.0
Running migration conf_5.5.0
Running migration conf_5.5.3
INFO: The node 'clients' already exists at XPath '/config/system/time/ntp'.
Running migration conf_5.6.0
Running migration conf_6.0.0
INFO: The node 'comment' already exists at XPath '/config/system/fstab/mntent'.
INFO: The node 'usagewarnthreshold' already exists at XPath '/config/system/fstab/mntent'.
Running migration conf_6.0.7
INFO: The node 'homesrecyclebin' already exists at XPath '/config/services/smb'.
Running migration conf_6.0.31
INFO: The node 'standbymode' already exists at XPath '/config/system/powermanagement'.
Running migration conf_6.3.2
INFO: The node 'hidden' already exists at XPath '/config/system/network/interfaces/interface'.
Running migration conf_6.3.3
INFO: The node 'routemetric' already exists at XPath '/config/system/network/interfaces/interface'.
INFO: The node 'routemetric6' already exists at XPath '/config/system/network/interfaces/interface'.
Running migration conf_6.3.11
INFO: The node 'transportencryption' already exists at XPath '/config/services/smb/shares/share'.
INFO: The node 'bondtransmithashpolicy' already exists at XPath '/config/system/network/interfaces/interface'.
Running migration conf_6.4.0
INFO: The node 'sharedfoldersnapshotlifecycle' already exists at XPath '/config/system'.
INFO: The node 'enable' already exists at XPath '/config/system/sharedfoldersnapshotlifecycle'.
INFO: The node 'retentionperiod' already exists at XPath '/config/system/sharedfoldersnapshotlifecycle'.
INFO: The node 'limitcustom' already exists at XPath '/config/system/sharedfoldersnapshotlifecycle'.
INFO: The node 'limithourly' already exists at XPath '/config/system/sharedfoldersnapshotlifecycle'.
INFO: The node 'limitdaily' already exists at XPath '/config/system/sharedfoldersnapshotlifecycle'.
INFO: The node 'limitweekly' already exists at XPath '/config/system/sharedfoldersnapshotlifecycle'.
INFO: The node 'limitmonthly' already exists at XPath '/config/system/sharedfoldersnapshotlifecycle'.
INFO: The node 'limityearly' already exists at XPath '/config/system/sharedfoldersnapshotlifecycle'.
Running migration conf_6.5.0
INFO: The node 'versions' already exists at XPath '/config/services/nfs'.
Running migration conf_6.6.0
INFO: The node 'netbios' already exists at XPath '/config/services/smb'.
Running migration conf_6.8.0
INFO: The node 'minprotocol' already exists at XPath '/config/services/smb'.
Running migration conf_6.9.0
INFO: The node 'homesinheritacls' already exists at XPath '/config/services/smb'.
INFO: The node 'homesinheritpermissions' already exists at XPath '/config/services/smb'.
INFO: The node 'homesextraoptions' already exists at XPath '/config/services/smb'.
Display More
That seemed ok so I tried
Code
root:~# sudo omv-salt deploy run nginx phpfpm monit
Inconsistency detected by ld.so: dl-lookup.c: 972: _dl_setup_hash: Assertion `(bitmask_nwords & (bitmask_nwords - 1)) == 0' failed!
So I tried
Code
root:~# omv-upgrade
Get:1 file:/var/cache/openmediavault/archives InRelease
Ign:1 file:/var/cache/openmediavault/archives InRelease
Get:2 file:/var/cache/openmediavault/archives Release
Ign:2 file:/var/cache/openmediavault/archives Release
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Hit:5 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:6 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:7 http://packages.openmediavault.org/public shaitan InRelease
Get:8 https://openmediavault.github.io/packages shaitan InRelease [12.8 kB]
Get:9 https://openmediavault-plugin-developers.github.io/packages/debian shaitan InRelease [3934 B]
Fetched 16.7 kB in 2s (8968 B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up openmediavault (6.9.16-1) ...
Creating configuration database ...
Migrating configuration database ...
Setting up Salt environment ...
Inconsistency detected by ld.so: dl-lookup.c: 972: _dl_setup_hash: Assertion `(bitmask_nwords & (bitmask_nwords - 1)) == 0' failed!
dpkg: error processing package openmediavault (--configure):
installed openmediavault package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
Display More
Any ideas as to the cause or any diagnostics I can run.
This is running on a raspberry-pi. UI and system are still functional
Thanks in advance for any help
Tony