unable to update

  • Hello,


    I'm currently running a OMV5 install on my NAS.

    The initial setup went fine, OMV was up and running in.

    However, since a few config I've been unable to update due an error…


    Any suggestions of steps I could take?

    Thanks!



    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 https://openmediavault.github.io/packages usul InRelease Hit:8 http://deb.debian.org/debian buster-updates InRelease Hit:9 http://linux.teamviewer.com/deb stable InRelease Hit:10 https://download.docker.com/linux/debian buster InRelease Hit:11 http://packages.openmediavault.org/public usul InRelease Ign:12 https://dl.bintray.com/openmed…n-developers/arrakis-plex {distribution} InRelease Hit:13 http://httpredir.debian.org/debian buster-backports InRelease Ign:14 https://dl.bintray.com/openmediavault-plugin-developers/usul buster InRelease Ign:15 https://dl.bintray.com/openmed…n-developers/usul-testing buster InRelease Ign:16 https://dl.bintray.com/openmed…in-developers/usul-extras buster InRelease Err:17 https://dl.bintray.com/openmed…n-developers/arrakis-plex {distribution} Release 404 Not Found [IP: 52.28.1.196 443] Get:18 https://dl.bintray.com/openmediavault-plugin-developers/usul buster Release [4363 B] Get:19 https://dl.bintray.com/openmed…n-developers/usul-testing buster Release [3538 B] Get:20 https://dl.bintray.com/openmed…in-developers/usul-extras buster Release [3538 B] Reading package lists... E: The repository 'https://dl.bintray.com/openmediavault-plugin-developers/arrakis-plex {distribution} Release' does not have a Release file. W: Target Packages ({components}/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list:23 W: Target Packages ({components}/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list:23 W: Target Translations ({components}/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list:23 W: Target Packages ({components}/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list:24 W: Target Packages ({components}/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list:24 W: Target Translations ({components}/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list:24 W: Target Packages ({components}/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list:25 W: Target Packages ({components}/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list:25 W: Target Translations ({components}/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list:25 W: Target Packages ({components}/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list:26 W: Target Packages ({components}/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list:26 W: Target Translations ({components}/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list:26

  • Here is what I would do if the output above does not show anything about plex:


    Somewhere is /etc/apt is the plex repo listed. Check

    nano /etc/apt/sources.list.d/omvextras.list

    if you find a line with plex, comment it out by adding a "#" in front of the line.

    After that omv-upgrade

  • nano /etc/apt/sources.list.d/omvextras.list


    :


    [ File '/etc/apt/sources.list.d/omvextras.list' is unwritable ]


    deb https://dl.bintray.com/openmediavault-plugin-developers/usul buster main

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

    deb http://linux.teamviewer.com/deb stable main

    deb https://dl.bintray.com/openmed…n-developers/usul-testing buster$

    deb https://dl.bintray.com/openmed…in-developers/usul-extras buster $

  • I too have the same problem. I see it mentioned many times.

    I tried to follow the recommendations in the error message but found nothing.

    I only have FTP, NFS, SAMBA installed. Not Docker, etc mentioned in earlier messages.

    I've tried all possible updates, etc to resolve it.


    Any solutions available?

    Bo, W4GHV since '54

    https://www/qrz.com/W4GHV

  • I just tried the sources list idea above and it doesn't help. It needs sudo and one line was noted as incorrect in the error messages and the $ at the end of two lines cause errors.

    Nice try.

    Brand new install and i cannot update or APPLY changes.

    It did one initial update and that's it.


    No more ideas seen in the error messages unfortunately


    Bo

  • try:


    sudo sed -i "/bintray/d" /etc/apt/sources.list

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

    sudo omv-salt deploy run apt

    omv 5.5.2 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Hej

    I would like to ask again,

    After this commands :

    try:


    sudo sed -i "/bintray/d" /etc/apt/sources.list

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

    sudo omv-salt deploy run apt



    I am not able to update!

    And after attempt to install :


    openmediavault-omvextrasorg_latest_all5.deb


    I get an error:



    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 [1069 B] 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 http://security.debian.org/debian-security buster/updates InRelease Hit:7 http://packages.openmediavault.org/public usul InRelease Hit:8 http://deb.debian.org/debian buster-updates InRelease Hit:9 https://openmediavault.github.io/packages usul InRelease Hit:10 http://packages.openmediavault.org/public usul-proposed InRelease Hit:11 http://httpredir.debian.org/debian buster-backports InRelease Ign:12 https://dl.bintray.com/openmed…in-developers/usul-extras {distribution} InRelease Err:13 https://dl.bintray.com/openmed…in-developers/usul-extras {distribution} Release 404 Not Found [IP: 52.28.146.70 443] Reading package lists... E: The repository 'https://dl.bintray.com/openmediavault-plugin-developers/usul-extras {distribution} Release' does not have a Release file. W: Target Packages ({components}/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list:23 W: Target Packages ({components}/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list:23 W: Target Translations ({components}/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list:23



    UPS

    What to do____????

  • apt-get update

    Reading package lists... Done

    $ E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)

    E: Unable to lock directory /var/lib/apt/lists/

    W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)

    W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)

  • I get an error:

    I'm guessing you had an error in the omv-salt command. You should post the output of the following:


    sudo omv-salt deploy run apt

    sudo salt-call grains.get oscodename

    omv 5.5.2 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

    Edited 2 times, last by ryecoaaron ().

Participate now!

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