CRON-APT error on nas-omv

  • Hi!


    Have automatic updates set on my OMV6, and have been getting a similar error 2 days in a row after upgrading from OMV5 to OMV6. Suspect there is something wrong with my repo-setup.


    The error I get is:

    Code
    [NAS-OMV.kingsville.lan] CRON-APT error on nas-omv [/etc/cron-apt/config]
    
    The following security packages have been installed automatically.
    
    CRON-APT RUN [/etc/cron-apt/config]: Fri Oct 21 07:37:50 CDT 2022
    CRON-APT SLEEP: 2273, Fri Oct 21 08:15:43 CDT 2022
    CRON-APT ACTION: 5-openmediavault-security
    CRON-APT LINE: /usr/bin/apt-get --option quiet=1 --option APT::Get::List-Cleanup=false --option Dir::Etc::SourceList=/etc/apt/sources.list.d/openmediavault-os-security.list --option Dir::Etc::SourceParts="/dev/null" --option DPkg::Options::=--force-confold dist-upgrade --yes --option APT::Get::Show-Upgraded=true
    Reading package lists...
    E: The value 'bullseye' is invalid for APT::Default-Release as such a release is not available in the sources

    As you can see, it is complaining about :

    Code
    E: The value 'bullseye' is invalid for APT::Default-Release as such a release is not available in the sources

    Any idea on what is wrong? Running manual updates works without errors.


  • These are the repos I currently have:

    Are these the default ones?

  • Found this old thread, so I removed the file:

    Code
    rm -f /etc/apt/apt.conf


    Then I also re-generated the sources:


    Will see if this fixes it.

  • odinb

    Hat das Label gelöst hinzugefügt.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!