same issue here. Followed ryecoaaron's instructions above in post #18 and all fixed. Did not tweak the post install scripts.
Thanks to ryecoarron. as always he fixes everyone. Just need to dig into the forums to find any and all answers.
same issue here. Followed ryecoaaron's instructions above in post #18 and all fixed. Did not tweak the post install scripts.
Thanks to ryecoarron. as always he fixes everyone. Just need to dig into the forums to find any and all answers.
I have similar problems when running omv-upgrade:
➜ / sudo 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:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:3 file:/var/cache/openmediavault/archives Packages
Hit:4 http://packages.openmediavault.org/public usul InRelease
Hit:5 http://deb.debian.org/debian buster InRelease
Hit:6 http://security.debian.org buster/updates InRelease
Hit:7 http://deb.debian.org/debian buster-updates InRelease
Hit:8 http://security.debian.org/debian-security buster/updates InRelease
Get:9 https://openmediavault.github.io/packages usul InRelease [12.7 kB]
Hit:10 http://httpredir.debian.org/debian buster-backports InRelease
Hit:11 https://armbian.hosthatch.com/apt buster InRelease
Fetched 12.7 kB in 4s (2946 B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
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 (5.6.8-1) ...
Creating configuration database ...
Traceback (most recent call last):
File "/usr/sbin/omv-confdbadm", line 24, in <module>
import openmediavault.confdbadm
File "/usr/lib/python3/dist-packages/openmediavault/confdbadm.py", line 32, in <module>
import openmediavault.config.datamodel
File "/usr/lib/python3/dist-packages/openmediavault/config/__init__.py", line 21, in <module>
from .database import *
File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 39, in <module>
import lxml.etree
ModuleNotFoundError: No module named 'lxml'
dpkg: error processing package openmediavault (--configure):
installed openmediavault package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
Alles anzeigen
I tried ryecoaaron commands. Output is:
➜ / sudo omv-confdbadm migrate "conf" "5.0.0"
Traceback (most recent call last):
File "/usr/sbin/omv-confdbadm", line 24, in <module>
import openmediavault.confdbadm
File "/usr/lib/python3/dist-packages/openmediavault/confdbadm.py", line 32, in <module>
import openmediavault.config.datamodel
File "/usr/lib/python3/dist-packages/openmediavault/config/__init__.py", line 21, in <module>
from .database import *
File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 39, in <module>
import lxml.etree
ModuleNotFoundError: No module named 'lxml'
Alles anzeigen
➜ / sudo omv-salt deploy run nginx phpfpm monit
odroidxu4:
Data failed to compile:
----------
Rendering SLS 'base:omv.deploy.nginx.10webgui' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'
----------
Rendering SLS 'base:omv.deploy.monit.default' failed: Jinja variable 'salt.utils.templates.AliasedLoader object' has no attribute 'omv_conf.get'
ryecoaaron Do you have another idea? Thanks!
I would try installing python3-lxml since the output says it can't find lxml. apt-get install python3-lxml
Thanks for the quick reply. It says it is already installed:
➜ ~ sudo apt install python3-lxml
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-lxml is already the newest version (4.3.2-1+deb10u3).
python3-lxml set to manually installed.
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.
Do you want to continue? [Y/n] y
Setting up openmediavault (5.6.8-1) ...
Creating configuration database ...
Traceback (most recent call last):
File "/usr/sbin/omv-confdbadm", line 24, in <module>
import openmediavault.confdbadm
File "/usr/lib/python3/dist-packages/openmediavault/confdbadm.py", line 32, in <module>
import openmediavault.config.datamodel
File "/usr/lib/python3/dist-packages/openmediavault/config/__init__.py", line 21, in <module>
from .database import *
File "/usr/lib/python3/dist-packages/openmediavault/config/database.py", line 39, in <module>
import lxml.etree
ModuleNotFoundError: No module named 'lxml'
dpkg: error processing package openmediavault (--configure):
installed openmediavault package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
Alles anzeigen
what is the output of:
dpkg -l | grep -E "openme|python"
ls -al /usr/lib/python3/dist-packages/lxml/
➜ ~ dpkg -l | grep -E "openme|python"
ls -al /usr/lib/python3/dist-packages/lxml/
ii libpython-stdlib:armhf 2.7.16-1 armhf interactive high-level object-oriented language (Python2)
ii libpython2-stdlib:armhf 2.7.16-1 armhf interactive high-level object-oriented language (Python2)
ii libpython2.7:armhf 2.7.16-2+deb10u1 armhf Shared Python runtime library (version 2.7)
ii libpython2.7-minimal:armhf 2.7.16-2+deb10u1 armhf Minimal subset of the Python language (version 2.7)
ii libpython2.7-stdlib:armhf 2.7.16-2+deb10u1 armhf Interactive high-level object-oriented language (standard library, version 2.7)
ii libpython3-stdlib:armhf 3.7.3-1 armhf interactive high-level object-oriented language (default python3 version)
ii libpython3.7-minimal:armhf 3.7.3-2+deb10u3 armhf Minimal subset of the Python language (version 3.7)
ii libpython3.7-stdlib:armhf 3.7.3-2+deb10u3 armhf Interactive high-level object-oriented language (standard library, version 3.7)
iF openmediavault 5.6.8-1 all openmediavault - The open network attached storage solution
ii openmediavault-flashmemory 5.0.8 all folder2ram plugin for OpenMediaVault
ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
ii openmediavault-locate 3.5 all locate plugin for OpenMediaVault.
rc openmediavault-omvextrasorg 5.6.1 all OMV-Extras.org Package Repositories for OpenMediaVault
ii python 2.7.16-1 armhf interactive high-level object-oriented language (Python2 version)
ii python-apt-common 1.8.4.3 all Python interface to libapt-pkg (locales)
ii python-cheetah 3.1.0-3 armhf text-based template engine and Python code generator (Python 2)
ii python-crypto 2.6.1-9+b1 armhf cryptographic algorithms and protocols for Python
ii python-dnspython 1.16.0-1 all DNS toolkit for Python
ii python-ldb 2:1.5.1+really1.4.6-3+deb10u1 armhf Python bindings for LDB
ii python-minimal 2.7.16-1 armhf minimal subset of the Python2 language
ii python-pip-whl 18.1-5 all Python package installer
ii python-samba 2:4.9.5+dfsg-5+deb10u1 armhf Python bindings for Samba
ii python-talloc:armhf 2.1.14-2 armhf hierarchical pool based memory allocator - Python bindings
ii python-tdb 1.3.16-2+b1 armhf Python bindings for TDB
ii python2 2.7.16-1 armhf interactive high-level object-oriented language (Python2 version)
ii python2-minimal 2.7.16-1 armhf minimal subset of the Python2 language
ii python2.7 2.7.16-2+deb10u1 armhf Interactive high-level object-oriented language (version 2.7)
ii python2.7-minimal 2.7.16-2+deb10u1 armhf Minimal subset of the Python language (version 2.7)
ii python3 3.7.3-1 armhf interactive high-level object-oriented language (default python3 version)
ii python3-apt 1.8.4.3 armhf Python 3 interface to libapt-pkg
ii python3-cached-property 1.5.1-3 all Provides cached-property for decorating methods in classes (Python 3)
ii python3-certifi 2018.8.24-1 all root certificates for validating SSL certs and verifying TLS hosts (python3)
ii python3-chardet 3.0.4-3 all universal character encoding detector for Python3
ii python3-click 7.0-1 all Wrapper around optparse for command line utilities - Python 3.x
ii python3-colorama 0.3.7-1 all Cross-platform colored terminal text in Python - Python 3.x
ii python3-dateutil 2.7.3-3 all powerful extensions to the standard Python 3 datetime module
ii python3-dbus 1.2.8-3 armhf simple interprocess messaging system (Python 3 interface)
ii python3-dialog 3.4.0-1 all Python module for making simple terminal-based user interfaces
ii python3-distro 1.3.0-1 all Linux OS platform information API
ii python3-distutils 3.7.3-1 all distutils package for Python 3.x
ii python3-gi 3.30.4-1 armhf Python 3 bindings for gobject-introspection libraries
ii python3-idna 2.6-1 all Python IDNA2008 (RFC 5891) handling (Python 3)
ii python3-jinja2 2.10-2 all small but fast and easy to use stand-alone template engine
ii python3-lib2to3 3.7.3-1 all Interactive high-level object-oriented language (2to3, version 3.6)
ii python3-lxml:armhf 4.3.2-1+deb10u3 armhf pythonic binding for the libxml2 and libxslt libraries
ii python3-markupsafe 1.1.0-1 armhf HTML/XHTML/XML string library for Python 3
ii python3-minimal 3.7.3-1 armhf minimal subset of the Python language (default python3 version)
ii python3-msgpack 0.5.6-1+b1 armhf Python 3 implementation of MessagePack format
ii python3-natsort 6.0.0-1 all Natural sorting for Python (Python3)
ii python3-netifaces 0.10.4-1+b1 armhf portable network interface information - Python 3.x
ii python3-pip 18.1-5 all Python package installer
ii python3-pkg-resources 40.8.0-1 all Package Discovery and Resource Access using pkg_resources
ii python3-psutil 5.5.1-1 armhf module providing convenience functions for managing processes (Python3)
ii python3-pycryptodome 3.6.1-2+b1 armhf cryptographic Python library (Python 3)
ii python3-pycurl 7.43.0.2-0.1 armhf Python bindings to libcurl (Python 3)
ii python3-pyudev 0.21.0-1 all Python3 bindings for libudev
ii python3-requests 2.21.0-1 all elegant and simple HTTP library for Python3, built for human beings
ii python3-six 1.12.0-1 all Python 2 and 3 compatibility library (Python 3 interface)
ii python3-software-properties 0.96.20.2-2 all manage the repositories that you install software from
ii python3-systemd 234-2+b1 armhf Python 3 bindings for systemd
ii python3-urllib3 1.24.1-1 all HTTP library with thread-safe connection pooling for Python3
ii python3-yaml 3.13-2 armhf YAML parser and emitter for Python3
Alles anzeigen
Message was too long, continue:
ii python3-zmq 17.1.2-2+deb10u1 armhf Python3 bindings for 0MQ library
ii python3.7 3.7.3-2+deb10u3 armhf Interactive high-level object-oriented language (version 3.7)
ii python3.7-minimal 3.7.3-2+deb10u3 armhf Minimal subset of the Python language (version 3.7)
ls: cannot access '/usr/lib/python3/dist-packages/lxml/': No such file or directory
➜ ~ dpkg -l | grep -E "openme|python"
ii libpython-stdlib:armhf 2.7.16-1 armhf interactive high-level object-oriented language (Python2)
ii libpython2-stdlib:armhf 2.7.16-1 armhf interactive high-level object-oriented language (Python2)
ii libpython2.7:armhf 2.7.16-2+deb10u1 armhf Shared Python runtime library (version 2.7)
ii libpython2.7-minimal:armhf 2.7.16-2+deb10u1 armhf Minimal subset of the Python language (version 2.7)
ii libpython2.7-stdlib:armhf 2.7.16-2+deb10u1 armhf Interactive high-level object-oriented language (standard library, version 2.7)
ii libpython3-stdlib:armhf 3.7.3-1 armhf interactive high-level object-oriented language (default python3 version)
ii libpython3.7-minimal:armhf 3.7.3-2+deb10u3 armhf Minimal subset of the Python language (version 3.7)
ii libpython3.7-stdlib:armhf 3.7.3-2+deb10u3 armhf Interactive high-level object-oriented language (standard library, version 3.7)
iF openmediavault 5.6.8-1 all openmediavault - The open network attached storage solution
ii openmediavault-flashmemory 5.0.8 all folder2ram plugin for OpenMediaVault
ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
ii openmediavault-locate 3.5 all locate plugin for OpenMediaVault.
rc openmediavault-omvextrasorg 5.6.1 all OMV-Extras.org Package Repositories for OpenMediaVault
ii python 2.7.16-1 armhf interactive high-level object-oriented language (Python2 version)
ii python-apt-common 1.8.4.3 all Python interface to libapt-pkg (locales)
ii python-cheetah 3.1.0-3 armhf text-based template engine and Python code generator (Python 2)
ii python-crypto 2.6.1-9+b1 armhf cryptographic algorithms and protocols for Python
ii python-dnspython 1.16.0-1 all DNS toolkit for Python
ii python-ldb 2:1.5.1+really1.4.6-3+deb10u1 armhf Python bindings for LDB
ii python-minimal 2.7.16-1 armhf minimal subset of the Python2 language
ii python-pip-whl 18.1-5 all Python package installer
ii python-samba 2:4.9.5+dfsg-5+deb10u1 armhf Python bindings for Samba
ii python-talloc:armhf 2.1.14-2 armhf hierarchical pool based memory allocator - Python bindings
ii python-tdb 1.3.16-2+b1 armhf Python bindings for TDB
ii python2 2.7.16-1 armhf interactive high-level object-oriented language (Python2 version)
ii python2-minimal 2.7.16-1 armhf minimal subset of the Python2 language
ii python2.7 2.7.16-2+deb10u1 armhf Interactive high-level object-oriented language (version 2.7)
ii python2.7-minimal 2.7.16-2+deb10u1 armhf Minimal subset of the Python language (version 2.7)
ii python3 3.7.3-1 armhf interactive high-level object-oriented language (default python3 version)
ii python3-apt 1.8.4.3 armhf Python 3 interface to libapt-pkg
ii python3-cached-property 1.5.1-3 all Provides cached-property for decorating methods in classes (Python 3)
ii python3-certifi 2018.8.24-1 all root certificates for validating SSL certs and verifying TLS hosts (python3)
ii python3-chardet 3.0.4-3 all universal character encoding detector for Python3
ii python3-click 7.0-1 all Wrapper around optparse for command line utilities - Python 3.x
ii python3-colorama 0.3.7-1 all Cross-platform colored terminal text in Python - Python 3.x
ii python3-dateutil 2.7.3-3 all powerful extensions to the standard Python 3 datetime module
ii python3-dbus 1.2.8-3 armhf simple interprocess messaging system (Python 3 interface)
ii python3-dialog 3.4.0-1 all Python module for making simple terminal-based user interfaces
ii python3-distro 1.3.0-1 all Linux OS platform information API
ii python3-distutils 3.7.3-1 all distutils package for Python 3.x
ii python3-gi 3.30.4-1 armhf Python 3 bindings for gobject-introspection libraries
ii python3-idna 2.6-1 all Python IDNA2008 (RFC 5891) handling (Python 3)
ii python3-jinja2 2.10-2 all small but fast and easy to use stand-alone template engine
ii python3-lib2to3 3.7.3-1 all Interactive high-level object-oriented language (2to3, version 3.6)
ii python3-lxml:armhf 4.3.2-1+deb10u3 armhf pythonic binding for the libxml2 and libxslt libraries
ii python3-markupsafe 1.1.0-1 armhf HTML/XHTML/XML string library for Python 3
ii python3-minimal 3.7.3-1 armhf minimal subset of the Python language (default python3 version)
ii python3-msgpack 0.5.6-1+b1 armhf Python 3 implementation of MessagePack format
ii python3-natsort 6.0.0-1 all Natural sorting for Python (Python3)
ii python3-netifaces 0.10.4-1+b1 armhf portable network interface information - Python 3.x
ii python3-pip 18.1-5 all Python package installer
ii python3-pkg-resources 40.8.0-1 all Package Discovery and Resource Access using pkg_resources
ii python3-psutil 5.5.1-1 armhf module providing convenience functions for managing processes (Python3)
ii python3-pycryptodome 3.6.1-2+b1 armhf cryptographic Python library (Python 3)
ii python3-pycurl 7.43.0.2-0.1 armhf Python bindings to libcurl (Python 3)
ii python3-pyudev 0.21.0-1 all Python3 bindings for libudev
ii python3-requests 2.21.0-1 all elegant and simple HTTP library for Python3, built for human beings
ii python3-six 1.12.0-1 all Python 2 and 3 compatibility library (Python 3 interface)
ii python3-software-properties 0.96.20.2-2 all manage the repositories that you install software from
ii python3-systemd 234-2+b1 armhf Python 3 bindings for systemd
ii python3-urllib3 1.24.1-1 all HTTP library with thread-safe connection pooling for Python3
ii python3-yaml 3.13-2 armhf YAML parser and emitter for Python3
ii python3-zmq 17.1.2-2+deb10u1 armhf Python3 bindings for 0MQ library
ii python3.7 3.7.3-2+deb10u3 armhf Interactive high-level object-oriented language (version 3.7)
ii python3.7-minimal 3.7.3-2+deb10u3 armhf Minimal subset of the Python language (version 3.7)
Alles anzeigen
ls: cannot access '/usr/lib/python3/dist-packages/lxml/
This is your problem. You must have deleted the files in the this directory.
apt-get install --reinstall python3-lxml
No but you shouldn't need to. What is the output of:
sudo omv-confdbadm migrate "conf" "5.0.0"
sudo omv-salt deploy run nginx phpfpm monit
Hi
Run these commands and then apt-update followed by apt-upgrade but still can't get post upgrade to work.
this is my output :
root@openmediavault:~# sudo omv-confdbadm migrate "conf" "5.0.0"
Running migration conf_5.0.0
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
root@openmediavault:~# sudo omv-salt deploy run nginx phpfpm monit
OMV-Tal.omv-tal:
----------
Summary for OMV-Tal.omv-tal
-------------
Succeeded: 25 (changed=9)
Failed: 0
-------------
Total states run: 25
Total run time: 1.745 s
root@openmediavault:~# apt-get update
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:5 file:/var/cache/openmediavault/archives Translation-en_IL
Ign:5 file:/var/cache/openmediavault/archives Translation-en_IL
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:5 file:/var/cache/openmediavault/archives Translation-en_IL
Ign:5 file:/var/cache/openmediavault/archives Translation-en_IL
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:5 file:/var/cache/openmediavault/archives Translation-en_IL
Ign:5 file:/var/cache/openmediavault/archives Translation-en_IL
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:5 file:/var/cache/openmediavault/archives Translation-en_IL
Ign:5 file:/var/cache/openmediavault/archives Translation-en_IL
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:5 file:/var/cache/openmediavault/archives Translation-en_IL
Ign:5 file:/var/cache/openmediavault/archives Translation-en_IL
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:5 file:/var/cache/openmediavault/archives Translation-en_IL
Ign:5 file:/var/cache/openmediavault/archives Translation-en_IL
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
Get:5 file:/var/cache/openmediavault/archives Translation-en_IL
Ign:5 file:/var/cache/openmediavault/archives Translation-en_IL
Get:6 https://download.docker.com/linux/debian buster InRelease [54.0 kB]
Hit:7 http://security.debian.org/debian-security buster/updates InRelease
Hit:8 http://deb.debian.org/debian buster InRelease
Ign:9 http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu hirsute InRelease
Hit:10 http://httpredir.debian.org/debian buster-backports InRelease
Hit:11 http://packages.openmediavault.org/public usul InRelease
Hit:12 http://deb.debian.org/debian buster-updates InRelease
Hit:13 http://packages.openmediavault.org/public usul-proposed InRelease
Hit:14 http://deb.debian.org/debian buster-backports InRelease
Err:15 https://dl.bintray.com/crystal/deb all InRelease
403 Forbidden [IP: 35.157.134.10 443]
Get:16 https://openmediavault.github.io/packages usul InRelease [12.7 kB]
Err:17 http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu hirsute Release
404 Not Found [IP: 91.189.95.85 80]
Get:18 https://openmediavault.github.io/packages usul-proposed InRelease [5,439 B]
Reading package lists... Done
E: Failed to fetch https://dl.bintray.com/crystal/deb/dists/all/InRelease 403 Forbidden [IP: 35.157.134.10 443]
E: The repository 'https://dl.bintray.com/crystal/deb all InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu hirsute Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@openmediavault:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up openmediavault (5.6.12-1) ...
Creating configuration database ...
Migrating configuration database ...
Running migration conf_5.6.0
Setting up Salt environment ...
Processing system modifications ...
dpkg: error processing package openmediavault (--configure):
installed openmediavault package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of openmediavault-omvextrasorg:
openmediavault-omvextrasorg depends on openmediavault (>= 5.0); however:
Package openmediavault is not configured yet.
dpkg: error processing package openmediavault-omvextrasorg (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
openmediavault
openmediavault-omvextrasorg
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@openmediavault:~#
Alles anzeigen
rr:15 https://dl.bintray.com/crystal/deb all InRelease
403 Forbidden [IP: 35.157.134.10 443]
omv-extras repos moving to github
Err:17 http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu hirsute Release
404 Not Found [IP: 91.189.95.85 80]
You need to remove this ppa. Not sure why you are installing a desktop app on a server that should not be running a desktop environment.
Thanks, That worked.
I stumbled over the same problem, with "apt upgrade" failing on the the openmediavault postinstall script.
Unfortunately, none of the previous suggested hints helped to resolve this.
Since this problem seems to have many possible causes, I woud like to share some details how to analyze it. Finally, I managed to resolve the issue in this case.
First of all, enable trace logging for the postinst script, by setting "#!/bin/sh -x" in /var/lib/dpkg/info/openmediavault.postinst.
This will print each line of the postinst script being executed on your next apt invocation.
In my case, it terminated right after
"omv-salt deploy run --no-color apt cronapt"
So I ran this command by itself and discovered the cause of the problem:
...
salt.exceptions.CommandExecutionError: E: The repository 'https://download.docker.com/linux/debian buster Release' no longer has a Release file.
E: The repository 'https://openmediavault.github.io/packages usul Release' no longer has a Release file.
E: The repository 'https://openmediavault-plugin-developers.github.io/packages/debian usul Release' no longer has a Release file.
E: The repository 'https://openmediavault-plugin-developers.github.io/packages/debian usul-extras Release' no longer has a Release file.
...
Basically it resolved to two issues:
- There was an old sources list file present for omv-extras, which obviously contained bogus links.
- The configured HTTPS proxy was rendered invalid as https://my.proxy (instead of http://my.proxy).
I removed the bogus source file and removed the proxy. (Actually, I found no way to configure the HTTPS proxy correctly via the UI - Bug!?!?)
After that, everything ran through smoothly.
There was an old sources list file present for omv-extras, which obviously contained bogus links.
What are you calling bogus links? The repo urls in your output are correct. Something happened to the apt-get update if your system isn't finding Release files.
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!