Cant update due to "does not have a Release file."

  • When i run the command sudo omv-upgrade, i get the following error and the web interface doesn't work anymore,

    • Offizieller Beitrag

    This repo does not exist. What is the output of: find /etc/apt/ -type f -name "*.list" -print -exec grep bullseye {} \;

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Try: sudo omv-salt deploy run apt

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Then i get some red text


    • Offizieller Beitrag

    Try:


    sudo rm /etc/apt/sources.list.d/openmediavault-*-security.list

    sudo omv-salt deploy run apt

    sudo omv-aptclean

  • This time one is red

    but also


    Code
    ~# sudo omv-aptclean
    sudo: omv-aptclean: command not found
    • Offizieller Beitrag

    You must not have omv-extras installed and that is why omv-aptclean isn't found. I don't know what keeps adding that back.


    sudo rm /etc/apt/sources.list.d/openmediavault-*-security.list

    sudo apt-get update

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I have the exact same issue, all the way up to getting just one fail. When I run sudo omv-aptclean, I get ->


    The repository 'http://security.debian.org/debian-security bullseye/updates Release' does not have a Release file.


    Please help.

    • Offizieller Beitrag

    The repository 'http://security.debian.org/debian-security bullseye/updates Release' does not have a Release file.

    This isn't a valid repo. Did you edit your sources manually?


    echo "deb http://deb.debian.org/debian/ bullseye main contrib non-free" | sudo tee /etc/apt/sources.list

    echo "deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free" | sudo tee -a /etc/apt/sources.list

    sudo rm /etc/apt/sources.list.d/openmediavault-*-security.list

    sudo omv-salt deploy run apt

    sudo apt-get update

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Thanks, ryecoaaron. I ran the above commands. However, after 'sudo omv-salt deploy run apt', I got the same error as before, at -


    ID: refresh_apt_database

    Function: module.run


    Exact text is -


    salt.exceptions.CommandExecutionError: E: The repository 'http://security.debian.org/debian-security bullseye/updates Release' does not have a Release file.

    • Offizieller Beitrag

    I got the same error as before, at -

    All of the output would be nice. Something keeps adding an invalid repo back. Try:


    sudo rm /etc/apt/sources.list.d/openmediavault-*-security.list

    sudo omv-aptclean

    sudo /usr/bin/salt-call --local saltutil.clear_cache

    sudo omv-salt stage run prepare

    sudo omv-salt deploy run apt

    sudo apt-get update


    If you can put all of the output from those commands in a file and attach it to a post, that would be very helpful.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Hi ryecoaaron, here is the file. It failed again at 'sudo omv-salt deploy run apt' with the same message.



    cmdoutput.txt

    Did you set the env OMV_APT_USE_OS_SECURITY to false?

    You seem to be on a armhf RPi, correct?


    What is the output of

    cat /etc/apt/sources.list.d/*list

    cat /etc/apt/sources.list

    • Offizieller Beitrag

    Also cat /srv/salt/omv/deploy/apt/files/etc-apt-sources_list_d-openmediavault-os-security_list.j2

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Did not set OMV_APT_USE_OS_SECURITY to my knowledge.


    Here is the output -


    cat /etc/apt/sources.list.d/*list

    deb https://openmediavault-plugin-…github.io/packages/debian usul main

    deb [arch=armhf] https://download.docker.com/linux/debian buster stable

    deb [arch=armhf] https://download.docker.com/linux/debian bullseye stable

    deb http://httpredir.debian.org/debian bullseye-backports main contrib non-free

    deb [trusted=yes] file:/var/cache/openmediavault/archives /

    deb http://security.debian.org/debian-security bullseye/updates main contrib non-free

    deb-src http://security.debian.org/debian-security bullseye/updates main contrib non-free

    deb http://packages.openmediavault.org/public/ usul main

    deb https://openmediavault.github.io/packages/ usul main

    # deb http://downloads.sourceforge.n…/openmediavault/packages/ usul main

    deb http://archive.raspberrypi.org/debian/ buster main

    # Uncomment line below then 'apt-get update' to enable 'apt-get source'

    # deb-src http://archive.raspberrypi.org/debian/ buster main

    ### Disabled by raspberrypi-sys-mods ###


    cat /etc/apt/sources.list

    deb http://deb.debian.org/debian/ bullseye main contrib non-free

    deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free

  • Also cat /srv/salt/omv/deploy/apt/files/etc-apt-sources_list_d-openmediavault-os-security_list.j2

    cat /srv/salt/omv/deploy/apt/files/etc-apt-sources_list_d-openmediavault-os-security_list.j2

    {%- if grains['os'] == 'Ubuntu' -%}

    {%- set repo_url = salt['pillar.get']('default:OMV_APT_SECURITY_REPOSITORY_URL', 'http://security.ubuntu.com/ubuntu') -%}

    deb {{ repo_url }} {{ grains['oscodename'] }}-security main restricted universe

    deb-src {{ repo_url }} {{ grains['oscodename'] }}-security main restricted universe

    {%- else -%}

    {%- set repo_url = salt['pillar.get']('default:OMV_APT_SECURITY_REPOSITORY_URL', 'http://security.debian.org/debian-security') -%}

    deb {{ repo_url }} {{ grains['oscodename'] }}/updates main contrib non-free

    deb-src {{ repo_url }} {{ grains['oscodename'] }}/updates main contrib non-free

    {%- endif %}

    • Offizieller Beitrag

    What is the output of: sudo omv-env get OMV_APT_SECURITY_REPOSITORY_URL

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • {%- set repo_url = salt['pillar.get']('default:OMV_APT_SECURITY_REPOSITORY_URL', 'http://security.debian.org/debian-security') -%}

    deb {{ repo_url }} {{ grains['oscodename'] }}/updates main contrib non-free

    ryecoaaron

    Shouldn't this snippet be:

    Code
    {%- if grains['os'] == 'Ubuntu' -%}
    {%- set repo_url = salt['pillar.get']('default:OMV_APT_SECURITY_REPOSITORY_URL', 'http://security.ubuntu.com/ubuntu') -%}
    deb {{ repo_url }} {{ grains['oscodename'] }}-security main restricted universe
    deb-src {{ repo_url }} {{ grains['oscodename'] }}-security main restricted universe
    {%- else -%}
    {%- set repo_url = salt['pillar.get']('default:OMV_APT_SECURITY_REPOSITORY_URL', 'http://security.debian.org/debian-security') -%}
    deb {{ repo_url }} {{ grains['oscodename'] }}-security main contrib non-free
    deb-src {{ repo_url }} {{ grains['oscodename'] }}-security main contrib non-free
    {%- endif %}

    openmediavault/etc-apt-sources_list_d-openmediavault-os-security_list.j2 at master · openmediavault/openmediavault (github.com)

    ?

    Seems STTamhane base files aren't fully up to date or it's still on OMV5 version, :/


    Code
    {%- if grains['os'] == 'Ubuntu' -%}
    {%- set repo_url = salt['pillar.get']('default:OMV_APT_SECURITY_REPOSITORY_URL', 'http://security.ubuntu.com/ubuntu') -%}
    deb {{ repo_url }} {{ grains['oscodename'] }}-security main restricted universe
    deb-src {{ repo_url }} {{ grains['oscodename'] }}-security main restricted universe
    {%- else -%}
    {%- set repo_url = salt['pillar.get']('default:OMV_APT_SECURITY_REPOSITORY_URL', 'http://security.debian.org/debian-security') -%}
    deb {{ repo_url }} {{ grains['oscodename'] }}/updates main contrib non-free
    deb-src {{ repo_url }} {{ grains['oscodename'] }}/updates main contrib non-free
    {%- endif %}

    openmediavault/etc-apt-sources_list_d-openmediavault-os-security_list.j2 at 5.x · openmediavault/openmediavault (github.com)

  • Just saw this on post #16 which means you have a failed upgrade attempted and a mixed of versions REPOS.

    This REPOS need to be fixed


    What is the output of

    dpkg --list | grep openm

Jetzt mitmachen!

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