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

  • 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

    Indeed, I am on omv 5 and want to upgrade to omv 6. Here is the ouput you requested -



    dpkg --list | grep openm

    ii libopenmpt0:armhf 0.4.3-1+deb10u1 armhf module music library based on OpenMPT -- shared library

    ii openmediavault 5.6.26-1 all openmediavault - The open network attached storage solution

    ii openmediavault-anacron 5.0.3 all anacron plugin for OpenMediaVault.

    ii openmediavault-apttool 3.6 all apt tool plugin for OpenMediaVault.

    ii openmediavault-autoshutdown 5.1.21 all OpenMediaVault AutoShutdown Plugin

    ii openmediavault-backup 5.2.4 all backup plugin for OpenMediaVault.

    ii openmediavault-borgbackup 5.1.9 all borgbackup plugin for OpenMediaVault.

    ii openmediavault-clamav 5.0.13-1 all openmediavault ClamAV plugin

    ii openmediavault-fail2ban 5.0.5 all OpenMediaVault Fail2ban plugin

    ii openmediavault-flashmemory 5.0.9 all folder2ram plugin for OpenMediaVault

    ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive

    ii openmediavault-luksencryption 5.0.2 all OpenMediaVault LUKS encryption plugin

    ii openmediavault-lvm2 5.0.3-1 all openmediavault Logical Volume Manager (LVM2) plugin

    ii openmediavault-minidlna 5.0.5 all OpenMediaVault miniDLNA (DLNA server) plugin

    ii openmediavault-omvextrasorg 5.6.6 all OMV-Extras.org Package Repositories for OpenMediaVault

    ii openmediavault-remotemount 5.0.3 all Remote mount plugin for OpenMediaVault.

    ii openmediavault-sftp 5.0.7 all sftp server

  • STTamhane

    In that case, let's start from the top.


    Edit the file /etc/apt/sources.list to become like this:

    Command to use: sudo nano /etc/apt/sources.list

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


    Now, delete all the lists and make new one's:

    Commands to use:

    sudo rm -f /etc/apt/sources.list.d/*.list


    Lists to be created and how:

    sudo nano /etc/apt/sources.list.d/omvextras.list  ryecoaaron Can you confirm if this one is correct for OMV5???


    Code
    deb https://openmediavault-plugin-developers.github.io/packages/debian usul main
    deb [arch=armhf] https://download.docker.com/linux/debian buster stable


    sudo nano /etc/apt/sources.list.d/openmediavault-os-security.list

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


    sudo nano /etc/apt/sources.list.d/openmediavault-local.list

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


    sudo nano /etc/apt/sources.list.d/openmediavault.list

    Code
    deb http://packages.openmediavault.org/public/ usul main
    deb https://openmediavault.github.io/packages/ usul main


    sudo nano /etc/apt/sources.list.d/raspi.list

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


    After all these are done, run and post the complete output (with the command also) in a codebox:

    sudo apt update


    Something like below, (although mine is from bullseye)

  • Soma , please note that I am on bulleye with omv5, not on buster. When I purchased my rpi4, it came with bulleye pre-installed. At the time I implemented omv, only omv5 was available.

    No, that's impossible.

    Buster is Debian 10 and OMV5 runs on Debian 10.

    Bullseye is Debian 11 and OMV6 runs on Debian 11.


    And that is shown by the dpkg command I asked you.


    Also, if you want to confirm, post the output of:

    cat /etc/*relea*

    Code
    pi@xxxxx:~ $ cat /etc/*relea*
    PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
    NAME="Debian GNU/Linux"
    VERSION_ID="11"
    VERSION="11 (bullseye)"
    VERSION_CODENAME=bullseye
    ID=debian
    HOME_URL="https://www.debian.org/"
    SUPPORT_URL="https://www.debian.org/support"
    BUG_REPORT_URL="https://bugs.debian.org/"


    cat /etc/*versio*

    Code
    pi@xxxxxxx:~ $ cat /etc/*versio*
    11.5
  • Here is the output of the command


    cat /etc/*versio*

    11.1


    cat /etc/*relea*

    PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"

    NAME="Raspbian GNU/Linux"

    VERSION_ID="11"

    VERSION="11 (bullseye)"

    VERSION_CODENAME=bullseye

    ID=raspbian

    ID_LIKE=debian

    HOME_URL="http://www.raspbian.org/"

    SUPPORT_URL="http://www.raspbian.org/RaspbianForums"

    BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

    santosh@venus:~/Documents$

    • Offizieller Beitrag

    buster/updates

    There should be a hypen in this :: buster-updates


    But I wouldn't bother setting them back to buster. Leave them on bullseye and run omv-release-upgrade.

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

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


    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

    bulleye pre-installed.

    You shouldn't use a pre-installed version.

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

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


    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!

  • Soma and ryecoaaron, thanks for your help. What is my next step at this point? I have had the OMV 5 run in a stable manner for a few years now and would like to go to OMV 6. Should I run the github install script (I think) you pointed me to? OR wait for Soma for a sequence of commands?

  • What a mess, 🤔


    STTamhane on that case, swap all references from buster to bullseye

    And from usul to shaitan.


    Then try the omv-upgrade and after, omv-release-upgrade

    • Offizieller Beitrag

    Should I run the github install script (I think) you pointed me to? OR wait for Soma for a sequence of commands?

    Fix /etc/apt/sources.list.d/openmediavault-os-security.list

    Make sure apt-get update returns no errors

    Run omv-release-upgrade

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

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


    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!

  • Sounds good.


    Before removing the files, I ran the following command to see what will be removed. I notice that, in addition to the files you mentioned, 2 more files will be removed. Here is the output


    ls -l /etc/apt/sources.list.d/*.list

    -rw-r--r-- 1 root root 227 Nov 6 22:24 /etc/apt/sources.list.d/omvextras.list

    -rw-r--r-- 1 root root 80 Nov 6 22:24 /etc/apt/sources.list.d/openmediavault-kernel-backports.list

    -rw-r--r-- 1 root root 60 Nov 6 22:24 /etc/apt/sources.list.d/openmediavault-local.list

    -rw-r--r-- 1 root root 176 Nov 7 09:41 /etc/apt/sources.list.d/openmediavault-os-security.list

    -rw-r--r-- 1 root root 196 Nov 6 22:24 /etc/apt/sources.list.d/openmediavault.list

    -rw-r--r-- 1 root root 188 Nov 6 22:24 /etc/apt/sources.list.d/raspi.list

    -rw-r--r-- 1 root root 41 Nov 6 22:24 /etc/apt/sources.list.d/vscode.list


    The contents of these two are below.


    cat /etc/apt/sources.list.d/openmediavault-kernel-backports.list

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

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

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


    Should I leave these file as they are or delete them, as well?

  • You can leave them.

    Kernel backports is needed if you have it activated. Even if you don´t, it won't do any harm.


    The vscode.list is empty so, leave it

  • I am still getting errors while running apt-get update -


    sudo apt-get update > cmdoutput.txt

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

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


    cmdoutput.txt

  • /etc/apt/sources.list.d/openmediavault-os-security.list

    I made a typo on this.


    The proper sytanx is:

    Code
    deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
  • Great. Completed successfully. Should I run omv-release-upgrade now?


    sudo apt-get update > cmdoutput.txt [attach=26888][/attach]

    Yes but first check the Plugins you have and the list of the one's that were ported to OMV6

    omv-extras plugins - porting progress to OMV 6.x (done) - Plugins - openmediavault


    See if any are missing there.


    Post the output of the upgrade here even if things went OK, ;)

Jetzt mitmachen!

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