Updates Check fails; also apt-get update fails

    • OMV 3.x

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

    • Updates Check fails; also apt-get update fails

      Somewhere along the line something get hosed, I think.

      Maybe the best place to start is failing apt-get update (see attached)

      Also Updates Check fails:

      Source Code

      1. Error #0:
      2. exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; apt-get update 2>&1' with exit code '100': 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. Err:2 file:/var/cache/openmediavault/archives Release
      6. File not found - /var/cache/openmediavault/archives/Release (2: No such file or directory)
      7. Ign:3 http://ftp.us.debian.org/debian jessie InRelease
      8. Hit:4 http://ftp.us.debian.org/debian jessie-updates InRelease
      9. Ign:5 http://dl.google.com/linux/chrome/deb stable InRelease
      10. Hit:6 https://apt.dockerproject.org/repo debian-jessie InRelease
      11. Hit:7 http://ftp.us.debian.org/debian sid InRelease
      12. Ign:8 http://pkg.tarsnap.com/deb/jessie ./ InRelease
      13. Hit:9 http://ftp.us.debian.org/debian jessie Release
      14. Hit:10 http://pkg.tarsnap.com/deb/jessie ./ Release
      15. Hit:11 http://security.debian.org jessie/updates InRelease
      16. Hit:12 http://ppa.launchpad.net/jcfp/sab-addons/ubuntu bionic InRelease
      17. Ign:13 https://dl.bintray.com/openmediavault-plugin-developers/erasmus jessie InRelease
      18. Ign:16 http://dl.google.com/linux/chrome-remote-desktop/deb stable InRelease
      19. Ign:17 https://dl.bintray.com/openmediavault-plugin-developers/erasmus-plex jessie InRelease
      20. Ign:18 https://downloads.plex.tv/repo/deb ./public InRelease
      21. Hit:20 http://packages.openmediavault.org/public erasmus InRelease
      22. Hit:21 http://dl.google.com/linux/chrome/deb stable Release
      23. Ign:22 https://dl.bintray.com/openmediavault-plugin-developers/erasmus-docker jessie InRelease
      24. Hit:14 http://cdn-fastly.deb.debian.org/debian jessie-backports InRelease
      25. Get:23 https://dl.bintray.com/openmediavault-plugin-developers/erasmus jessie Release [5212 B]
      26. Err:20 http://packages.openmediavault.org/public erasmus InRelease
      27. The following signatures were invalid: 0F6BCC17C26BFADC27F221007E7A6C592EF35D13
      28. Get:25 https://dl.bintray.com/openmediavault-plugin-developers/erasmus-plex jessie Release [4363 B]
      29. Err:26 https://downloads.plex.tv/repo/deb ./public Release
      30. 404 Not Found [IP: 104.18.156.41 443]
      31. Hit:27 http://dl.google.com/linux/chrome-remote-desktop/deb stable Release
      32. Get:29 https://dl.bintray.com/openmediavault-plugin-developers/erasmus-docker jessie Release [2689 B]
      33. Ign:33 http://www.scootersoftware.com bcompare4 InRelease
      34. Hit:34 http://www.scootersoftware.com bcompare4 Release
      35. Traceback (most recent call last):
      36. File "/usr/sbin/omv-mkaptidx", line 110, in <module>
      37. "md5sum": pkg.candidate.md5,
      38. File "/usr/lib/python3/dist-packages/apt/package.py", line 758, in md5
      39. return self._records.md5_hash
      40. UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc0 in position 0: invalid start byte
      41. Reading package lists...
      42. E: The repository 'file:/var/cache/openmediavault/archives Release' does not have a Release file.
      43. W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://packages.openmediavault.org/public erasmus InRelease: The following signatures were invalid: 0F6BCC17C26BFADC27F221007E7A6C592EF35D13
      44. W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:21 and /etc/apt/sources.list.d/google-chrome.list:3
      45. W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:21 and /etc/apt/sources.list.d/google-chrome.list:3
      46. W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:21 and /etc/apt/sources.list.d/google-chrome.list:3
      47. E: The repository 'https://downloads.plex.tv/repo/deb ./public Release' no longer has a Release file.
      48. W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:21 and /etc/apt/sources.list.d/google-chrome.list:3
      49. W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:21 and /etc/apt/sources.list.d/google-chrome.list:3
      50. W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:21 and /etc/apt/sources.list.d/google-chrome.list:3' in /usr/share/openmediavault/engined/rpc/apt.inc:218
      51. Stack trace:
      52. #0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(528): OMVRpcServiceApt->{closure}('/tmp/bgstatusIj...', '/tmp/bgoutputFj...')
      53. #1 /usr/share/openmediavault/engined/rpc/apt.inc(222): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      54. #2 [internal function]: OMVRpcServiceApt->update(NULL, Array)
      55. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
      56. #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('update', NULL, Array)
      57. #5 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Apt', 'update', NULL, Array, 1)
      58. #6 {main}
      Display All
      My hunch is there's something corrupt causing both errors.


      Thanks,
      Mark M.
      Files

      The post was edited 1 time, last by markmarz: <Edited to fix file references which were boxed). ().

    • Can't nail dates, but both errors are within the past week or two. I think I hosed something with some failed or dubious non-omv supported apt-get installs (such as google-chrome).

      root@openmediavault:/etc/apt# cat sources.list
      #

      # deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170731-21:43]/ jessie contrib main non-free

      # deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170731-21:43]/ jessie contrib main non-free

      deb ftp.us.debian.org/debian/ jessie main
      deb-src ftp.us.debian.org/debian/ jessie main

      deb security.debian.org/ jessie/updates main contrib non-free
      deb-src security.debian.org/ jessie/updates main contrib non-free

      # jessie-updates, previously known as 'volatile'
      deb ftp.us.debian.org/debian/ jessie-updates main contrib non-free
      deb-src ftp.us.debian.org/debian/ jessie-updates main contrib non-free

      # packages.debian.org/sid/amd64/p7zip-full/download
      deb ftp.us.debian.org/debian/ sid main

      # linuxbabe.com/desktop-linux/ho…me-on-debian-the-easy-way
      deb dl.google.com/linux/chrome/deb/ stable main

      root@openmediavault:/etc/apt#
    • For one, the same chrome repo is in two files - /etc/apt/sources.list and /etc/apt/sources.list.d/google-chrome.list.
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • How do I best fix that? And how did you know?

      Also, I'm wondering whether there's some file corruption. For instance, the failed apt-get update shows:

      Get:34 dl.bintray.com/openmediavault-…developers/erasmus-docker jessie Release [2,689 B]
      Traceback (most recent call last):
      File "/usr/sbin/omv-mkaptidx", line 110, in <module>
      "md5sum": pkg.candidate.md5,
      File "/usr/lib/python3/dist-packages/apt/package.py", line 758, in md5
      return self._records.md5_hash
      UnicodeDecodeError: 'utf-8' codec can't decode byte 0xaa in position 2: invalid start byte
      Reading package lists... Done
    • markmarz wrote:

      How do I best fix that?
      Remove the chrome line from /etc/apt/sources.list. nano /etc/apt/sources.list, ctrl-o to save, ctrl-x to exit

      markmarz wrote:

      And how did you know?
      Your output on your first post says it is configured multiple times.

      markmarz wrote:

      Also, I'm wondering whether there's some file corruption.
      This is a known python bug that doesn't cause any problems. There is a thread about it somewhere.
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Thanks!

      Still failing apt-get update & Updates->Check. Common error (warning?) between them I can see is:

      E: The repository 'file:/var/cache/openmediavault/archives 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.
      E: The repository 'https://downloads.plex.tv/repo/deb ./public Release' no longer has 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.
      W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: packages.openmediavault.org/public erasmus InRelease: The following signatures were invalid: 0F6BCC17C26BFADC27F221007E7A6C592EF35D13



      ---

      Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; apt-get update 2>&1' with exit code '100': Get:1 file:/var/cache/openmediavault/archives InRelease Ign:1 file:/var/cache/openmediavault/archives InRelease Get:2 file:/var/cache/openmediavault/archives Release Err:2 file:/var/cache/openmediavault/archives Release File not found - /var/cache/openmediavault/archives/Release (2: No such file or directory) Hit:3 security.debian.org jessie/updates InRelease Ign:4 ftp.us.debian.org/debian jessie InRelease Hit:5 ftp.us.debian.org/debian jessie-updates InRelease Hit:6 ftp.us.debian.org/debian sid InRelease Ign:7 pkg.tarsnap.com/deb/jessie ./ InRelease Ign:8 dl.google.com/linux/chrome-remote-desktop/deb stable InRelease Hit:9 ftp.us.debian.org/debian jessie Release Ign:10 downloads.plex.tv/repo/deb ./public InRelease Ign:11 scootersoftware.com bcompare4 InRelease Hit:12 apt.dockerproject.org/repo debian-jessie InRelease Err:13 downloads.plex.tv/repo/deb ./public Release 404 Not Found [IP: 104.18.157.41 443] Hit:14 pkg.tarsnap.com/deb/jessie ./ Release Hit:15 scootersoftware.com bcompare4 Release Hit:16 ppa.launchpad.net/jcfp/sab-addons/ubuntu bionic InRelease Ign:17 dl.bintray.com/openmediavault-plugin-developers/erasmus jessie InRelease Ign:20 dl.bintray.com/openmediavault-plugin-developers/erasmus-plex jessie InRelease Ign:21 dl.google.com/linux/chrome/deb stable InRelease Hit:18 cdn-fastly.deb.debian.org/debian jessie-backports InRelease Ign:22 dl.bintray.com/openmediavault-…developers/erasmus-docker jessie InRelease Hit:23 packages.openmediavault.org/public erasmus InRelease Hit:25 dl.google.com/linux/chrome-remote-desktop/deb stable Release Get:27 dl.bintray.com/openmediavault-plugin-developers/erasmus jessie Release [5212 B] Get:28 dl.bintray.com/openmediavault-plugin-developers/erasmus-plex jessie Release [4363 B] Err:23 packages.openmediavault.org/public erasmus InRelease The following signatures were invalid: 0F6BCC17C26BFADC27F221007E7A6C592EF35D13 Get:30 dl.bintray.com/openmediavault-…developers/erasmus-docker jessie Release [2689 B] Hit:31 dl.google.com/linux/chrome/deb stable Release Traceback (most recent call last): File "/usr/sbin/omv-mkaptidx", line 110, in <module> "md5sum": pkg.candidate.md5, File "/usr/lib/python3/dist-packages/apt/package.py", line 758, in md5 return self._records.md5_hash UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in position 0: invalid continuation byte Reading package lists...
      E: The repository 'file:/var/cache/openmediavault/archives Release' does not have a Release file. E: The repository 'https://downloads.plex.tv/repo/deb ./public Release' no longer has a Release file. W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: packages.openmediavault.org/public erasmus InRelease: The following signatures were invalid: 0F6BCC17C26BFADC27F221007E7A6C592EF35D13
    • This should fix one issue but it sure seems like some of your packages were upgraded to a different version (probably from one of those repos you enabled) because these look more like OMV 4.x/Debian stretch messages.

      Try: echo 'deb [trusted=yes] file:/var/cache/openmediavault/archives /' > /etc/apt/sources.list.d/openmediavault-local.list

      What is the output of:

      dpkg -l | grep openm
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Seems you may have a few plugins or other things installed. Here is how I might try to trouble shoot this. Test after each step.
      1. apt-get clean all
      2. In /etc/apt/sources.list.dchange the names to xxxx.list to xxxx.list.bak
      3. Change back to xxxx.list one at a time and test.
      4. Post the content of the one that fails.
      If you make it idiot proof, somebody will build a better idiot.
    • ryecoaaron:

      Source Code

      1. root@openmediavault:/etc/apt/sources.list.d# dpkg -l | grep openm
      2. ii openmediavault 3.0.89 all Open network attached storage solution
      3. ii openmediavault-docker-gui 3.1.9 amd64 OpenMediaVault plugin for Docker
      4. ii openmediavault-flashmemory 3.5 all folder2ram plugin for OpenMediaVault
      5. ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
      6. ii openmediavault-omvextrasorg 3.4.26 all OMV-Extras.org Package Repositories for OpenMediaVault
      7. ii openmediavault-plexmediaserver 3.8.1 all OpenMediaVault Plex Media Server plugin
      8. ii openmediavault-sabnzbd 3.2.3 all SABnzbd plugin for OpenMediaVault.
      9. ii openmediavault-unionfilesystems 3.1.17 all Union filesystems plugin for OpenMediaVault.
      10. root@openmediavault:/etc/apt/sources.list.d#
      donh:

      One of the files in /etc/apt/sources.list is for Plex. Changing it's name even temporarily won't hurt Plex, right?

      root@openmediavault:/etc/apt/sources.list.d# ls -l
      total 72
      -rw-r--r-- 1 root root 204 Apr 3 11:21 chrome-remote-desktop.list
      -rw-r--r-- 1 root root 204 Apr 3 11:02 chrome-remote-desktop.list.save
      -rw-r--r-- 1 root root 189 Apr 4 08:35 google-chrome.list
      -rw-r--r-- 1 root root 134 Apr 3 11:02 jcfp-ubuntu-sab-addons-bionic.list
      -rw-rw-rw- 1 root root 459 Apr 3 11:02 omv-extras-org.list
      -rw-rw-rw- 1 root root 459 Apr 3 11:02 omv-extras-org.list.save
      -rw-r--r-- 1 root root 78 Apr 3 11:02 openmediavault-kernel-backports.list
      -rw-r--r-- 1 root root 78 Apr 3 11:02 openmediavault-kernel-backports.list.save
      -rw-r--r-- 1 root root 59 Apr 3 11:02 openmediavault.list
      -rw-r--r-- 1 root root 59 Apr 3 11:02 openmediavault.list.save
      -rw-r--r-- 1 root root 60 Apr 12 13:15 openmediavault-local.list
      -rw-r--r-- 1 root root 45 Apr 3 11:02 openmediavault-local.list.save
      -rw-r--r-- 1 root root 227 Apr 3 11:02 plexmediaserver.list
      -rw-r--r-- 1 root root 226 Apr 3 11:02 plexmediaserver.list.save
      -rw-r--r-- 1 root root 55 Apr 3 11:21 scootersoftware.list
      -rw-r--r-- 1 root root 55 Apr 3 11:02 scootersoftware.list.save
      -rw-r--r-- 1 root root 41 Apr 3 11:02 tarsnap.list
      -rw-r--r-- 1 root root 41 Apr 3 11:02 tarsnap.list.save
      root@openmediavault:/etc/apt/sources.list.d#


      Wait a sec .. there doesn't appear to be anything except comments in plexmediaserver.list:

      root@openmediavault:/etc/apt/sources.list.d# cat plexmediaserver.list
      # When enabling this repo please remember to add the PlexPublic.Key into the apt setup.
      # wget -q downloads.plex.tv/plex-keys/PlexSign.key -O - | sudo apt-key add -
      # deb downloads.plex.tv/repo/deb/ public main
      root@openmediavault:/etc/apt/sources.list.d#


      Might there be a connection between that and the apt-get update error?

      E: The repository 'https://downloads.plex.tv/repo/deb ./public Release' no longer has a Release file.
      N: Updating from such a repository can't be done securely, and is therefore disabled by default.


      ?
    • As a note, you generally don't want to modify the sources.list as above, this is called making a "frakendebian". You can get chromium from the debian repositories and given the whole PI data kerfuffle going on in the US you'd probably do well to start migrating away from that software!

      But yeah, be careful editing sources.list! Often times it should be safer to build from source. A dead giveaway that you borked something is seeing a ton of packages get updated when adding a repository to your sources. Best of luck.
      :cursing: Intel NUC Kit DE3815TYKHE My NAS build / ARK
      Atom E3815 1.46GHz4GB RAM • 1TB SSHD • 4GB eMMC
      OMV 3.x | OMV-Extras | Flash Memory | Pi-hole

      RPi/3 №1: LibreElec 8.xRPi/3 №2: SickRage, PiVPN, noip2
    • donh:

      Okay, I will do as you suggest, with test being apt-get update rather than Updates->Check (though I suppose it makes no difference). Definitely will avoid Updates->Upgrade till no more errors.

      drinks2go:

      Thank you for your insight and advice! If all this goes south I imagine it shouldn't be a big deal to just do a fresh install of 3.x. I've been thinking about moving boot off the USB flash drive onto an actual SSD anyway; maybe this would be a good time to do that. Or not. Hah-hah!

      I use OMV to host Plex and a Squeezebox server. It was rather tricky to move from 2.x to 3.x because fstab was changed and that affected the Plex metadata configuration. But now that labels are used for drives I don't expect a fresh install of 3.x would be difficult.
    • Errors raised when omv-extras-org.list enabled.

      What can I do to fix that?

      --- test doc:
      Original list of *list in /etc/apt/sources.list.d:
      root@openmediavault:/etc/apt/sources.list.d# ls -l *list
      -rw-r--r-- 1 root root 204 Apr 3 11:21 chrome-remote-desktop.list
      -rw-r--r-- 1 root root 189 Apr 4 08:35 google-chrome.list
      -rw-r--r-- 1 root root 134 Apr 3 11:02 jcfp-ubuntu-sab-addons-bionic.list
      -rw-rw-rw- 1 root root 459 Apr 3 11:02 omv-extras-org.list
      -rw-r--r-- 1 root root 78 Apr 3 11:02 openmediavault-kernel-backports.list
      -rw-r--r-- 1 root root 59 Apr 3 11:02 openmediavault.list
      -rw-r--r-- 1 root root 60 Apr 12 13:15 openmediavault-local.list
      -rw-r--r-- 1 root root 227 Apr 3 11:02 plexmediaserver.list
      -rw-r--r-- 1 root root 55 Apr 3 11:21 scootersoftware.list
      -rw-r--r-- 1 root root 41 Apr 3 11:02 tarsnap.list
      root@openmediavault:/etc/apt/sources.list.d#


      Renamed all *list to *bak, ran apt-get update & Updates->Check with no errors (except for constant errors because of known Python bug mentioned by ryecoaaron).

      Began renaming *bak to *list one by one, no errors until renamed omv-extras-org. After that errors in both apt-get update & Updates->Check:
      root@openmediavault:/etc/apt/sources.list.d# ls -l *list
      -rw-r--r-- 1 root root 204 Apr 3 11:21 chrome-remote-desktop.list
      -rw-r--r-- 1 root root 189 Apr 4 08:35 google-chrome.list
      -rw-r--r-- 1 root root 134 Apr 3 11:02 jcfp-ubuntu-sab-addons-bionic.list
      -rw-rw-rw- 1 root root 459 Apr 3 11:02 omv-extras-org.list
      root@openmediavault:/etc/apt/sources.list.d# apt-get update
      Hit:1 security.debian.org jessie/updates InRelease
      Ign:2 dl.google.com/linux/chrome-remote-desktop/deb stable InRelease
      Ign:3 dl.google.com/linux/chrome/deb stable InRelease
      Get:4 apt.dockerproject.org/repo debian-jessie InRelease [48.7 kB]
      Hit:5 dl.google.com/linux/chrome-remote-desktop/deb stable Release
      Hit:6 ppa.launchpad.net/jcfp/sab-addons/ubuntu bionic InRelease
      Ign:7 dl.bintray.com/openmediavault-plugin-developers/erasmus jessie InRelease
      Hit:9 dl.google.com/linux/chrome/deb stable Release
      Ign:10 dl.bintray.com/openmediavault-plugin-developers/erasmus-plex jessie InRelease
      Get:11 apt.dockerproject.org/repo debian-jessie/main amd64 Packages [6,892 B]
      Ign:12 downloads.plex.tv/repo/deb ./public InRelease
      Ign:13 dl.bintray.com/openmediavault-…developers/erasmus-docker jessie InRelease
      Get:15 dl.bintray.com/openmediavault-plugin-developers/erasmus jessie Release [5,212 B]
      Get:16 dl.bintray.com/openmediavault-plugin-developers/erasmus-plex jessie Release [4,363 B]
      Err:17 downloads.plex.tv/repo/deb ./public Release
      404 Not Found [IP: 104.18.156.41 443]
      Get:18 dl.bintray.com/openmediavault-…developers/erasmus-docker jessie Release [2,689 B]
      Get:19 dl.bintray.com/openmediavault-plugin-developers/erasmus jessie Release.gpg [821 B]
      Ign:20 ftp.us.debian.org/debian jessie InRelease
      Hit:21 ftp.us.debian.org/debian jessie-updates InRelease
      Get:22 dl.bintray.com/openmediavault-plugin-developers/erasmus-plex jessie Release.gpg [821 B]
      Hit:23 ftp.us.debian.org/debian sid InRelease
      Hit:24 ftp.us.debian.org/debian jessie Release
      Get:25 dl.bintray.com/openmediavault-…developers/erasmus-docker jessie Release.gpg [821 B]
      Get:26 dl.bintray.com/openmediavault-plugin-developers/erasmus jessie/main i386 Packages [32.8 kB]
      Get:28 dl.bintray.com/openmediavault-plugin-developers/erasmus jessie/main amd64 Packages [35.7 kB]
      Get:29 dl.bintray.com/openmediavault-plugin-developers/erasmus-plex jessie/main amd64 Packages [1,867 B]
      Get:30 dl.bintray.com/openmediavault-plugin-developers/erasmus-plex jessie/main i386 Packages [1,867 B]
      Get:31 dl.bintray.com/openmediavault-…developers/erasmus-docker jessie/main amd64 Packages [619 B]
      Traceback (most recent call last):
      File "/usr/sbin/omv-mkaptidx", line 110, in <module>
      "md5sum": pkg.candidate.md5,
      File "/usr/lib/python3/dist-packages/apt/package.py", line 758, in md5
      return self._records.md5_hash
      UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 0: invalid start byte
      Reading package lists... Done

      *****************************************************************************************************
      E: The repository 'https://downloads.plex.tv/repo/deb ./public 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:/etc/apt/sources.list.d#

      Then resumed renaming one by one and encountered no additional errors.

      Thanks,
      Mark
    • markmarz wrote:

      Errors raised when omv-extras-org.list enabled.
      It isn't enabling the list that causes the problem. It is one repo inside it. From your output, it is plex. Disable plex in the omv-extras plugin in the web interface.
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Before I continue with your suggestion, I need to say that after double-checking my saved test results, I see that there was an additional error raised when I enabled openmediavault.list that I hadn't noticed:

      Source Code

      1. root@openmediavault:/etc/apt/sources.list.d# ls -l *list
      2. -rw-r--r-- 1 root root 204 Apr 3 11:21 chrome-remote-desktop.list
      3. -rw-r--r-- 1 root root 189 Apr 4 08:35 google-chrome.list
      4. -rw-r--r-- 1 root root 134 Apr 3 11:02 jcfp-ubuntu-sab-addons-bionic.list
      5. -rw-rw-rw- 1 root root 459 Apr 3 11:02 omv-extras-org.list
      6. -rw-r--r-- 1 root root 78 Apr 3 11:02 openmediavault-kernel-backports.list
      7. -rw-r--r-- 1 root root 59 Apr 3 11:02 openmediavault.list
      8. root@openmediavault:/etc/apt/sources.list.d# apt-get update
      9. Hit:1 http://security.debian.org jessie/updates InRelease
      10. Ign:2 http://ftp.us.debian.org/debian jessie InRelease
      11. Ign:3 http://dl.google.com/linux/chrome-remote-desktop/deb stable InRelease
      12. Ign:4 https://downloads.plex.tv/repo/deb ./public InRelease
      13. Err:5 https://downloads.plex.tv/repo/deb ./public Release
      14. 404 Not Found [IP: 104.18.157.41 443]
      15. Hit:6 http://ftp.us.debian.org/debian jessie-updates InRelease
      16. Hit:7 http://ftp.us.debian.org/debian sid InRelease
      17. Hit:9 https://apt.dockerproject.org/repo debian-jessie InRelease
      18. Hit:10 http://ftp.us.debian.org/debian jessie Release
      19. Hit:11 http://ppa.launchpad.net/jcfp/sab-addons/ubuntu bionic InRelease
      20. Hit:8 http://cdn-fastly.deb.debian.org/debian jessie-backports InRelease
      21. Ign:13 http://dl.google.com/linux/chrome/deb stable InRelease
      22. Ign:14 https://dl.bintray.com/openmediavault-plugin-developers/erasmus jessie InRelease
      23. Hit:15 http://dl.google.com/linux/chrome-remote-desktop/deb stable Release
      24. Ign:16 https://dl.bintray.com/openmediavault-plugin-developers/erasmus-plex jessie InRelease
      25. Get:18 http://packages.openmediavault.org/public erasmus InRelease [14.8 kB]
      26. Ign:19 https://dl.bintray.com/openmediavault-plugin-developers/erasmus-docker jessie InRelease
      27. Hit:20 http://dl.google.com/linux/chrome/deb stable Release
      28. Get:21 https://dl.bintray.com/openmediavault-plugin-developers/erasmus jessie Release [5,212 B]
      29. *****************************************************************************************************
      30. Err:18 http://packages.openmediavault.org/public erasmus InRelease
      31. The following signatures were invalid: 0F6BCC17C26BFADC27F221007E7A6C592EF35D13
      32. Get:24 https://dl.bintray.com/openmediavault-plugin-developers/erasmus-plex jessie Release [4,363 B]
      33. Get:26 https://dl.bintray.com/openmediavault-plugin-developers/erasmus-docker jessie Release [2,689 B]
      34. Traceback (most recent call last):
      35. File "/usr/sbin/omv-mkaptidx", line 110, in <module>
      36. "md5sum": pkg.candidate.md5,
      37. File "/usr/lib/python3/dist-packages/apt/package.py", line 758, in md5
      38. return self._records.md5_hash
      39. UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc0 in position 0: invalid start byte
      40. Reading package lists... Done
      41. *****************************************************************************************************
      Display All


      This same invalid signature error is also raised after I disabled the Plex repo in omv-extras as you suggested. Is there some other repository I need to disable?

      Here's the apt-get update output after disabling Plex repo but without a fix to invalid signature error above:


      Source Code

      1. root@openmediavault:/etc/apt/sources.list.d# ls -l
      2. total 72
      3. -rw-r--r-- 1 root root 204 Apr 3 11:21 chrome-remote-desktop.list
      4. -rw-r--r-- 1 root root 204 Apr 3 11:02 chrome-remote-desktop.list.save
      5. -rw-r--r-- 1 root root 189 Apr 4 08:35 google-chrome.list
      6. -rw-r--r-- 1 root root 134 Apr 3 11:02 jcfp-ubuntu-sab-addons-bionic.list
      7. -rw-rw-rw- 1 root root 302 Apr 13 14:40 omv-extras-org.list
      8. -rw-rw-rw- 1 root root 459 Apr 3 11:02 omv-extras-org.list.save
      9. -rw-r--r-- 1 root root 78 Apr 3 11:02 openmediavault-kernel-backports.list
      10. -rw-r--r-- 1 root root 78 Apr 3 11:02 openmediavault-kernel-backports.list.save
      11. -rw-r--r-- 1 root root 59 Apr 3 11:02 openmediavault.list
      12. -rw-r--r-- 1 root root 59 Apr 3 11:02 openmediavault.list.save
      13. -rw-r--r-- 1 root root 60 Apr 12 13:15 openmediavault-local.list
      14. -rw-r--r-- 1 root root 45 Apr 3 11:02 openmediavault-local.list.save
      15. -rw-r--r-- 1 root root 227 Apr 3 11:02 plexmediaserver.list
      16. -rw-r--r-- 1 root root 226 Apr 3 11:02 plexmediaserver.list.save
      17. -rw-r--r-- 1 root root 55 Apr 3 11:21 scootersoftware.list
      18. -rw-r--r-- 1 root root 55 Apr 3 11:02 scootersoftware.list.save
      19. -rw-r--r-- 1 root root 41 Apr 3 11:02 tarsnap.list
      20. -rw-r--r-- 1 root root 41 Apr 3 11:02 tarsnap.list.save
      21. root@openmediavault:/etc/apt/sources.list.d# apt-get update
      22. Get:1 file:/var/cache/openmediavault/archives InRelease
      23. Ign:1 file:/var/cache/openmediavault/archives InRelease
      24. Get:2 file:/var/cache/openmediavault/archives Release
      25. Ign:2 file:/var/cache/openmediavault/archives Release
      26. Get:3 file:/var/cache/openmediavault/archives Packages
      27. Ign:3 file:/var/cache/openmediavault/archives Packages
      28. Get:4 file:/var/cache/openmediavault/archives Translation-en_US
      29. Ign:4 file:/var/cache/openmediavault/archives Translation-en_US
      30. Get:5 file:/var/cache/openmediavault/archives Translation-en
      31. Ign:5 file:/var/cache/openmediavault/archives Translation-en
      32. Get:3 file:/var/cache/openmediavault/archives Packages
      33. Ign:3 file:/var/cache/openmediavault/archives Packages
      34. Get:4 file:/var/cache/openmediavault/archives Translation-en_US
      35. Ign:4 file:/var/cache/openmediavault/archives Translation-en_US
      36. Get:5 file:/var/cache/openmediavault/archives Translation-en
      37. Ign:5 file:/var/cache/openmediavault/archives Translation-en
      38. Get:3 file:/var/cache/openmediavault/archives Packages
      39. Ign:3 file:/var/cache/openmediavault/archives Packages
      40. Get:4 file:/var/cache/openmediavault/archives Translation-en_US
      41. Ign:4 file:/var/cache/openmediavault/archives Translation-en_US
      42. Get:5 file:/var/cache/openmediavault/archives Translation-en
      43. Ign:5 file:/var/cache/openmediavault/archives Translation-en
      44. Get:3 file:/var/cache/openmediavault/archives Packages
      45. Ign:3 file:/var/cache/openmediavault/archives Packages
      46. Get:4 file:/var/cache/openmediavault/archives Translation-en_US
      47. Ign:4 file:/var/cache/openmediavault/archives Translation-en_US
      48. Get:5 file:/var/cache/openmediavault/archives Translation-en
      49. Ign:5 file:/var/cache/openmediavault/archives Translation-en
      50. Get:3 file:/var/cache/openmediavault/archives Packages
      51. Ign:3 file:/var/cache/openmediavault/archives Packages
      52. Get:4 file:/var/cache/openmediavault/archives Translation-en_US
      53. Ign:4 file:/var/cache/openmediavault/archives Translation-en_US
      54. Get:5 file:/var/cache/openmediavault/archives Translation-en
      55. Ign:5 file:/var/cache/openmediavault/archives Translation-en
      56. Get:3 file:/var/cache/openmediavault/archives Packages [1,088 B]
      57. Get:4 file:/var/cache/openmediavault/archives Translation-en_US
      58. Ign:4 file:/var/cache/openmediavault/archives Translation-en_US
      59. Get:5 file:/var/cache/openmediavault/archives Translation-en
      60. Ign:5 file:/var/cache/openmediavault/archives Translation-en
      61. Hit:6 http://security.debian.org jessie/updates InRelease
      62. Ign:7 http://dl.google.com/linux/chrome-remote-desktop/deb stable InRelease
      63. Ign:8 http://ftp.us.debian.org/debian jessie InRelease
      64. Ign:9 http://pkg.tarsnap.com/deb/jessie ./ InRelease
      65. Hit:10 http://ftp.us.debian.org/debian jessie-updates InRelease
      66. Ign:11 http://dl.google.com/linux/chrome/deb stable InRelease
      67. Ign:12 http://www.scootersoftware.com bcompare4 InRelease
      68. Hit:13 http://pkg.tarsnap.com/deb/jessie ./ Release
      69. Hit:14 http://ftp.us.debian.org/debian sid InRelease
      70. Hit:15 https://apt.dockerproject.org/repo debian-jessie InRelease
      71. Hit:16 http://ftp.us.debian.org/debian jessie Release
      72. Hit:17 http://www.scootersoftware.com bcompare4 Release
      73. Hit:19 http://ppa.launchpad.net/jcfp/sab-addons/ubuntu bionic InRelease
      74. Ign:20 https://dl.bintray.com/openmediavault-plugin-developers/erasmus jessie InRelease
      75. Ign:21 https://dl.bintray.com/openmediavault-plugin-developers/erasmus-docker jessie InRelease
      76. Hit:23 http://dl.google.com/linux/chrome-remote-desktop/deb stable Release
      77. Get:26 https://dl.bintray.com/openmediavault-plugin-developers/erasmus jessie Release [5,212 B]
      78. Hit:27 http://dl.google.com/linux/chrome/deb stable Release
      79. Get:24 http://packages.openmediavault.org/public erasmus InRelease [14.8 kB]
      80. Get:30 https://dl.bintray.com/openmediavault-plugin-developers/erasmus-docker jessie Release [2,689 B]
      81. Hit:28 http://cdn-fastly.deb.debian.org/debian jessie-backports InRelease
      82. Err:24 http://packages.openmediavault.org/public erasmus InRelease
      83. The following signatures were invalid: 0F6BCC17C26BFADC27F221007E7A6C592EF35D13
      84. Traceback (most recent call last):
      85. File "/usr/sbin/omv-mkaptidx", line 110, in <module>
      86. "md5sum": pkg.candidate.md5,
      87. File "/usr/lib/python3/dist-packages/apt/package.py", line 758, in md5
      88. return self._records.md5_hash
      89. UnicodeDecodeError: 'utf-8' codec can't decode byte 0xee in position 1: invalid continuation byte
      90. Reading package lists... Done
      91. W: GPG error: http://packages.openmediavault.org/public erasmus InRelease: The following signatures were invalid: 0F6BCC17C26BFADC27F221007E7A6C592EF35D13
      92. E: The repository 'http://packages.openmediavault.org/public erasmus InRelease' is not signed.
      93. N: Updating from such a repository can't be done securely, and is therefore disabled by default.
      94. N: See apt-secure(8) manpage for repository creation and user configuration details.
      95. root@openmediavault:/etc/apt/sources.list.d#
      Display All
    • markmarz wrote:

      Is there some other repository I need to disable?
      The problem is that you have added other repos that potentially caused problems and things are broken. I don't know why your omv repo signing key isn't installed since openmediavault-keyring is installed. All I can think is to purge and reinstall the openmediavault-keyring package.

      apt-get purge openmediavault-keyring
      apt-get install openmediavault-keyring (yes, install it even if you get warnings)
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!