Pinned OMV 1.18 CRON-APT Error: The value 'stable' is invalid for APT::Default-Release as such a release is not available in the sources

    • Resolved
    • OMV 1.0

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

    • OMV 1.18 CRON-APT Error: The value 'stable' is invalid for APT::Default-Release as such a release is not available in the sources

      I got an email report this morning saying this:

      Source Code

      1. CRON-APT RUN [/etc/cron-apt/config]: Sun Apr 26 04:00:01 CEST 2015
      2. CRON-APT SLEEP: 3025, Sun Apr 26 04:50:26 CEST 2015
      3. CRON-APT ACTION: 3-download
      4. CRON-APT LINE: /usr/bin/apt-get -o Acquire::http::Dl-Limit=25 autoclean -y
      5. Reading package lists...
      6. E: The value 'stable' is invalid for APT::Default-Release as such a release is not available in the sources
      7. CRON-APT LINE: /usr/bin/apt-get -o Acquire::http::Dl-Limit=25 dist-upgrade -d -y -o APT::Get::Show-Upgraded=true
      8. Reading package lists...
      9. E: The value 'stable' is invalid for APT::Default-Release as such a release is not available in the sources


      It looks like the same issue as this thread, but since the OMV release is different, I thought it would be better to have another dedicated thread.

      I am guessing this issue has to do with the release of Jessie which is the new stable as of yesterday. I have replaced "stable" with "wheezy" in the file /etc/apt/apt.conf.d/99openmediavault-release and now omv-update command doesn't show any issue.

      Does anyone else got this problem?

      edit
      See here for the solution:

      ryecoaaron wrote:

      By the way, this is only affects systems upgraded from 0.5. Just remove apt.conf rm -f /etc/apt/apt.conf and it should be fine. The file isn't used anymore.

      The post was edited 3 times, last by WastlJ ().

    • Hi,

      I have had the same problem.
      I had to replace "stable" with "wheezy" in the different file: /etc/apt/apt.conf

      --------------------------------------------------------------------------------------
      OMV 1.18 Kralizec 64-bit | 3.16 backport kernel | omv-extras.org 1.17
    • By the way, this is only affects systems upgraded from 0.5. Just remove apt.conf rm -f /etc/apt/apt.conf and it should be fine. The file isn't used anymore.
      omv 4.0.5 arrakis | 64 bit | 4.12 backports kernel | omvextrasorg 4.0.2
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please don't PM for support... Too many PMs!
    • Same problem, good tips !!
      Open Media Vault 2.2.6 (Stone burner) in Prod
      Open Media Vault 3.0.32 (Erasmus) in Test

      openmedivault Docker Container
      https://github.com/prbond/openmedivault-dockerfile

      Dev :
      openmediavault-fail2ban 1.1.5 for OMV2.X
      openmediavault-fail2ban 1.3.0 for OMV3.X
      https://github.com/prbond/openmediavault-fail2ban
      https://github.com/OpenMediaVault-Plugin-Developers/openmediavault-fail2ban
    • I don't have that file on any of my systems either.

      As root:
      mv /etc/apt/apt.conf.d/99openmediavault-release /root/
      apt-get update

      If no errors, delete the file:
      rm /root/99openmediavault-release
      omv 4.0.5 arrakis | 64 bit | 4.12 backports kernel | omvextrasorg 4.0.2
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:

      By the way, this is only affects systems upgraded from 0.5. Just remove apt.conf rm -f /etc/apt/apt.conf and it should be fine. The file isn't used anymore.

      Worked for me : rm -f /etc/apt/apt.conf



      From mail I had this warning :

      Source Code

      1. CRON-APT RUN [/etc/cron-apt/config]: Sun May 3 07:35:03 CEST 2015
      2. CRON-APT SLEEP: 925, Sun May 3 07:50:28 CEST 2015
      3. CRON-APT ACTION: 3-download
      4. CRON-APT LINE: /usr/bin/apt-get -o Acquire::http::Dl-Limit=25 autoclean -y
      5. Reading package lists...
      6. E: The value 'stable' is invalid for APT::Default-Release as such a release is not available in the sources
      7. CRON-APT LINE: /usr/bin/apt-get -o Acquire::http::Dl-Limit=25 dist-upgrade -d -y -o APT::Get::Show-Upgraded=true
      8. Reading package lists...
      9. E: The value 'stable' is invalid for APT::Default-Release as such a release is not available in the sources


      From the webinterface, no updates were available

      I guess that only using SSH can fix it the problem ?
    • I think I have the same problem. Trying to update OMV via web-gui its stucked at the point "Reading state information".

      Then I tried all above mentioned steps. But on my OMV i did not have the file "/etc/apt/apt.conf.d/99openmediavault-release" or "/etc/apt/apt.conf".

      The ouput of "

      Source Code

      1. grep -r "stable" /etc/apt/*
      "

      is:

      Source Code

      1. /etc/apt/sources.list:deb http://ftp.de.debian.org/debian stable main contrib non-free
      2. /etc/apt/sources.list.d/omv-extras-org-kralizec.list:deb http://www.greyhole.net/releases/deb stable main


      How could I solve this?

      Thanks!!

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