Broken update ? Error #0:

  • Found my ovm VP with error checking for updates.

    Anybody else see this?


    Thx

    =================


    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://deb.debian.org/debian buster InRelease
    Hit:6 https://download.docker.com/linux/debian buster InRelease
    Hit:7 http://security.debian.org/debian-security buster/updates InRelease
    Hit:8 http://deb.debian.org/debian buster-updates InRelease
    Hit:9 https://openmediavault-plugin-…github.io/packages/debian usul InRelease
    Hit:10 https://openmediavault.github.io/packages usul InRelease
    Hit:11 http://httpredir.debian.org/debian buster-backports InRelease
    Err:12 http://linux.teamviewer.com/deb stable InRelease 403 Forbidden [IP: 65.8.17.126 80]
    Hit:13 http://packages.openmediavault.org/public usul InRelease
    Reading package lists...

    W
    :
    Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:2

    W
    :
    Target Sources (contrib/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:2

    W
    :
    Target Sources (non-free/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:2

    E
    :
    Failed to fetch http://linux.teamviewer.com/deb/dists/stable/InRelease 403 Forbidden [IP: 65.8.17.126 80]

    E
    :
    The repository 'http://linux.teamviewer.com/deb stable InRelease' is no longer signed.

    W
    :
    Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:2

    W
    :
    Target Sources (contrib/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:2

    W
    :
    Target Sources (non-free/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:2 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/bgstatus31...', '/tmp/bgoutput3B...')
    #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}

  • Possible upstream site is down


    CRON-APT RUN [/etc/cron-apt/config]: Thu Apr 15 08:31:07 PDT 2021

    CRON-APT SLEEP: 1580, Thu Apr 15 08:57:27 PDT 2021

    CRON-APT ACTION: 0-update

    CRON-APT LINE: /usr/bin/apt-get update -o quiet=2

    W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:2

    W: Target Sources (contrib/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:2

    W: Target Sources (non-free/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:2

    E: Failed to fetch http://linux.teamviewer.com/deb/dists/stable/InRelease 403 Forbidden [IP: 13.35.121.24 80]

    E: The repository 'http://linux.teamviewer.com/deb stable InRelease' is no longer signed.

    W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:2

    W: Target Sources (contrib/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:2

    W: Target Sources (non-free/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:2

  • Dear all,


    it is not only teamviewer, but also that 2 sources are configured: See initial post:

    Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:10 and /etc/apt/sources.list.d/openmediavault-os-security.list:2


    There are 2 files referring to the same source which seems to be a problem:

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


    I resolved the issue by commenting out the double entry in /etc/apt/sources.list.

    Code
    sudo nano  /etc/apt/sources.list
    Code
    # deb-src http://security.debian.org/debian-security buster/updates main contrib non-free


    Ctrl+X to save, Y to confirm.


    Then updates run through without errors.


    I assume the error has been introduced by activating the automatical security-updating with the (presumably then newly created) file /etc/apt/sources.list.d/openmediavault-os-security.list.

  • I'm seeing the update error too, but don't have that duplicate entry in /etc/apt/sources.list. See ryecoaaron / macom 's reply links?

    EDIT: Addendum, my command-line apt update is reporting duplicate entries in a sub-file at /etc/apt/sources.list.d/openmediavault-os-security.list versus /etc/apt/sources.list with that security entry. I commented it out in the mainfile.

    omv 5.6.4-1 usul | 64 bit | 5.10.0-0.bpo.5-amd64 kernel | omvextrasorg 5.6

    Edited 2 times, last by michielhimself ().

Participate now!

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