Upgrade Debian 9 and 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • I changed the two lines on weakref.py and it did help for a while. But since OMV 4..0.16 I am having these two issues when running apt update and apt upgrade. Openmediavault package is not properly updated.


      Source Code

      1. apt update
      2. Get:1 file:/var/cache/openmediavault/archives InRelease
      3. Ign:1 file:/var/cache/openmediavault/archives InRelease
      4. Get:2 file:/var/cache/openmediavault/archives Release
      5. Ign:2 file:/var/cache/openmediavault/archives Release
      6. Get:3 file:/var/cache/openmediavault/archives Packages
      7. Ign:3 file:/var/cache/openmediavault/archives Packages
      8. Get:4 file:/var/cache/openmediavault/archives Translation-en_US
      9. Ign:4 file:/var/cache/openmediavault/archives Translation-en_US
      10. Get:5 file:/var/cache/openmediavault/archives Translation-en
      11. Ign:5 file:/var/cache/openmediavault/archives Translation-en
      12. Get:3 file:/var/cache/openmediavault/archives Packages
      13. Ign:3 file:/var/cache/openmediavault/archives Packages
      14. Get:4 file:/var/cache/openmediavault/archives Translation-en_US
      15. Ign:4 file:/var/cache/openmediavault/archives Translation-en_US
      16. Get:5 file:/var/cache/openmediavault/archives Translation-en
      17. Ign:5 file:/var/cache/openmediavault/archives Translation-en
      18. Get:3 file:/var/cache/openmediavault/archives Packages
      19. Ign:3 file:/var/cache/openmediavault/archives Packages
      20. Get:4 file:/var/cache/openmediavault/archives Translation-en_US
      21. Ign:4 file:/var/cache/openmediavault/archives Translation-en_US
      22. Get:5 file:/var/cache/openmediavault/archives Translation-en
      23. Ign:5 file:/var/cache/openmediavault/archives Translation-en
      24. Get:3 file:/var/cache/openmediavault/archives Packages
      25. Ign:3 file:/var/cache/openmediavault/archives Packages
      26. Get:4 file:/var/cache/openmediavault/archives Translation-en_US
      27. Ign:4 file:/var/cache/openmediavault/archives Translation-en_US
      28. Get:5 file:/var/cache/openmediavault/archives Translation-en
      29. Ign:5 file:/var/cache/openmediavault/archives Translation-en
      30. Get:3 file:/var/cache/openmediavault/archives Packages
      31. Ign:3 file:/var/cache/openmediavault/archives Packages
      32. Get:4 file:/var/cache/openmediavault/archives Translation-en_US
      33. Ign:4 file:/var/cache/openmediavault/archives Translation-en_US
      34. Get:5 file:/var/cache/openmediavault/archives Translation-en
      35. Ign:5 file:/var/cache/openmediavault/archives Translation-en
      36. Get:3 file:/var/cache/openmediavault/archives Packages
      37. Get:4 file:/var/cache/openmediavault/archives Translation-en_US
      38. Ign:4 file:/var/cache/openmediavault/archives Translation-en_US
      39. Get:5 file:/var/cache/openmediavault/archives Translation-en
      40. Ign:5 file:/var/cache/openmediavault/archives Translation-en
      41. Ign:6 http://ftp.pt.debian.org/debian stretch InRelease
      42. Get:7 http://ftp.pt.debian.org/debian stretch-updates InRelease [91.0 kB]
      43. Hit:8 http://ftp.pt.debian.org/debian stretch Release
      44. Hit:9 http://packages.openmediavault.org/public arrakis InRelease
      45. Get:10 http://security.debian.org stretch/updates InRelease [63.0 kB]
      46. Hit:11 http://packages.openmediavault.org/public arrakis-proposed InRelease
      47. Hit:15 https://openmediavault.github.io/packages arrakis InRelease
      48. Ign:16 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch InRelease
      49. Get:12 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease [91.8 kB]
      50. Get:14 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease [91.8 kB]
      51. Ign:17 https://dl.bintray.com/openmediavault-plugin-developers/arrakis-testing stretch InRelease
      52. Hit:18 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch Release
      53. Get:19 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 Packages.diff/Index [27.8 kB]
      54. Get:20 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 Packages 2018-02-13-1426.03.pdiff [486 B]
      55. Hit:21 https://dl.bintray.com/openmediavault-plugin-developers/arrakis-testing stretch Release
      56. Get:20 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 Packages 2018-02-13-1426.03.pdiff [486 B]
      57. Get:23 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 Packages.diff/Index [27.8 kB]
      58. Get:24 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 Packages 2018-02-13-1426.03.pdiff [486 B]
      59. Get:24 http://cdn-fastly.deb.debian.org/debian stretch-backports/main amd64 Packages 2018-02-13-1426.03.pdiff [486 B]
      60. Fetched 302 kB in 0s (320 kB/s)
      61. Traceback (most recent call last):
      62. File "/usr/sbin/omv-mkaptidx", line 35, in <module>
      63. import apt
      64. File "/usr/lib/python3/dist-packages/apt/__init__.py", line 26, in <module>
      65. from apt.package import Package
      66. File "/usr/lib/python3/dist-packages/apt/package.py", line 28, in <module>
      67. import socket
      68. File "/usr/lib/python3.5/socket.py", line 53, in <module>
      69. from enum import IntEnum
      70. File "/usr/lib/python3.5/enum.py", line 3, in <module>
      71. from types import MappingProxyType, DynamicClassAttribute
      72. File "/usr/lib/python3.5/types.py", line 166, in <module>
      73. import functools as _functools
      74. File "/usr/lib/python3.5/functools.py", line 23, in <module>
      75. from weakref import WeakKeyDictionary
      76. File "/usr/lib/python3.5/weakref.py", line 118
      77. _atomic_removal(d, wr.key)
      78. ^
      79. IndentationError: unindent does not match any outer indentation level
      80. Reading package lists... Done
      81. Building dependency tree
      82. Reading state information... Done
      83. All packages are up to date.
      84. root@sirius:~# apt upgrade
      85. Reading package lists... Done
      86. Building dependency tree
      87. Reading state information... Done
      88. Calculating upgrade... Done
      89. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      90. 1 not fully installed or removed.
      91. After this operation, 0 B of additional disk space will be used.
      92. Do you want to continue? [Y/n] y
      93. Setting up openmediavault (4.0.19-1) ...
      94. Updating configuration database ...
      95. Traceback (most recent call last):
      96. File "/usr/sbin/omv-confdbadm", line 24, in <module>
      97. import openmediavault.confdbadm
      98. File "/usr/lib/python3/dist-packages/openmediavault/confdbadm.py", line 25, in <module>
      99. import argparse
      100. File "/usr/lib/python3.5/argparse.py", line 87, in <module>
      101. import copy as _copy
      102. File "/usr/lib/python3.5/copy.py", line 51, in <module>
      103. import types
      104. File "/usr/lib/python3.5/types.py", line 166, in <module>
      105. import functools as _functools
      106. File "/usr/lib/python3.5/functools.py", line 23, in <module>
      107. from weakref import WeakKeyDictionary
      108. File "/usr/lib/python3.5/weakref.py", line 118
      109. _atomic_removal(d, wr.key)
      110. ^
      111. IndentationError: unindent does not match any outer indentation level
      112. dpkg: error processing package openmediavault (--configure):
      113. subprocess installed post-installation script returned error exit status 1
      114. Errors were encountered while processing:
      115. openmediavault
      116. Traceback (most recent call last):
      117. File "/usr/sbin/omv-mkaptidx", line 35, in <module>
      118. import apt
      119. File "/usr/lib/python3/dist-packages/apt/__init__.py", line 26, in <module>
      120. from apt.package import Package
      121. File "/usr/lib/python3/dist-packages/apt/package.py", line 28, in <module>
      122. import socket
      123. File "/usr/lib/python3.5/socket.py", line 53, in <module>
      124. from enum import IntEnum
      125. File "/usr/lib/python3.5/enum.py", line 3, in <module>
      126. from types import MappingProxyType, DynamicClassAttribute
      127. File "/usr/lib/python3.5/types.py", line 166, in <module>
      128. import functools as _functools
      129. File "/usr/lib/python3.5/functools.py", line 23, in <module>
      130. from weakref import WeakKeyDictionary
      131. File "/usr/lib/python3.5/weakref.py", line 118
      132. _atomic_removal(d, wr.key)
      133. ^
      134. IndentationError: unindent does not match any outer indentation level
      135. E: Sub-process /usr/bin/dpkg returned an error code (1)
      Display All
    • thexma wrote:

      thank you @Wolf2000,

      replace new lines fixed it:

      line 109: def remove(wr, selfref=ref(self)): replace with: def remove(wr, selfref=ref(self), _atomic_removal=_remove_dead_weakref):

      line 117: _remove_dead_weakref(d, wr.key) replace with: _atomic_removal(d, wr.key)


      Changed the lines 109 and 117 and got this instead.
      Has someone stumbled over this error?

      Shell-Script

      1. root@openmediavault:/# sudo apt-get update
      2. Get:1 file:/var/cache/openmediavault/archives InRelease
      3. Ign:1 file:/var/cache/openmediavault/archives InRelease
      4. Get:2 file:/var/cache/openmediavault/archives Release
      5. Ign:2 file:/var/cache/openmediavault/archives Release
      6. Get:3 file:/var/cache/openmediavault/archives Packages
      7. Ign:3 file:/var/cache/openmediavault/archives Packages
      8. Get:4 file:/var/cache/openmediavault/archives Translation-en
      9. Ign:4 file:/var/cache/openmediavault/archives Translation-en
      10. Get:5 file:/var/cache/openmediavault/archives Translation-en_US
      11. Ign:5 file:/var/cache/openmediavault/archives Translation-en_US
      12. Get:3 file:/var/cache/openmediavault/archives Packages
      13. Ign:3 file:/var/cache/openmediavault/archives Packages
      14. Get:4 file:/var/cache/openmediavault/archives Translation-en
      15. Ign:4 file:/var/cache/openmediavault/archives Translation-en
      16. Get:5 file:/var/cache/openmediavault/archives Translation-en_US
      17. Ign:5 file:/var/cache/openmediavault/archives Translation-en_US
      18. Get:3 file:/var/cache/openmediavault/archives Packages
      19. Ign:3 file:/var/cache/openmediavault/archives Packages
      20. Get:4 file:/var/cache/openmediavault/archives Translation-en
      21. Ign:4 file:/var/cache/openmediavault/archives Translation-en
      22. Get:5 file:/var/cache/openmediavault/archives Translation-en_US
      23. Ign:5 file:/var/cache/openmediavault/archives Translation-en_US
      24. Get:3 file:/var/cache/openmediavault/archives Packages
      25. Ign:3 file:/var/cache/openmediavault/archives Packages
      26. Get:4 file:/var/cache/openmediavault/archives Translation-en
      27. Ign:4 file:/var/cache/openmediavault/archives Translation-en
      28. Get:5 file:/var/cache/openmediavault/archives Translation-en_US
      29. Ign:5 file:/var/cache/openmediavault/archives Translation-en_US
      30. Get:3 file:/var/cache/openmediavault/archives Packages
      31. Ign:3 file:/var/cache/openmediavault/archives Packages
      32. Get:4 file:/var/cache/openmediavault/archives Translation-en
      33. Ign:4 file:/var/cache/openmediavault/archives Translation-en
      34. Get:5 file:/var/cache/openmediavault/archives Translation-en_US
      35. Ign:5 file:/var/cache/openmediavault/archives Translation-en_US
      36. Get:3 file:/var/cache/openmediavault/archives Packages
      37. Get:4 file:/var/cache/openmediavault/archives Translation-en
      38. Ign:4 file:/var/cache/openmediavault/archives Translation-en
      39. Get:5 file:/var/cache/openmediavault/archives Translation-en_US
      40. Ign:5 file:/var/cache/openmediavault/archives Translation-en_US
      41. Hit:6 http://packages.openmediavault.org/public arrakis InRelease
      42. Hit:7 https://openmediavault.github.io/packages arrakis InRelease
      43. Hit:8 http://download.mono-project.com/repo/debian stretch InRelease
      44. Ign:9 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch InRelease
      45. Hit:10 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch Release
      46. Ign:11 http://build.openvpn.net/debian/openvpn/stable jessie InRelease
      47. Hit:12 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease
      48. Hit:14 http://build.openvpn.net/debian/openvpn/stable jessie Release
      49. Traceback (most recent call last):
      50. File "/usr/sbin/omv-mkaptidx", line 35, in <module>
      51. import apt
      52. File "/usr/lib/python3/dist-packages/apt/__init__.py", line 26, in <module>
      53. from apt.package import Package
      54. File "/usr/lib/python3/dist-packages/apt/package.py", line 28, in <module>
      55. import socket
      56. File "/usr/lib/python3.5/socket.py", line 53, in <module>
      57. from enum import IntEnum
      58. File "/usr/lib/python3.5/enum.py", line 3, in <module>
      59. from types import MappingProxyType, DynamicClassAttribute
      60. File "/usr/lib/python3.5/types.py", line 166, in <module>
      61. import functools as _functools
      62. File "/usr/lib/python3.5/functools.py", line 23, in <module>
      63. from weakref import WeakKeyDictionary
      64. File "/usr/lib/python3.5/weakref.py", line 111
      65. if self is not None:
      66. ^
      67. SyntaxError: invalid syntax
      68. Reading package lists... Done
      69. root@openmediavault:/#
      Display All
    • Hi
      Rhombus (#) in the:

      Source Code

      1. cd /etc/apt/sources.list.d/
      2. nano openmediavault-local.list
      3. #deb [trusted=yes] file:/var/cache/openmediavault/archives /
      The next update should fit again
      forum-bpi.de Visit on and help us, The Germany Forum :thumbsup:
      github.com/Wolf2000Pi
      Banana Pi /Armbian 3.4.109 / Openmediavault 2.x
      Banana Pi /Armbian 4.11.5-sunxi / Openmediavault 3.0.xx (Test)
      Dell Inspiron One 2205 | Openmediavault 3.0.xx / Kernel 4.7 (Test)
    • bowe wrote:

      thexma wrote:

      thank you @Wolf2000,

      replace new lines fixed it:

      line 109: def remove(wr, selfref=ref(self)): replace with: def remove(wr, selfref=ref(self), _atomic_removal=_remove_dead_weakref):

      line 117: _remove_dead_weakref(d, wr.key) replace with: _atomic_removal(d, wr.key)


      Changed the lines 109 and 117 and got this instead.
      Has someone stumbled over this error?

      Shell-Script

      1. root@openmediavault:/# sudo apt-get update
      2. Get:1 file:/var/cache/openmediavault/archives InRelease
      3. Ign:1 file:/var/cache/openmediavault/archives InRelease
      4. Get:2 file:/var/cache/openmediavault/archives Release
      5. Ign:2 file:/var/cache/openmediavault/archives Release
      6. Get:3 file:/var/cache/openmediavault/archives Packages
      7. Ign:3 file:/var/cache/openmediavault/archives Packages
      8. Get:4 file:/var/cache/openmediavault/archives Translation-en
      9. Ign:4 file:/var/cache/openmediavault/archives Translation-en
      10. Get:5 file:/var/cache/openmediavault/archives Translation-en_US
      11. Ign:5 file:/var/cache/openmediavault/archives Translation-en_US
      12. Get:3 file:/var/cache/openmediavault/archives Packages
      13. Ign:3 file:/var/cache/openmediavault/archives Packages
      14. Get:4 file:/var/cache/openmediavault/archives Translation-en
      15. Ign:4 file:/var/cache/openmediavault/archives Translation-en
      16. Get:5 file:/var/cache/openmediavault/archives Translation-en_US
      17. Ign:5 file:/var/cache/openmediavault/archives Translation-en_US
      18. Get:3 file:/var/cache/openmediavault/archives Packages
      19. Ign:3 file:/var/cache/openmediavault/archives Packages
      20. Get:4 file:/var/cache/openmediavault/archives Translation-en
      21. Ign:4 file:/var/cache/openmediavault/archives Translation-en
      22. Get:5 file:/var/cache/openmediavault/archives Translation-en_US
      23. Ign:5 file:/var/cache/openmediavault/archives Translation-en_US
      24. Get:3 file:/var/cache/openmediavault/archives Packages
      25. Ign:3 file:/var/cache/openmediavault/archives Packages
      26. Get:4 file:/var/cache/openmediavault/archives Translation-en
      27. Ign:4 file:/var/cache/openmediavault/archives Translation-en
      28. Get:5 file:/var/cache/openmediavault/archives Translation-en_US
      29. Ign:5 file:/var/cache/openmediavault/archives Translation-en_US
      30. Get:3 file:/var/cache/openmediavault/archives Packages
      31. Ign:3 file:/var/cache/openmediavault/archives Packages
      32. Get:4 file:/var/cache/openmediavault/archives Translation-en
      33. Ign:4 file:/var/cache/openmediavault/archives Translation-en
      34. Get:5 file:/var/cache/openmediavault/archives Translation-en_US
      35. Ign:5 file:/var/cache/openmediavault/archives Translation-en_US
      36. Get:3 file:/var/cache/openmediavault/archives Packages
      37. Get:4 file:/var/cache/openmediavault/archives Translation-en
      38. Ign:4 file:/var/cache/openmediavault/archives Translation-en
      39. Get:5 file:/var/cache/openmediavault/archives Translation-en_US
      40. Ign:5 file:/var/cache/openmediavault/archives Translation-en_US
      41. Hit:6 http://packages.openmediavault.org/public arrakis InRelease
      42. Hit:7 https://openmediavault.github.io/packages arrakis InRelease
      43. Hit:8 http://download.mono-project.com/repo/debian stretch InRelease
      44. Ign:9 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch InRelease
      45. Hit:10 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch Release
      46. Ign:11 http://build.openvpn.net/debian/openvpn/stable jessie InRelease
      47. Hit:12 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease
      48. Hit:14 http://build.openvpn.net/debian/openvpn/stable jessie Release
      49. Traceback (most recent call last):
      50. File "/usr/sbin/omv-mkaptidx", line 35, in <module>
      51. import apt
      52. File "/usr/lib/python3/dist-packages/apt/__init__.py", line 26, in <module>
      53. from apt.package import Package
      54. File "/usr/lib/python3/dist-packages/apt/package.py", line 28, in <module>
      55. import socket
      56. File "/usr/lib/python3.5/socket.py", line 53, in <module>
      57. from enum import IntEnum
      58. File "/usr/lib/python3.5/enum.py", line 3, in <module>
      59. from types import MappingProxyType, DynamicClassAttribute
      60. File "/usr/lib/python3.5/types.py", line 166, in <module>
      61. import functools as _functools
      62. File "/usr/lib/python3.5/functools.py", line 23, in <module>
      63. from weakref import WeakKeyDictionary
      64. File "/usr/lib/python3.5/weakref.py", line 111
      65. if self is not None:
      66. ^
      67. SyntaxError: invalid syntax
      68. Reading package lists... Done
      69. root@openmediavault:/#
      Display All
      You have a typo in your changed code.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • votdev wrote:

      bowe wrote:

      thexma wrote:

      thank you @Wolf2000,

      replace new lines fixed it:

      line 109: def remove(wr, selfref=ref(self)): replace with: def remove(wr, selfref=ref(self), _atomic_removal=_remove_dead_weakref):

      line 117: _remove_dead_weakref(d, wr.key) replace with: _atomic_removal(d, wr.key)


      Changed the lines 109 and 117 and got this instead.
      Has someone stumbled over this error?

      Shell-Script

      1. root@openmediavault:/# sudo apt-get update
      2. Get:1 file:/var/cache/openmediavault/archives InRelease
      3. Ign:1 file:/var/cache/openmediavault/archives InRelease
      4. Get:2 file:/var/cache/openmediavault/archives Release
      5. Ign:2 file:/var/cache/openmediavault/archives Release
      6. Get:3 file:/var/cache/openmediavault/archives Packages
      7. Ign:3 file:/var/cache/openmediavault/archives Packages
      8. Get:4 file:/var/cache/openmediavault/archives Translation-en
      9. Ign:4 file:/var/cache/openmediavault/archives Translation-en
      10. Get:5 file:/var/cache/openmediavault/archives Translation-en_US
      11. Ign:5 file:/var/cache/openmediavault/archives Translation-en_US
      12. Get:3 file:/var/cache/openmediavault/archives Packages
      13. Ign:3 file:/var/cache/openmediavault/archives Packages
      14. Get:4 file:/var/cache/openmediavault/archives Translation-en
      15. Ign:4 file:/var/cache/openmediavault/archives Translation-en
      16. Get:5 file:/var/cache/openmediavault/archives Translation-en_US
      17. Ign:5 file:/var/cache/openmediavault/archives Translation-en_US
      18. Get:3 file:/var/cache/openmediavault/archives Packages
      19. Ign:3 file:/var/cache/openmediavault/archives Packages
      20. Get:4 file:/var/cache/openmediavault/archives Translation-en
      21. Ign:4 file:/var/cache/openmediavault/archives Translation-en
      22. Get:5 file:/var/cache/openmediavault/archives Translation-en_US
      23. Ign:5 file:/var/cache/openmediavault/archives Translation-en_US
      24. Get:3 file:/var/cache/openmediavault/archives Packages
      25. Ign:3 file:/var/cache/openmediavault/archives Packages
      26. Get:4 file:/var/cache/openmediavault/archives Translation-en
      27. Ign:4 file:/var/cache/openmediavault/archives Translation-en
      28. Get:5 file:/var/cache/openmediavault/archives Translation-en_US
      29. Ign:5 file:/var/cache/openmediavault/archives Translation-en_US
      30. Get:3 file:/var/cache/openmediavault/archives Packages
      31. Ign:3 file:/var/cache/openmediavault/archives Packages
      32. Get:4 file:/var/cache/openmediavault/archives Translation-en
      33. Ign:4 file:/var/cache/openmediavault/archives Translation-en
      34. Get:5 file:/var/cache/openmediavault/archives Translation-en_US
      35. Ign:5 file:/var/cache/openmediavault/archives Translation-en_US
      36. Get:3 file:/var/cache/openmediavault/archives Packages
      37. Get:4 file:/var/cache/openmediavault/archives Translation-en
      38. Ign:4 file:/var/cache/openmediavault/archives Translation-en
      39. Get:5 file:/var/cache/openmediavault/archives Translation-en_US
      40. Ign:5 file:/var/cache/openmediavault/archives Translation-en_US
      41. Hit:6 http://packages.openmediavault.org/public arrakis InRelease
      42. Hit:7 https://openmediavault.github.io/packages arrakis InRelease
      43. Hit:8 http://download.mono-project.com/repo/debian stretch InRelease
      44. Ign:9 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch InRelease
      45. Hit:10 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch Release
      46. Ign:11 http://build.openvpn.net/debian/openvpn/stable jessie InRelease
      47. Hit:12 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease
      48. Hit:14 http://build.openvpn.net/debian/openvpn/stable jessie Release
      49. Traceback (most recent call last):
      50. File "/usr/sbin/omv-mkaptidx", line 35, in <module>
      51. import apt
      52. File "/usr/lib/python3/dist-packages/apt/__init__.py", line 26, in <module>
      53. from apt.package import Package
      54. File "/usr/lib/python3/dist-packages/apt/package.py", line 28, in <module>
      55. import socket
      56. File "/usr/lib/python3.5/socket.py", line 53, in <module>
      57. from enum import IntEnum
      58. File "/usr/lib/python3.5/enum.py", line 3, in <module>
      59. from types import MappingProxyType, DynamicClassAttribute
      60. File "/usr/lib/python3.5/types.py", line 166, in <module>
      61. import functools as _functools
      62. File "/usr/lib/python3.5/functools.py", line 23, in <module>
      63. from weakref import WeakKeyDictionary
      64. File "/usr/lib/python3.5/weakref.py", line 111
      65. if self is not None:
      66. ^
      67. SyntaxError: invalid syntax
      68. Reading package lists... Done
      69. root@openmediavault:/#
      Display All
      You have a typo in your changed code.
      Didnt see that, thanks mate! all good now
    • Hi, I have OMV 4.1.4, and still got this error after apt-get update:

      Source Code

      1. Hit:23 https://dl.bintray.com/openmediavault-plugin-developers/arrakis-docker stretch Release
      2. Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f2675ffa730>
      3. Traceback (most recent call last):
      4. File "/usr/lib/python3.5/weakref.py", line 117, in remove
      5. TypeError: 'NoneType' object is not callable
      6. Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f2675ffa730>
      7. Traceback (most recent call last):
      8. File "/usr/lib/python3.5/weakref.py", line 117, in remove
      9. TypeError: 'NoneType' object is not callable
      Shouldn't it be fixed? Or do I need to manually edit the line?
      Intel G4400 - Asrock H170M Pro4S - 8GB ram - 2x4TB WD RED in RAID1 - ZFS Mirror 2x6TB Seagate Ironwolf
      OMV 4.1.4 - Kernel 4.14 backport 3 - omvextrasorg 4.1.2
    • If you search the forum, there is a thread about this and how to fix if you want. Otherwise, it is harmless.
      omv 4.1.6 arrakis | 64 bit | 4.16 backports kernel | omvextrasorg 4.1.7
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • New

      upgrade worked but now NFS is failing.
      Error #0:OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl start 'nfs-kernel-server' 2>&1' with exit code '1': A dependency job for nfs-server.service failed. See 'journalctl -xe' for details. in /usr/share/php/openmediavault/system/process.inc:175Stack trace:#0 /usr/share/php/openmediavault/system/systemctl.inc(86): OMV\System\Process->execute(Array, 1)#1 /usr/share/php/openmediavault/system/systemctl.inc(104): OMV\System\SystemCtl->exec('start', NULL, false)#2 /usr/share/openmediavault/engined/module/nfs.inc(71): OMV\System\SystemCtl->enable(true)#3 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleNfs->startService()#4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatus4X...', '/tmp/bgoutputTp...')#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))#9 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)#10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)#11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#12 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)#13 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)#14 {main}
    • New

      Hello,

      After the distrib upgrade (omv 3 --> omv4) i have this error (cf screenshot) i have try the solution of @Wolf2000 but no changes, i have an another message error ...

      can you help me?

      Thanks


      EDIT : I don't understand the text of message of wolf, sorry for this message (if you can delete this please delete :) )

      The post was edited 1 time, last by Moreno ().

    • Upgrade Debian 9 and 4.x

      New

      I would read everything then you understand it

      Gesendet von meinem SM-G935F mit Tapatalk
      forum-bpi.de Visit on and help us, The Germany Forum :thumbsup:
      github.com/Wolf2000Pi
      Banana Pi /Armbian 3.4.109 / Openmediavault 2.x
      Banana Pi /Armbian 4.11.5-sunxi / Openmediavault 3.0.xx (Test)
      Dell Inspiron One 2205 | Openmediavault 3.0.xx / Kernel 4.7 (Test)