apt-get error

    • OMV 3.x
    • Resolved
    • Update
    • apt-get error

      Hi, I'm having a problem with the package update, I'm having a problem with the package update. I wanted to do an "apt-get update" but I had a mistake:

      Source Code

      1. apt-get update
      2. Ign https://dl.bintray.com jessie InRelease
      3. Ign https://dl.bintray.com jessie InRelease
      4. Ign file: InRelease
      5. Ign https://openmediavault.github.io erasmus InRelease
      6. Ign https://downloads.plex.tv ./public InRelease
      7. Ign file: Release.gpg
      8. Ign file: Release
      9. Err http://ftp.fr.debian.org jessie InRelease
      10. Err http://security.debian.org jessie/updates InRelease
      11. Err http://ftp.fr.debian.org jessie-updates InRelease
      12. Err http://httpredir.debian.org jessie-backports InRelease
      13. Err http://packages.openmediavault.org erasmus InRelease
      14. Err http://packages.openmediavault.org erasmus-proposed InRelease
      15. Err http://security.debian.org jessie/updates Release.gpg
      16. Ne parvient pas à résoudre « security.debian.org »
      17. Err http://ftp.fr.debian.org jessie Release.gpg
      18. Ne parvient pas à résoudre « ftp.fr.debian.org »
      19. Err http://httpredir.debian.org jessie-backports Release.gpg
      20. Ne parvient pas à résoudre « httpredir.debian.org »
      21. Err http://packages.openmediavault.org erasmus Release.gpg
      22. Ne parvient pas à résoudre « packages.openmediavault.org »
      23. Err http://ftp.fr.debian.org jessie-updates Release.gpg
      24. Ne parvient pas à résoudre « ftp.fr.debian.org »
      25. Err http://packages.openmediavault.org erasmus-proposed Release.gpg
      26. Ne parvient pas à résoudre « packages.openmediavault.org »
      27. Ign https://dl.bintray.com jessie Release.gpg
      28. Ign https://openmediavault.github.io erasmus Release.gpg
      29. Ign https://downloads.plex.tv ./public Release.gpg
      30. Ign file: Translation-fr_FR
      31. Ign file: Translation-fr
      32. Ign file: Translation-en
      33. Ign https://dl.bintray.com jessie Release.gpg
      34. Ign https://downloads.plex.tv ./public Release
      35. Ign https://openmediavault.github.io erasmus Release
      36. Ign https://dl.bintray.com jessie Release
      37. Ign https://dl.bintray.com jessie Release
      38. Err https://downloads.plex.tv ./public/main amd64 Packages
      39. Could not resolve host: downloads.plex.tv
      40. Err https://openmediavault.github.io erasmus/main amd64 Packages
      41. Could not resolve host: openmediavault.github.io
      42. Ign https://downloads.plex.tv ./public/main Translation-fr_FR
      43. Ign https://openmediavault.github.io erasmus/main Translation-fr_FR
      44. Ign https://downloads.plex.tv ./public/main Translation-fr
      45. Ign https://openmediavault.github.io erasmus/main Translation-fr
      46. Ign https://downloads.plex.tv ./public/main Translation-en
      47. Ign https://openmediavault.github.io erasmus/main Translation-en
      48. Err https://dl.bintray.com jessie/main amd64 Packages
      49. Could not resolve host: dl.bintray.com
      50. Ign https://dl.bintray.com jessie/main Translation-fr_FR
      51. Ign https://dl.bintray.com jessie/main Translation-fr
      52. Ign https://dl.bintray.com jessie/main Translation-en
      53. Err https://dl.bintray.com jessie/main amd64 Packages
      54. Could not resolve host: dl.bintray.com
      55. Ign https://dl.bintray.com jessie/main Translation-fr_FR
      56. Ign https://dl.bintray.com jessie/main Translation-fr
      57. Ign https://dl.bintray.com jessie/main Translation-en
      58. Lecture des listes de paquets... Fait
      59. W: Impossible de récupérer http://ftp.fr.debian.org/debian/dists/jessie/InRelease
      60. W: Impossible de récupérer http://security.debian.org/dists/jessie/updates/InRelease
      61. W: Impossible de récupérer http://ftp.fr.debian.org/debian/dists/jessie-updates/InRelease
      62. W: Impossible de récupérer http://httpredir.debian.org/debian/dists/jessie-backports/InRelease
      63. W: Impossible de récupérer http://packages.openmediavault.org/public/dists/erasmus/InRelease
      64. W: Impossible de récupérer http://packages.openmediavault.org/public/dists/erasmus-proposed/InRelease
      65. W: Impossible de récupérer http://ftp.fr.debian.org/debian/dists/jessie/Release.gpg Ne parvient pas à résoudre « ftp.fr.debian.org »
      66. W: Impossible de récupérer http://security.debian.org/dists/jessie/updates/Release.gpg Ne parvient pas à résoudre « security.debian.org »
      67. W: Impossible de récupérer http://ftp.fr.debian.org/debian/dists/jessie-updates/Release.gpg Ne parvient pas à résoudre « ftp.fr.debian.org »
      68. W: Impossible de récupérer http://httpredir.debian.org/debian/dists/jessie-backports/Release.gpg Ne parvient pas à résoudre « httpredir.debian.org »
      69. W: Impossible de récupérer http://packages.openmediavault.org/public/dists/erasmus/Release.gpg Ne parvient pas à résoudre « packages.openmediavault.org »
      70. W: Impossible de récupérer http://packages.openmediavault.org/public/dists/erasmus-proposed/Release.gpg Ne parvient pas à résoudre « packages.openmediavault.org »
      71. W: Impossible de récupérer https://downloads.plex.tv/repo/deb/dists/./public/main/binary-amd64/Packages Could not resolve host: downloads.plex.tv
      72. W: Impossible de récupérer https://openmediavault.github.io/packages/dists/erasmus/main/binary-amd64/Packages Could not resolve host: openmediavault.github.io
      73. W: Impossible de récupérer https://dl.bintray.com/openmediavault-plugin-developers/erasmus/dists/jessie/main/binary-amd64/Packages Could not resolve host: dl.bintray.com
      74. W: Impossible de récupérer https://dl.bintray.com/openmediavault-plugin-developers/erasmus-testing/dists/jessie/main/binary-amd64/Packages Could not resolve host: dl.bintray.com
      75. W: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
      Display All
      I think there are some package sources that are down but on my side I can't do anything anymore.

      ps: if there are errors in my text it is because I am French and I am sorry in advance.
    • Check whether your machine is visible in router. It might be caused by rejection at network access level (had excatly the same problem).

      Try to ping something on WAN (google for instance). This happeded to me when I set OMV to static IP in the range of DHCP, this caused NAS to be invisible to router and effectively disconnected me from the WAN.
    • Alan700 wrote:

      In the end, I will reinstall openmediavault because I have other problems on my nas.
      Make sure the NAS is connected to the internet during the installation.
      If you get the same problem, search the forum how to solve the DNS issue.
      Or ask here ....
      Odroid HC2 - armbian - Seagate ST4000DM004 - OMV4.x
      Asrock Q1900DC-ITX - 16GB - 2x Seagate ST3000VN000 - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV4 Documentation - user guide :!:
    • Shell-Script

      1. # omv-update
      2. Ign file: InRelease
      3. Ign file: Release.gpg
      4. Ign file: Release
      5. Ign http://ftp.de.debian.org jessie InRelease
      6. Hit http://ftp.de.debian.org jessie-updates InRelease
      7. Hit http://security.debian.org jessie/updates InRelease
      8. Hit http://packages.openmediavault.org erasmus InRelease
      9. Ign https://openmediavault.github.io erasmus InRelease
      10. Ign file: Translation-en
      11. Ign file: Translation-de_DE
      12. Ign file: Translation-de
      13. Ign https://openmediavault.github.io erasmus Release.gpg
      14. Hit http://ftp.de.debian.org jessie Release.gpg
      15. Ign https://openmediavault.github.io erasmus Release
      16. Hit http://ftp.de.debian.org jessie Release
      17. Hit http://httpredir.debian.org jessie-backports InRelease
      18. Ign https://openmediavault.github.io erasmus/main amd64 Packages/DiffIndex
      19. Hit http://ftp.de.debian.org jessie-updates/contrib Sources
      20. Get:1 http://ftp.de.debian.org jessie-updates/main amd64 Packages/DiffIndex [10.9 kB]
      21. Hit http://ftp.de.debian.org jessie-updates/contrib amd64 Packages
      22. Hit http://security.debian.org jessie/updates/non-free Sources
      23. Get:2 http://ftp.de.debian.org jessie-updates/non-free amd64 Packages/DiffIndex [736 B]
      24. Hit http://ftp.de.debian.org jessie-updates/contrib Translation-en
      25. Get:3 http://ftp.de.debian.org jessie-updates/main Translation-en/DiffIndex [3688 B]
      26. Hit http://security.debian.org jessie/updates/non-free amd64 Packages
      27. Get:4 http://ftp.de.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
      28. Hit http://packages.openmediavault.org erasmus/main amd64 Packages
      29. Hit http://ftp.de.debian.org jessie-updates/main Sources
      30. Hit http://ftp.de.debian.org jessie-updates/non-free Sources
      31. Hit http://security.debian.org jessie/updates/non-free Translation-en
      32. Hit http://security.debian.org jessie/updates/main Sources
      33. Ign https://openmediavault.github.io erasmus/main Translation-en
      34. Get:5 http://httpredir.debian.org jessie-backports/main amd64 Packages/DiffIndex [27.8 kB]
      35. Hit http://security.debian.org jessie/updates/contrib Sources
      36. Ign https://openmediavault.github.io erasmus/main Translation-de_DE
      37. Hit http://security.debian.org jessie/updates/main amd64 Packages
      38. Hit http://security.debian.org jessie/updates/contrib amd64 Packages
      39. Hit http://security.debian.org jessie/updates/contrib Translation-en
      40. Hit http://security.debian.org jessie/updates/main Translation-en
      41. Ign https://openmediavault.github.io erasmus/main Translation-de
      42. Err https://openmediavault.github.io erasmus/main amd64 Packages
      43. Get:6 http://httpredir.debian.org jessie-backports/contrib amd64 Packages/DiffIndex [26.0 kB]
      44. Get:7 http://httpredir.debian.org jessie-backports/non-free amd64 Packages/DiffIndex [23.8 kB]
      45. Ign http://packages.openmediavault.org erasmus/main Translation-en
      46. Get:8 http://httpredir.debian.org jessie-backports/contrib Translation-en/DiffIndex [7960 B]
      47. Ign http://packages.openmediavault.org erasmus/main Translation-de_DE
      48. Get:9 http://httpredir.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
      49. Ign http://packages.openmediavault.org erasmus/main Translation-de
      50. Get:10 http://httpredir.debian.org jessie-backports/non-free Translation-en/DiffIndex [18.2 kB]
      51. Hit http://ftp.de.debian.org jessie/main Sources
      52. Hit http://ftp.de.debian.org jessie/main amd64 Packages
      53. Hit http://ftp.de.debian.org jessie/main Translation-en
      54. Hit http://ftp.de.debian.org jessie/main Translation-de_DE
      55. Hit http://ftp.de.debian.org jessie/main Translation-de
      56. Fetched 148 kB in 5s (28.4 kB/s)
      57. W: Failed to fetch https://openmediavault.github.io/packages/dists/erasmus/main/binary-amd64/Packages
      58. E: Some index files failed to download. They have been ignored, or old ones used instead.
      Display All
      If you do

      Source Code

      1. # wget https://openmediavault.github.io/packages/dists/erasmus/main/binary-amd64/Packages -O test.out
      2. --2018-03-24 19:34:15-- https://openmediavault.github.io/packages/dists/erasmus/main/binary-amd64/Packages
      3. ERROR: Kann das Zertifikat »/etc/ssl/certs/DigiCert_Assured_ID_Root_CA.pem« nicht öffnen: (-207).
      4. ERROR: Kann das Zertifikat »/etc/ssl/certs/ca-certificates.crt« nicht öffnen: (-207).
      5. Auflösen des Hostnamen »openmediavault.github.io (openmediavault.github.io)«... 151.101.113.147, 2a04:4e42:1b::403
      6. Verbindungsaufbau zu openmediavault.github.io (openmediavault.github.io)|151.101.113.147|:443... verbunden.
      7. HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
      8. Länge: 19919 (19K) [application/octet-stream]
      9. In »»test.out«« speichern.
      10. test.out 100%[===========================================================================>] 19,45K --.-KB/s in 0,03s
      11. 2018-03-24 19:34:15 (709 KB/s) - »»test.out«« gespeichert [19919/19919]
      Display All
      it's obvious, what's wrong.

      Fix it with

      Source Code

      1. # apt-get install --reinstall ca-certificates
      omv 4.1.8 (Arrakis) | Debian 9.4 (stretch) | Kernel 4.9 | Intel Celeron J1800 | MX-ES 8GB USB 3.0 | RAID1 1TB