Hi,
I have got a problem with omv-mkconf and omv-update.
When I try to update this occurs:
Python
[root@NAS: ~] omv-update
Ign:1 http://ftp.de.debian.org/debian stretch InRelease
Hit:3 http://packages.openmediavault.org/public arrakis InRelease
Hit:4 http://security.debian.org/debian-security stretch/updates InRelease
Get:5 http://ftp.de.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:6 http://ftp.de.debian.org/debian stretch Release
Hit:7 https://openmediavault.github.io/packages arrakis InRelease
Ign:8 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch InRelease
Get:2 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease [91.8 kB]
Hit:9 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch Release
Fetched 183 kB in 0s (212 kB/s)
Traceback (most recent call last):
File "/usr/sbin/omv-mkaptidx", line 35, in <module>
import apt
File "/usr/lib/python3/dist-packages/apt/__init__.py", line 26, in <module>
from apt.package import Package
File "/usr/lib/python3/dist-packages/apt/package.py", line 28, in <module>
import socket
File "/usr/lib/python3.5/socket.py", line 53, in <module>
from enum import IntEnum
File "/usr/lib/python3.5/enum.py", line 3, in <module>
from types import MappingProxyType, DynamicClassAttribute
File "/usr/lib/python3.5/types.py", line 166, in <module>
import functools as _functools
File "/usr/lib/python3.5/functools.py", line 23, in <module>
from weakref import WeakKeyDictionary
File "/usr/lib/python3.5/weakref.py", line 109
def remove(wr, selfref=ref(self)
^
TabError: inconsistent use of tabs and spaces in indentation
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.
2 not fully installed or removed.
Need to get 0 B/192 kB of archives.
After this operation, 0 B of additional disk space will be used.
dpkg: error processing package python3 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of python3-apt:
python3-apt depends on python3 (<< 3.6); however:
Package python3 is not configured yet.
python3-apt depends on python3 (>= 3.5~); however:
Package python3 is not configured yet.
python3-apt depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
dpkg: error processing package python3-apt (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python3
python3-apt
Traceback (most recent call last):
File "/usr/sbin/omv-mkaptidx", line 35, in <module>
import apt
File "/usr/lib/python3/dist-packages/apt/__init__.py", line 26, in <module>
from apt.package import Package
File "/usr/lib/python3/dist-packages/apt/package.py", line 28, in <module>
import socket
File "/usr/lib/python3.5/socket.py", line 53, in <module>
from enum import IntEnum
File "/usr/lib/python3.5/enum.py", line 3, in <module>
from types import MappingProxyType, DynamicClassAttribute
File "/usr/lib/python3.5/types.py", line 166, in <module>
import functools as _functools
File "/usr/lib/python3.5/functools.py", line 23, in <module>
from weakref import WeakKeyDictionary
File "/usr/lib/python3.5/weakref.py", line 109
def remove(wr, selfref=ref(self)
^
TabError: inconsistent use of tabs and spaces in indentation
E: Sub-process /usr/bin/dpkg returned an error code (1)
Alles anzeigen
I have got the Version: 4.1.11
Is there somebody who can help?
Editing via the gui is not working anymore. Nothing works.
I do not want to reinstall.
cu