Updates are not fetched on three different OMV installs

    • OMV 2.x
    • Update
    • Updates are not fetched on three different OMV installs

      Hi there,

      Here is a combo topic about upgrade issues I am having on three different OMV installs.

      1- on Raspberry Pi supplemented by RTC, running off a USB hard drive
      Had issues with adding Samsung Ml-2510 printer. I finally managed to make it run (though it's unclear how exactly), but it still has issues (1) (2).

      2- On Banana Pi running off SD card. Flash Memory plugin is installed and active (3).
      Displayed error is:
      Failed to execute command 'export LANG=C; apt-get update 2>&1': Ign file: Release.gpg Ign file: Release Ign file: Translation-en Hit http://apt.syncthing.net syncthing Release.gpg Hit http://www.greyhole.net stable Release.gpg Hit http://security.debian.org wheezy/updates Release.gpg Hit http://security.debian.org wheezy/updates Release Hit http://www.deb-multimedia.org wheezy Release.gpg Hit http://dl.bananian.org wheezy Release.gpg Hit http://ppa.launchpad.net precise Release.gpg Hit http://www.greyhole.net stable Release Hit http://debian.yeasoft.net wheezy Release.gpg Hit http://apt.tvheadend.org wheezy Release.gpg Hit http://dh2k.omv-extras.org plex-wheezy-mirror Release.gpg Hit http://ftp.pl.debian.org wheezy Release.gpg Hit http://ppa.launchpad.net precise Release Hit http://www.deb-multimedia.org wheezy Release Hit http://dl.bananian.org wheezy Release Hit http://security.debian.org wheezy/updates/main Sources Hit http://apt.tvheadend.org wheezy Release Hit http://debian.yeasoft.net wheezy Release Hit http://packages.openmediavault.org stoneburner Release.gpg Ign http://dh2k.omv-extras.org stoneburner-miller Release.gpg Hit http://packages.omv-extras.org stoneburner Release.gpg Hit http://ftp.pl.debian.org wheezy-updates Release.gpg Hit http://www.greyhole.net stable/main armhf Packages Hit http://security.debian.org wheezy/updates/contrib Sources Hit http://ppa.launchpad.net precise/main armhf Packages Ign http://dh2k.omv-extras.org stoneburner-vpn Release.gpg Hit http://security.debian.org wheezy/updates/non-free Sources Hit http://apt.syncthing.net syncthing Release Hit http://packages.omv-extras.org stoneburner-plex Release.gpg Hit http://ftp.pl.debian.org wheezy-backports Release.gpg Hit http://www.deb-multimedia.org wheezy/main Sources Hit http://ppa.launchpad.net precise/main Translation-en Hit http://dl.bananian.org

      I have seen errors starting with Export LANG=C often in other virtual Linuxes I am playing with, but still don't know what it means. On other Linux-based distros, it doesn't prevent updates from going through, though. Why does it in OMV?

      3- In Virtual Box
      At first it gave the error listed below, but now, without any configuration changes, it finally found updates and applied them successfuly.
      What does the intermittent error means, and how to prevent it?

      Displayed error in dialog box is:
      Failed to execute command 'export LANG=C; apt-get update 2>&1': Ign file: Release.gpg Ign file: Release Ign file: Translation-en Hit http://www.greyhole.net stable Release.gpg Hit http://ftp.us.debian.org wheezy Release.gpg Hit http://ftp.us.debian.org wheezy-updates Release.gpg Hit http://www.greyhole.net stable Release Hit http://ftp.us.debian.org wheezy Release Hit http://ftp.us.debian.org wheezy-updates Release Hit http://ppa.launchpad.net precise Release.gpg Hit http://www.greyhole.net stable/main amd64 Packages Hit http://ftp.us.debian.org wheezy/main Sources Hit http://ftp.us.debian.org wheezy/main amd64 Packages Hit http://ppa.launchpad.net precise Release Hit http://ftp.us.debian.org wheezy/main Translation-en Hit http://ftp.us.debian.org wheezy-updates/main Sources Hit http://ppa.launchpad.net precise/main amd64 Packages Hit http://ftp.us.debian.org wheezy-updates/contrib Sources Hit http://ftp.us.debian.org wheezy-updates/non-free Sources Hit http://ppa.launchpad.net precise/main Translation-en Hit http://ftp.us.debian.org wheezy-updates/main amd64 Packages/DiffIndex Ign http://www.greyhole.net stable/main Translation-en Hit http://ftp.us.debian.org wheezy-updates/contrib amd64 Packages Hit http://ftp.us.debian.org wheezy-updates/non-free amd64 Packages Hit http://ftp.us.debian.org wheezy-updates/contrib Translation-en Hit http://ftp.us.debian.org wheezy-updates/main Translation-en Hit http://ftp.us.debian.org wheezy-updates/non-free Translation-en Hit http://security.debian.org wheezy/updates Release.gpg Hit http://dh2k.omv-extras.org virtualbox-wheezy-mirror Release.gpg Hit http://packages.omv-extras.org stoneburner Release.gpg Hit http://security.debian.org wheezy/updates Release Hit http://security.debian.org wheezy/updates/main Sources Hit http://dh2k.omv-extras.org plex-wheezy-mirror Release.gpg Hit http://packages.omv-extras.org stoneburner-vb Release.gpg Hit http://security.debian.org wheezy/updates/contrib Sources Hit http://security.debian.org wheezy/updates/non-free Sources Hit http://packages.omv-extras.org stoneburner-plex Release.gpg Ign http://dh2k.omv-extras.org stoneburner-miller Release.gpg Hit http://security.debian.org wheezy/updates/main amd64 Packages Hit http://security.debian.org wheezy/updates/contrib amd64 Packages Hit http://security.debian.org wheezy/updates/non-free amd64 Packages Hit http://packages.omv-extras.org stoneburner-greyhole Release.gpg Ign http://dh2k.omv-extras.org stoneburner-vpn Release.gpg Hit http://security.debian.org wheezy/up

      Overall, the error messages are not terribly helpful, and the dialog boxes are often too large to spot the relevant part.
    • You can do an

      # omv-update

      in the CLI to see the whole error message. Your problems surely comes from an not available package repository that you are using.
      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
    • I don't see any bad repos but that is the typical reason an apt-get update would fail. Can you post the output from apt-get update run from putty as root? Not all of the message is in your output.
      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!
    • I'm not quite sure if I have the same problem and I don't want to hijack your thread but I can't update my OMV either. I have to say that my OMV was offline for about 4 months due to a missing internet connection but today I'm back again in the www. An update from GUI gives no error but in CLI using

      Source Code

      1. apt-get update
      returns

      Source Code

      1. root@OMV:~# apt-get update
      2. Ign file: Release.gpg
      3. Ign file: Release
      4. Ign file: Translation-de_DE
      5. Ign file: Translation-de
      6. Ign file: Translation-en
      7. Holen: 1 http://ftp.de.debian.org wheezy Release.gpg [2.373 B]
      8. OK http://ftp.de.debian.org wheezy-updates Release.gpg
      9. OK http://packages.openmediavault.org stoneburner Release.gpg
      10. OK http://ftp.de.debian.org wheezy Release
      11. Holen: 2 http://packages.omv-extras.org kralizec Release.gpg [490 B]
      12. OK http://security.debian.org wheezy/updates Release.gpg
      13. Ign http://ftp.de.debian.org wheezy Release
      14. OK http://ftp.de.debian.org wheezy-updates Release
      15. Ign http://ftp.de.debian.org wheezy/main Sources/DiffIndex
      16. OK http://security.debian.org wheezy/updates Release
      17. OK http://packages.omv-extras.org kralizec Release
      18. OK http://packages.openmediavault.org stoneburner Release
      19. Ign http://ftp.de.debian.org wheezy/main amd64 Packages/DiffIndex
      20. Fehl http://packages.omv-extras.org kralizec Release
      21. Holen: 3 http://ftp.de.debian.org wheezy/main Translation-de_DE [830 B]
      22. Holen: 4 http://ftp.de.debian.org wheezy/main Translation-de [1.775 kB]
      23. OK http://security.debian.org wheezy/updates/main Sources
      24. OK http://security.debian.org wheezy/updates/contrib Sources
      25. OK http://packages.openmediavault.org stoneburner/main amd64 Packages
      26. OK http://security.debian.org wheezy/updates/non-free Sources
      27. OK http://security.debian.org wheezy/updates/main amd64 Packages
      28. OK http://security.debian.org wheezy/updates/contrib amd64 Packages
      29. OK http://security.debian.org wheezy/updates/non-free amd64 Packages
      30. OK http://security.debian.org wheezy/updates/contrib Translation-en
      31. OK http://ftp.de.debian.org wheezy/main Translation-en
      32. OK http://security.debian.org wheezy/updates/main Translation-en
      33. OK http://ftp.de.debian.org wheezy-updates/main Sources
      34. OK http://security.debian.org wheezy/updates/non-free Translation-en
      35. OK http://ftp.de.debian.org wheezy-updates/contrib Sources
      36. OK http://ftp.de.debian.org wheezy-updates/non-free Sources
      37. OK http://ftp.de.debian.org wheezy-updates/main amd64 Packages/DiffIndex
      38. OK http://ftp.de.debian.org wheezy-updates/contrib amd64 Packages
      39. OK http://ftp.de.debian.org wheezy-updates/non-free amd64 Packages
      40. OK http://ftp.de.debian.org wheezy-updates/contrib Translation-en
      41. OK http://ftp.de.debian.org wheezy-updates/main Translation-en
      42. OK http://ftp.de.debian.org wheezy-updates/non-free Translation-en
      43. OK http://ftp.de.debian.org wheezy/main Sources
      44. OK http://ftp.de.debian.org wheezy/main amd64 Packages
      45. Ign http://packages.openmediavault.org stoneburner/main Translation-de_DE
      46. Ign http://packages.openmediavault.org stoneburner/main Translation-de
      47. Ign http://packages.openmediavault.org stoneburner/main Translation-en
      48. Es wurden 1.779 kB in 1 s geholt (927 kB/s).
      49. Paketlisten werden gelesen... Fertig
      50. W: GPG-Fehler: http://ftp.de.debian.org wheezy Release: Die folgenden Signaturen waren ungültig: BADSIG 8B48AD6246925553 Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>
      51. W: Während der Überprüfung der Signatur trat ein Fehler auf. Das Repository wurde nicht aktualisiert und die vorherigen Indexdateien werden verwendet. GPG-Fehler: http://packages.omv-extras.org kralizec Release: Die folgenden Signaturen waren ungültig: BADSIG AAA3036B30B2308A Aaron Murray <aaron27@ryecoinc.com>
      52. W: Fehlschlag beim Holen von http://packages.omv-extras.org/debian/dists/kralizec/Release
      53. W: Einige Indexdateien konnten nicht heruntergeladen werden. Sie wurden ignoriert oder alte an ihrer Stelle benutzt.
      54. root@OMV:~#
      Display All


      Does anybody know what to do?

      Thank you!
      fahrer17
      Erasmus 3.0.89

      running on

      Mobo:Asus H87I-Plus (C2) Socket 1150
      RAM: 4GB (1x 4096MB) Kingston ValueRAM DDR3-1600 DIMM CL11 Single
      CPU: Intel Pentium G3220 2x 3.00GHz So.1150 BOX
      PS: 300 Watt be quiet! System Power 7 Bulk Non-Modular 80+ Bronze
      OS: 64GB SanDisk Solid State Disk (SDSSDP-064G-G25)
      Data: 2x 4000GB WD Red WD40EFRX
      Case: Chenbro SR30169 mini ITX (4 bay) - removed that crappy backplane! :D
      ...............................................................................................
      Ubuntu since 10.04 - learned a lot, but not enough yet...
    • Du must in der
      nano /etc/apt/sources.list

      packages.omv-extras.org/debian/dists/kralizec/Release

      aus rauten oder löschen
      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)
    • Are you sure? I don't have any packages.omv-extras.org/debian/dists/kralizec/Release - that's how my sources.list looks like:

      Source Code

      1. # deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150108-14:12]/ wheezy contrib main non-free
      2. #deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150108-14:12]/ wheezy contrib main non-free
      3. deb http://ftp.de.debian.org/debian/ wheezy main
      4. deb-src http://ftp.de.debian.org/debian/ wheezy main
      5. deb http://security.debian.org/ wheezy/updates main contrib non-free
      6. deb-src http://security.debian.org/ wheezy/updates main contrib non-free
      7. # wheezy-updates, previously known as 'volatile'
      8. deb http://ftp.de.debian.org/debian/ wheezy-updates main contrib non-free
      9. deb-src http://ftp.de.debian.org/debian/ wheezy-updates main contrib non-free
      Display All
      Erasmus 3.0.89

      running on

      Mobo:Asus H87I-Plus (C2) Socket 1150
      RAM: 4GB (1x 4096MB) Kingston ValueRAM DDR3-1600 DIMM CL11 Single
      CPU: Intel Pentium G3220 2x 3.00GHz So.1150 BOX
      PS: 300 Watt be quiet! System Power 7 Bulk Non-Modular 80+ Bronze
      OS: 64GB SanDisk Solid State Disk (SDSSDP-064G-G25)
      Data: 2x 4000GB WD Red WD40EFRX
      Case: Chenbro SR30169 mini ITX (4 bay) - removed that crappy backplane! :D
      ...............................................................................................
      Ubuntu since 10.04 - learned a lot, but not enough yet...
    • OK, a short Google search brought the solution hopefully (at least an update is running atm):

      Source Code

      1. sudo apt-get clean
      2. sudo mv /var/lib/apt/lists /var/lib/apt/lists.old
      3. sudo mkdir -p /var/lib/apt/lists/partial
      4. sudo apt-get update


      Taken from http://www.rootz.de/stichwort/waehrend-der-ueberpruefung-der-signatur-trat-ein-fehler-auf-das-repository-wurde-nicht-aktualisiert/


      ......aaaaand everything is fine now! :thumbsup:
      Erasmus 3.0.89

      running on

      Mobo:Asus H87I-Plus (C2) Socket 1150
      RAM: 4GB (1x 4096MB) Kingston ValueRAM DDR3-1600 DIMM CL11 Single
      CPU: Intel Pentium G3220 2x 3.00GHz So.1150 BOX
      PS: 300 Watt be quiet! System Power 7 Bulk Non-Modular 80+ Bronze
      OS: 64GB SanDisk Solid State Disk (SDSSDP-064G-G25)
      Data: 2x 4000GB WD Red WD40EFRX
      Case: Chenbro SR30169 mini ITX (4 bay) - removed that crappy backplane! :D
      ...............................................................................................
      Ubuntu since 10.04 - learned a lot, but not enough yet...
    • Wolf2000 wrote:

      Sorry
      nano /etc/apt/sources.list.d/openmediavault.list


      Zu spät :D
      Hmmm, ob das die gleiche Lösung war...

      Edit:
      packages.omv-extras.org/debian/dists/kralizec/Release looks like this on my system:

      Source Code

      1. # deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150108-14:12]/ wheezy contrib main non-free
      2. #deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150108-14:12]/ wheezy contrib main non-free
      3. deb http://ftp.de.debian.org/debian/ wheezy main
      4. deb-src http://ftp.de.debian.org/debian/ wheezy main
      5. deb http://security.debian.org/ wheezy/updates main contrib non-free
      6. deb-src http://security.debian.org/ wheezy/updates main contrib non-free
      7. # wheezy-updates, previously known as 'volatile'
      8. deb http://ftp.de.debian.org/debian/ wheezy-updates main contrib non-free
      9. deb-src http://ftp.de.debian.org/debian/ wheezy-updates main contrib non-free
      Display All
      Erasmus 3.0.89

      running on

      Mobo:Asus H87I-Plus (C2) Socket 1150
      RAM: 4GB (1x 4096MB) Kingston ValueRAM DDR3-1600 DIMM CL11 Single
      CPU: Intel Pentium G3220 2x 3.00GHz So.1150 BOX
      PS: 300 Watt be quiet! System Power 7 Bulk Non-Modular 80+ Bronze
      OS: 64GB SanDisk Solid State Disk (SDSSDP-064G-G25)
      Data: 2x 4000GB WD Red WD40EFRX
      Case: Chenbro SR30169 mini ITX (4 bay) - removed that crappy backplane! :D
      ...............................................................................................
      Ubuntu since 10.04 - learned a lot, but not enough yet...

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

    • The apt clean button in omv-extras or omv-aptclean fixes this problem most of the time.
      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 all for your replies,

      for omv-update, I get:
      Raspberry Pi:
      no error in the command line.

      Banana Pi:

      Source Code

      1. W: Failed to fetch http://apt.tvheadend.org/stable/dists/wheezy/Release Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)
      2. E: Some index files failed to download. They have been ignored, or old ones used instead.
      3. Using [b][i]apt-clean[/i][/b] from the web interface then re-ran from command line:
      4. same error as first post.
      5. Using [i][b]apt-get update[/b][/i]:
      6. [code]W: Failed to fetch http://apt.tvheadend.org/stable/dists/wheezy/Release Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)
      7. E: Some index files failed to download. They have been ignored, or old ones used instead.
      Display All



      VirtualBox:
      No error from the command line,
      apt-get update yields no error.
      yet it fails from the web interface.

      Then I tried what fahrer17 posted, and got this error:

      Source Code

      1. Err http://packages.openmediavault.org stoneburner Release.gpg
      2. Could not connect to packages.openmediavault.org:80 (178.254.11.33). - connect (110: Connection timed out)
      3. Ign http://packages.openmediavault.org stoneburner Release
      4. Err http://packages.openmediavault.org stoneburner/main amd64 Packages
      5. Unable to connect to packages.openmediavault.org:http:
      6. Err http://packages.openmediavault.org stoneburner/main Translation-en_US
      7. Unable to connect to packages.openmediavault.org:http:
      8. Err http://packages.openmediavault.org stoneburner/main Translation-en
      9. Unable to connect to packages.openmediavault.org:http:
      10. Fetched 16.9 MB in 1min 3s (268 kB/s)
      11. W: Failed to fetch http://packages.openmediavault.org/public/dists/stoneburner/Release.gpg Could not connect to packages.openmediavault.org:80 (178.254.11.33). - connect (110: Connection timed out)
      12. W: Failed to fetch http://packages.openmediavault.org/public/dists/stoneburner/main/binary-amd64/Packages Unable to connect to packages.openmediavault.org:http:
      13. W: Failed to fetch http://packages.openmediavault.org/public/dists/stoneburner/main/i18n/Translation-en_US Unable to connect to packages.openmediavault.org:http:
      14. W: Failed to fetch http://packages.openmediavault.org/public/dists/stoneburner/main/i18n/Translation-en Unable to connect to packages.openmediavault.org:http:
      15. E: Some index files failed to download. They have been ignored, or old ones used instead.
      16. root@OpenMediaVault-Appliance-x64:~#
      Display All


      Haven't tried in in the other OMV installations as they are more difficult to restore to a semi-working state if it goes awry.
    • Read the messages. They tell you what the problem is. Banana Pi has a bad tvheadend repo (probably because it does not support armhf). Remove it.

      Virtualbox - the omv repo must have been down or something. Not much you can do to fix that other than wait.
      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!
    • For the same omv-command, I now get:

      On Banana Pi:

      After disabling all repos from OMV-extras.org:

      Same tvheadend error. I commented it out in /etc/apt/sources.list, and ran omv-update again.

      Then it worked.

      But what functionality does tvheadend provides in OMV, anyway?

      On VirtualBox:

      The BTSync third-party repository seems to have invalid certificates.

      Source Code

      1. Err
      2. https://dl.bintray.com wheezy/main amd64
      3. Packages
      4. server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
      5. Ign
      6. https://dl.bintray.com wheezy/main
      7. Translation-en
      8. W: Failed to fetch
      9. https://dl.bintray.com/openmediavault-plugin-developers/stoneburner-sync/dists/wheezy/main/binary-amd64/Packages
      10. server certificate verification failed. CAfile:
      11. /etc/ssl/certs/ca-certificates.crt CRLfile: none
      12. E: Some index files failed to download. They have been ignored, or old ones used instead.
      Display All


      How
      would I put the missing certificate in? I find it confusing because
      even during normal upgrade process, authentication is ignored. Isn't it
      risky not to authenticate packages?

      As a side-question: when OMV kicks off an idle user, displaying the
      red-on-black bar at the top, one script stays active on the page and
      eats up CPU power, locking the Firefox tab with it. Wouldn't it be more
      gentle on the CPU to simply display a static version of this bar, or
      simply reload the login page?
    • You (or a script) must have added tvheadend to the sources.list because omv-extras does not add anything to that file. It is used for recording tv shows.

      bintray is not the btsync repo. That is the new hosting repo for omv-extras and a few 2.x repos. I don't get the cert issue. Not sure why you are.

      Packages are authenticated when they are signed. OMV does ignore it if they are aren't signed though. I'm guess this was done for people to write plugins without signing them. It might be risky if you didn't trust the repo. Although anyone can get a signing key. So, how does being signed make it safe? It only prevents the man-in-the-middle attack.

      I set my timeout to 0. So, I don't have this issue. File a request at bugtracker to change it
      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!