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


  • Change stable
    http://ftp.de.debian.org/debian stable main contrib non-free
    to wheezy
    http://ftp.de.debian.org/debian wheezy main contrib non-free

    omv 5.5.5 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.5
    omv-extras.org plugins source code and issue tracker - github


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

  • You don't need /etc/apt/apt.conf. While changing it does work, you can delete the file - rm -f /etc/apt/apt.conf

    omv 5.5.5 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.5
    omv-extras.org plugins source code and issue tracker - github


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

  • i've got this:
    Traceback (most recent call last):
    File "/usr/sbin/omv-mkaptidx", line 55, in <module>
    cache = apt.cache.Cache()
    File "/usr/lib/python3/dist-packages/apt/cache.py", line 102, in __init__
    self.open(progress)
    File "/usr/lib/python3/dist-packages/apt/cache.py", line 145, in open
    self._cache = apt_pkg.Cache(progress)
    SystemError: E:The value 'stable' is invalid for APT::Default-Release as such a release is not available in the sources
    Reading package lists... Done
    W: GPG error: http://download.opensuse.org Release: The following signatures were invalid: KEYEXPIRED 1397815516
    Reading package lists... Done
    E: The value 'stable' is invalid for APT::Default-Release as such a release is not available in the sources

    HP-Proliant Microserver Gen8 | omv = always latest | 64 bit | 1x3TB ,3x4TB , 1x500GB HDD for Boot | omvextrasorg = latest | HP P212| Plugins = NUT, HWRaid, luksencryption OMV extras

  • For the stable error, try: rm -f /etc/apt/apt.conf.d/99openmediavault-release /etc/apt/apt.conf


    For the key issue, try:


    wget http://download.opensuse.org/repositories/isv:/ownCloud:/community/Debian_7.0/Release.key
    apt-key add Release.key

    omv 5.5.5 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.5
    omv-extras.org plugins source code and issue tracker - github


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

  • [quote='ryecoaaron','http://forums.openmediavault.org/index.php/Thread/8404-OMV-1-18-CRON-APT-Error-The-value-stable-is-invalid-for-APT-Default-Release-as-s/?postID=78430#post78430']For the stable error, try: rm -f /etc/apt/apt.conf.d/99openmediavault-release /etc/apt/apt.conf



    kisses all over :o)



    but:


    Errors were encountered while processing:
    /var/cache/apt/archives/owncloud-server_8.0.3-1_all.deb
    Creating index of upgradeable packages ...
    Creating index of OpenMediaVault plugins ...
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    root@OMVServer:~#

    HP-Proliant Microserver Gen8 | omv = always latest | 64 bit | 1x3TB ,3x4TB , 1x500GB HDD for Boot | omvextrasorg = latest | HP P212| Plugins = NUT, HWRaid, luksencryption OMV extras

  • You can delete that file (/etc/apt/apt.conf). It is not needed.


    Thanks ryecoaaron, that did the trick for me, too. Back to normal :-)
    I have an OMV installation which has been updated from OMV 0.5.x to OMV 1.x.

    OpenMediaVault 5.x (most recent stable version) -- 64 bit -- OMV-Extras 5.x (most recent stable version) -- Default Kernel

  • I have tried everything in this thread and I am getting the following. First I do not have "99openmediavault-release" This file at all. I don't have an apt.conf file either.

    Code
    /etc/apt/apt.conf.d# grep -r "stable" /etc/apt/*
    root@xxxx:/etc/apt/apt.conf.d#


    I also ran this

    Code
    wget http://download.opensuse.org/repositories/isv:/ownCloud:/community/Debian_7.0/Release.key
    apt-key add Release.key


    Still no joy
    I am getting the following



    Code
    apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


    I think that covers anything. If I missed something please let me know I will give more details. This is a less that 7 day install if that matters.

  • 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


    I had OMV 1.18 and I got no updates for several days in Web-GUI.
    This was the solution.
    Thanks :thumbsup:

    Server (own building in February 2015): ASROCK Q1900-ITX - Intel Celeron J1900 - RAM 4GB Micron CT515264BF160B - 16GB SSD Kingston SS050S216G for system OMV 4.1.x (Arrakis)
    - 2x2TB HDD Seagate ST2000VN00 3,5" in RAID 1 for data
    Homeland: Germany
    favorites Plugins: Plex Media Server - Transmission - Autoshutdown - Rsync - USBBackup

  • I'm sure you have stable in your sources.list. What is the output of: grep -r stable /etc/apt/*


    Sorry I did include that in the original but here it is again


    Code
    root@xxxx:/etc/apt/apt.conf.d# grep -r stable /etc/apt/*
    root@xxxx:/etc/apt/apt.conf.d#


    I do not have stable in my sources.list.


    But I do have wheezy see below


  • We should make a sticky post for that thread. I've found it only via Startpage.


    It is Sticky.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • Dear all,


    I´m sorry to tell you, that any of your information doesn´t help me.
    DNS ist set, there is no apt.conf, no stable in sources.list, downloading the the Release.key does not work because opensuse.org could not be found, the file 99openmediavault.... was moved, omv-mkconf omvextrsaorg aptclean tells me there is a unknow script. Nothing of that works. Even apt-get -f install generates the output "package files will be reading...."


    As I updates /etc/network/interfaces with dns-nameserver.... it works for a short time.


    It seems to be DNS. In which file I can add it permanently too? In .../interfaces it seems to be not working and /resolv.conf will be overwritten :-((


    13:15h:
    updating /resolv.conf it works perfectly. But these file seems to be overwritten. What can I do to fix it permanently?
    the GUI didn´t any updates!!


    14:55h:
    copy /etc/resolv.conf to /etc/resolv.default, delete all lines and add your nameserver
    create an script "/etc/resolv.default.d"and add the following lines:
    #!/bin/sh
    cp /etc/resolv.default /etc/resolv.conf
    make it executable with "chmod 755 /etc/resolv.default.d"
    add path "/etc/resolv.default" (without " ") in /etc/rc.local BEFORE exit 0.


    From now on the system boots every time, the script will copy /etc/resolv.default to /etc/resolv.conf and I have my DNS....
    THAT´S MY WORKAROUND....



    Regards
    Kai

    OMV Erasmus 3.0.99| HP Microserver N54L | 8GB RAM | 20GB Intel SSD | 5 x 1TB in RAID5 | 8 TB ext. Backup Drive USB

    Edited 2 times, last by Mr.President ().

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!