Update Management

  • I went into Update Management-Update tab-Clicked on Check - Please wait Checking for new updates - Error with the message below.


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; apt-get update 2>&1' with exit code '100': Get:1 file:/var/cache/openmediavault/archives InRelease Ign:1 file:/var/cache/openmediavault/archives InRelease Get:2 file:/var/cache/openmediavault/archives Release Ign:2 file:/var/cache/openmediavault/archives Release Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Get:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Translation-en Ign:4 file:/var/cache/openmediavault/archives Translation-en Hit:5 http://security.debian.org/debian-security buster/updates InRelease Hit:6 http://deb.debian.org/debian buster InRelease Hit:7 http://deb.debian.org/debian buster-updates InRelease Get:8 https://download.docker.com/linux/debian buster InRelease [53.9 kB] Hit:9 http://packages.openmediavault.org/public usul InRelease Get:10 https://openmediavault.github.io/packages usul InRelease [12.7 kB] Get:11 https://openmediavault-plugin-…github.io/packages/debian usul InRelease [3928 B] Get:13 https://openmediavault-plugin-…github.io/packages/debian usul-testing InRelease [3932 B] Hit:12 https://linux.teamviewer.com/deb stable InRelease Get:14 https://openmediavault-plugin-…github.io/packages/debian usul-extras InRelease [3918 B] Ign:15 http://httpredir.debian.org/debian buster-backports InRelease Err:16 http://httpredir.debian.org/debian buster-backports Release 404 Not Found [IP: 151.101.118.132 80] Reading package lists... E: The repository 'http://httpredir.debian.org/debian buster-backports Release' no longer has a Release file.


    Clicked on Show details:

    Error #0:
    OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; apt-get update 2>&1' with exit code '100': Get:1 file:/var/cache/openmediavault/archives InRelease
    Ign:1 file:/var/cache/openmediavault/archives InRelease
    Get:2 file:/var/cache/openmediavault/archives Release
    Ign:2 file:/var/cache/openmediavault/archives Release
    Get:3 file:/var/cache/openmediavault/archives Packages
    Ign:3 file:/var/cache/openmediavault/archives Packages
    Get:4 file:/var/cache/openmediavault/archives Translation-en
    Ign:4 file:/var/cache/openmediavault/archives Translation-en
    Get:3 file:/var/cache/openmediavault/archives Packages
    Ign:3 file:/var/cache/openmediavault/archives Packages
    Get:4 file:/var/cache/openmediavault/archives Translation-en
    Ign:4 file:/var/cache/openmediavault/archives Translation-en
    Get:3 file:/var/cache/openmediavault/archives Packages
    Ign:3 file:/var/cache/openmediavault/archives Packages
    Get:4 file:/var/cache/openmediavault/archives Translation-en
    Ign:4 file:/var/cache/openmediavault/archives Translation-en
    Get:3 file:/var/cache/openmediavault/archives Packages
    Ign:3 file:/var/cache/openmediavault/archives Packages
    Get:4 file:/var/cache/openmediavault/archives Translation-en
    Ign:4 file:/var/cache/openmediavault/archives Translation-en
    Get:3 file:/var/cache/openmediavault/archives Packages
    Ign:3 file:/var/cache/openmediavault/archives Packages
    Get:4 file:/var/cache/openmediavault/archives Translation-en
    Ign:4 file:/var/cache/openmediavault/archives Translation-en
    Get:3 file:/var/cache/openmediavault/archives Packages
    Ign:3 file:/var/cache/openmediavault/archives Packages
    Get:4 file:/var/cache/openmediavault/archives Translation-en
    Ign:4 file:/var/cache/openmediavault/archives Translation-en
    Get:3 file:/var/cache/openmediavault/archives Packages
    Get:4 file:/var/cache/openmediavault/archives Translation-en
    Ign:4 file:/var/cache/openmediavault/archives Translation-en
    Hit:5 http://security.debian.org/debian-security buster/updates InRelease
    Ign:6 http://httpredir.debian.org/debian buster-backports InRelease
    Err:7 http://httpredir.debian.org/debian buster-backports Release 404 Not Found [IP: 151.101.118.132 80]
    Get:8 https://download.docker.com/linux/debian buster InRelease [53.9 kB]
    Get:9 https://openmediavault.github.io/packages usul InRelease [12.7 kB]
    Get:10 https://openmediavault-plugin-…github.io/packages/debian usul InRelease [3928 B]
    Get:11 https://openmediavault-plugin-…github.io/packages/debian usul-testing InRelease [3932 B]
    Get:12 https://openmediavault-plugin-…github.io/packages/debian usul-extras InRelease [3918 B]
    Hit:13 http://deb.debian.org/debian buster InRelease
    Hit:14 http://deb.debian.org/debian buster-updates InRelease
    Hit:15 https://linux.teamviewer.com/deb stable InRelease
    Hit:16 http://packages.openmediavault.org/public usul InRelease
    Reading package lists...

    E: The repository 'http://httpredir.debian.org/debian buster-backports Release' no longer has a Release file. in /usr/share/openmediavault/engined/rpc/apt.inc:245
    Stack trace:
    #0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): Engined\Rpc\Apt->Engined\Rpc\{closure}('/tmp/bgstatushW...', '/tmp/bgoutputyM...')
    #1 /usr/share/openmediavault/engined/rpc/apt.inc(249): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
    #2 [internal function]: Engined\Rpc\Apt->update(NULL, Array)
    #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('update', NULL, Array)
    #5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Apt', 'update', NULL, Array, 1)
    #6 {main}


    Thanks for any direction to fixing this.


    Andrew

    5.6.26-1 (Usul)
    Intel(R) Core(TM) i7 CPU 920 @920 2.67GHz
    Linux 5.10.0-0.deb10.16-amd64
    1 M4-CT128M4SSD2 > OMV
    3 x 2TB WD Red (Raid 5)
    1 4TB WD External Drive

    • Official Post

    It would be advisable to do a new installation of OMV7. But if you want to follow the path of updating OMV5 to OMV6 and then OMV6 to OMV7, you will have to resolve that error first. To do this you just have to disable backports and you should be able to run the update.

  • Thank you both for the replies, I will look into both suggestions. I am nervous to lose all my data. =O

    5.6.26-1 (Usul)
    Intel(R) Core(TM) i7 CPU 920 @920 2.67GHz
    Linux 5.10.0-0.deb10.16-amd64
    1 M4-CT128M4SSD2 > OMV
    3 x 2TB WD Red (Raid 5)
    1 4TB WD External Drive

    • Official Post

    Thank you both for the replies, I will look into both suggestions. I am nervous to lose all my data.

    Hmmm... If you don't already have a backup of your data I suggest you make it for the next 30 minutes and update it regularly for the rest of your life. You will never feel that fear again. ;)

  • Hmmm... If you don't already have a backup of your data I suggest you make it for the next 30 minutes and update it regularly for the rest of your life. You will never feel that fear again. ;)

    :D LOL My luck that will crash while I'm doing the upgrade.

    Thanks again

    5.6.26-1 (Usul)
    Intel(R) Core(TM) i7 CPU 920 @920 2.67GHz
    Linux 5.10.0-0.deb10.16-amd64
    1 M4-CT128M4SSD2 > OMV
    3 x 2TB WD Red (Raid 5)
    1 4TB WD External Drive

  • If you (or someone else) still need to use systems based on Buster (debian 10) for a little while longer I recommend to add the elts support repositories for additional security updates (although limited).

    LTS/Extended - Debian Wiki

    How to use Extended LTS
    Adding extended LTS repositories to APT Installing the freexian archive GPG key The extended LTS repositories are signed with the following GPG key: sec…
    www.freexian.com


    About repository archived that give error like backports of the first message, need to change the url to archive:

    Code
    E: The repository 'http://httpredir.debian.org/debian buster-backports Release' no longer has a Release file.

    I mean change http://httpredir.debian.org/debian to http://archive.debian.org/debian/ in the backports line of your apt source.list

    • New
    • Official Post

    If you (or someone else) still need to use systems based on Buster (debian 10) for a little while longer I recommend to add the elts support repositories for additional security updates (although limited).

    OMV 5.x is long EOL and not supported though. You really should update to omv 6 then omv 7.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.3 | k8s 7.2.0-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    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!

  • You can delete this file.


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


    Remember to backup this file. And I also use omv5. ;)

Participate now!

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