Error message after updating with the OMV GUI (5.6.4-1 USUL)

  • Just a heads up. I am a complete noob when it comes to OMV. After updating some items in the Update Management Tab I received an error. I am now seeing the following when checking for updates:


    After doing some brief reading it looks like something is wrong with the sources.ist file. But I'm not sure how to go about fixing this. Any help is appreciated.


    Cheers,


    --------------------------------------------------------------------------------------------------------------------


    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

    Hit:6 http://deb.debian.org/debian buster InRelease

    Hit:7 https://download.docker.com/linux/debian buster 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 InRelease

    Err:11 https://dl.bintray.com/openmediavault-plugin-developers/usul buster InRelease

    403 Forbidden [IP: 34.215.63.224 443]

    Err:12 https://dl.bintray.com/openmed…in-developers/usul-extras buster InRelease

    403 Forbidden [IP: 34.215.63.224 443]

    Hit:13 http://linux.teamviewer.com/deb stable InRelease

    Reading package lists...


    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

    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 (main/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 https://dl.bintray.com/openmed…ul/dists/buster/InRelease 403 Forbidden [IP: 34.215.63.224 443]

    E: The repository 'https://dl.bintray.com/openmediavault-plugin-developers/usul buster InRelease' is not signed.

    E: Failed to fetch https://dl.bintray.com/openmed…as/dists/buster/InRelease 403 Forbidden [IP: 34.215.63.224 443]

    E: The repository 'https://dl.bintray.com/openmediavault-plugin-developers/usul-extras buster InRelease' is not 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/bgstatuslM...', '/tmp/bgoutputZB...')

    #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}

  • ryecoaaron

    Hat das Thema freigeschaltet.
  • Hello,

    I have the same problem. Was there a problem with the last OMV update ?

    I used OMV for several years and never had this issue.

    If someone could help it would be appreciated.

    Thanks in advance.


    Here's the error message:


    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-backports InRelease
    Hit:7 https://download.docker.com/linux/debian buster InRelease
    Hit:8 https://openmediavault.github.io/packages usul InRelease
    Hit:9 http://httpredir.debian.org/debian buster-backports InRelease
    Hit:10 http://packages.openmediavault.org/public usul InRelease
    Hit:11 http://ftp.fr.debian.org/debian buster InRelease
    Hit:12 https://openmediavault-plugin-…github.io/packages/debian usul InRelease
    Hit:13 https://openmediavault-plugin-…github.io/packages/debian usul-extras InRelease
    Hit:14 http://ftp.fr.debian.org/debian buster-updates InRelease
    Err:15 http://linux.teamviewer.com/deb stable InRelease 403 Forbidden [IP: 2600:9000:20e1:f400:1c:3aaa:b100:93a1 80]
    Reading package lists...

    E: Failed to fetch http://linux.teamviewer.com/deb/dists/stable/InRelease 403 Forbidden [IP: 2600:9000:20e1:f400:1c:3aaa:b100:93a1 80]
    E: The repository 'http://linux.teamviewer.com/deb stable InRelease' is not signed.

  • Bash
    cp /etc/apt/sources.list.d/omvextras.list /tmp/omvextras.list_backup 
    grep -v teamviewer /tmp/omvextras.list_backup > /etc/apt/sources.list.d/omvextras.list
    omv-update
    • Offizieller Beitrag

    Please disable it the right way...


    sudo omv-env set OMV_DISABLE_TEAMVIEWER yes

    sudo omv-salt stage run prepare

    sudo omv-salt deploy run omvextras

    sudo omv-upgrade

  • Thank you, this fixed the issue. How do you guys remember so much commands, seriously?

    • Offizieller Beitrag

    How do you guys remember so much commands, seriously?

    12+ years of OMV and writing a lot of plugins.

  • This did not work for me. When I run omv-salt deploy run omvextras 2 succeeded and 1 failed so maybe that's why?.


    --

    ID: configure_apt_sources_list_omvextras

    Function: file.managed

    Name: /etc/apt/sources.list.d/omvextras.list

    Result: True

    Comment: File /etc/apt/sources.list.d/omvextras.list updated

    Started: 05:39:39.386179

    Duration: 40.634 ms

    Changes:

    ----------

    diff:

    ---

    +++

    @@ -1,4 +1,3 @@


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

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

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

    ----------

    ID: configure_apt_pref_omvextras

    Function: file.managed

    Name: /etc/apt/preferences.d/omvextras.pref

    Result: True

    Comment: File /etc/apt/preferences.d/omvextras.pref is in the correct state

    Started: 05:39:39.426928

    Duration: 6.641 ms

    Changes:

    ----------

    ID: refresh_database_apt

    Function: module.run

    Name: pkg.refresh_db

    Result: False

    Comment: No function provided.

    Started: 05:39:39.434102

    Duration: 0.446 ms

    Changes:


    Summary for debian

    ------------

    Succeeded: 2 (changed=1)

    Failed: 1

    ------------

    Total states run: 3

    Total run time: 47.721 ms


    When I run omv-upgrade I get:


    root@OpenMediaVault:~# omv-upgrade

    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 [1067 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://httpredir.debian.org/debian buster-backports InRelease

    Hit:8 http://deb.debian.org/debian buster-updates InRelease

    Get:9 https://download.docker.com/linux/debian buster InRelease [54.0 kB]

    Get:10 https://openmediavault.github.io/packages usul InRelease [12.7 kB]

    Err:11 https://dl.bintray.com/openmediavault-plugin-developers/usul buster InRel ease

    403 Forbidden [IP: 52.42.244.191 443]

    Hit:12 http://packages.openmediavault.org/public usul InRelease

    Reading package lists... Done

    E: Failed to fetch https://dl.bintray.com/openmed…t-plugin-developers/usul/ dists/buster/InRelease 403 Forbidden [IP: 52.42.244.191 443]

    E: The repository 'https://dl.bintray.com/openmediavault-plugin-developers/usul buster InRelease' is no longer signed.

    N: Updating from such a repository can't be done securely, and is therefore disa bled by default.

    N: See apt-secure(8) manpage for repository creation and user configuration deta ils.


    Total noob here and first post so I apologize for my ignorance in advance.

    • Offizieller Beitrag

    This did not work for me. When I run omv-salt deploy run omvextras 2 succeeded and 1 failed so maybe that's why?.

    omv-extras repos moving to github

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.11 | compose 7.1.3 | k8s 7.1.0-3 | cputemp 7.0 | mergerfs 7.0.3


    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!

  • So I ran

    wget -O - https://github.com/OpenMediaVa…ckages/raw/master/install


    Then apt update but it still appears to be looking at bintray instead of github


    Err:12 https://dl.bintray.com/openmediavault-plugin-developers/usul buster InRelease

    403 Forbidden [IP: 52.42.244.191 443]

    Reading package lists... Done

    E: Failed to fetch https://dl.bintray.com/openmed…ul/dists/buster/InRelease 403 Forbidden [IP: 52.42.244.191 443]

    E: The repository 'https://dl.bintray.com/openmediavault-plugin-developers/usul buster InRelease' is no longer signed.

    N: Updating from such a repository can't be done securely, and is therefore disabled by default.

    N: See apt-secure(8) manpage for repository creation and user configuration details.


    What am I missing?

    • Offizieller Beitrag

    If you run it like this, you downloaded the script but you did not execute it.


    This is the command to run as root:


    wget -O - https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install | bash

  • Tried that but still looking to bintray. Can I change the repo manually? Maybe it didn't change when I ran the command.


    root@OpenMediaVault:~# wget -O - https://github.com/OpenMediaVa…ckages/raw/master/install

    --2021-07-11 04:04:58-- https://github.com/OpenMediaVa…ckages/raw/master/install

    Resolving github.com (github.com)... 140.82.112.3

    Connecting to github.com (github.com)|140.82.112.3|:443... connected.

    HTTP request sent, awaiting response... 302 Found

    Location: https://raw.githubusercontent.…s/packages/master/install [following]

    --2021-07-11 04:04:59-- https://raw.githubusercontent.…s/packages/master/install

    Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.111.133, 185.199.110.133, 185.199.109.133, ...

    Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443... connected.

    HTTP request sent, awaiting response... 200 OK

    Length: 922 [text/plain]

    Saving to: ‘STDOUT’


    - 0%[ ] 0 --.-KB/s #!/bin/bash


    declare -i version


    url="https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/"


    version=$(dpkg -l openmediavault | awk '$2 == "openmediavault" { print substr($3,1,1) }')


    echo ${version}


    if [ ${version} -lt 4 ]; then

    echo "Unsupported version of openmediavault"

    exit 0

    fi


    echo "Downloading omv-extras.org plugin for openmediavault ${version}.x ..."

    file="openmediavault-omvextrasorg_latest_all${version}.deb"


    echo "Updating repos before installing..."

    apt-get update


    echo "Install prerequisites..."

    apt-get --yes --no-install-recommends install dirmngr gnupg


    if [ -f "${file}" ]; then

    rm ${file}

    fi

    wget ${url}/${file}

    if [ -f "${file}" ]; then

    dpkg -i ${file}


    if [ $? -gt 0 ]; then

    echo "Installing other dependencies ..."

    apt-get -f install

    fi


    echo "Updating repos ..."

    apt-get update

    else

    echo "There was a problem downloading the package."

    fi


    exit 0


    - 100%[===================>] 922 --.-KB/s in 0s


    2021-07-11 04:04:59 (52.6 MB/s) - written to stdout [922/922]

    • Offizieller Beitrag

    Maybe it didn't change when I ran the command.

    You keep dropping the pipe to bash. | bash That is an essential part. Otherwise, you are just downloading the script.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.11 | compose 7.1.3 | k8s 7.1.0-3 | cputemp 7.0 | mergerfs 7.0.3


    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!

  • For me it doesn't work too:

    pi@raspberrypi:~ $ sudo omv-salt deploy run omvextras

    raspberrypi:

    ----------

    ID: omvextrasbaserepo

    Function: pkgrepo.managed

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

    Result: True

    Comment: Package repo 'deb https://openmediavault-plugin-…github.io/packages/debian usul main' already configured

    Started: 11:08:22.541912

    Duration: 339.565 ms

    Changes:

    ----------

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

    Function: pkgrepo.absent

    Result: True

    Comment: Package repo deb https://openmediavault-plugin-…github.io/packages/debian usul-testing main is absent

    Started: 11:08:22.881872

    Duration: 160.326 ms

    Changes:

    ----------

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

    Function: pkgrepo.absent

    Result: True

    Comment: Package repo deb https://openmediavault-plugin-…github.io/packages/debian usul-extras main is absent

    Started: 11:08:23.042588

    Duration: 161.602 ms

    Changes:

    ----------

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

    Function: pkgrepo.managed

    Result: True

    Comment: Package repo 'deb [arch=armhf] https://download.docker.com/linux/debian buster stable' already configured

    Started: 11:08:23.204585

    Duration: 382.981 ms

    Changes:

    ----------

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

    Function: pkgrepo.absent

    Result: True

    Comment: Package repo deb http://linux.teamviewer.com/deb stable main is absent

    Started: 11:08:23.587950

    Duration: 159.935 ms

    Changes:

    ----------

    ID: configure_apt_pref_omvextras

    Function: file.managed

    Name: /etc/apt/preferences.d/omvextras.pref

    Result: True

    Comment: File /etc/apt/preferences.d/omvextras.pref is in the correct state

    Started: 11:08:23.752933

    Duration: 128.175 ms

    Changes:

    ----------

    ID: refresh_database_apt

    Function: module.run

    Result: False

    Comment: An exception occurred in this state: Traceback (most recent call last):

    File "/usr/lib/python3/dist-packages/salt/state.py", line 2172, in call

    *cdata["args"], **cdata["kwargs"]

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 1235, in __call__

    return self.loader.run(run_func, *args, **kwargs)

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 2268, in run

    return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 2283, in _run_as

    return _func_or_method(*args, **kwargs)

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 2316, in wrapper

    return f(*args, **kwargs)

    File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 746, in _decorate

    return self._call_function(kwargs)

    File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 377, in _call_function

    six.reraise(*sys.exc_info())

    File "/usr/lib/python3/dist-packages/salt/ext/six.py", line 693, in reraise

    raise value

    File "/usr/lib/python3/dist-packages/salt/utils/decorators/__init__.py", line 360, in _call_function

    return self._function(*args, **kwargs)

    File "/usr/lib/python3/dist-packages/salt/states/module.py", line 428, in run

    _func, returner=kwargs.get("returner"), func_args=kwargs.get(func)

    File "/usr/lib/python3/dist-packages/salt/states/module.py", line 473, in _call_function

    mret = salt.utils.functools.call_function(__salt__[name], *func_args, **func_kwargs)

    File "/usr/lib/python3/dist-packages/salt/utils/functools.py", line 159, in call_function

    return salt_function(*function_args, **function_kwargs)

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 1235, in __call__

    return self.loader.run(run_func, *args, **kwargs)

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 2268, in run

    return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)

    File "/usr/lib/python3/dist-packages/salt/loader.py", line 2283, in _run_as

    return _func_or_method(*args, **kwargs)

    File "/usr/lib/python3/dist-packages/salt/modules/aptpkg.py", line 406, in refresh_db

    raise CommandExecutionError(comment)

    salt.exceptions.CommandExecutionError: E: Failed to fetch https://dl.bintray.com/openmed…ul/dists/buster/InRelease 403 Forbidden [IP: 54.69.109.244 443]

    E: The repository 'https://dl.bintray.com/openmediavault-plugin-developers/usul buster InRelease' is not signed.

    Started: 11:08:23.883072

    Duration: 15181.114 ms

    Changes:


    Summary for raspberrypi

    ------------

    Succeeded: 6

    Failed: 1


    If I use:

    sudo wget -O - https://github.com/OpenMediaVa…ckages/raw/master/install | bash


    I get a privilege error (will the sudo command not used in the pipe?


    pi@raspberrypi:~ $ sudo wget -O - https://github.com/OpenMediaVa…ckages/raw/master/install | bash

    --2021-07-22 11:11:56-- https://github.com/OpenMediaVa…ckages/raw/master/install

    Resolving github.com (github.com)... 140.82.121.4

    Connecting to github.com (github.com)|140.82.121.4|:443... connected.

    HTTP request sent, awaiting response... 302 Found

    Location: https://raw.githubusercontent.…s/packages/master/install [following]

    --2021-07-22 11:11:56-- https://raw.githubusercontent.…s/packages/master/install

    Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.109.133, ...

    Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.

    HTTP request sent, awaiting response... 200 OK

    Length: 1011 [text/plain]

    Saving to: ‘STDOUT’


    - 100%[==============================================================================================>] 1011 --.-KB/s in 0s


    2021-07-22 11:11:57 (5.09 MB/s) - written to stdout [1011/1011]


    5

    rm: cannot remove '/etc/apt/sources.list.d/omvextras.list': Permission denied

    Downloading omv-extras.org plugin for openmediavault 5.x ...

    Updating repos before installing...

    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)

    Install prerequisites...

    E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)

    E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

    --2021-07-22 11:11:57-- https://github.com/OpenMediaVa…extrasorg_latest_all5.deb

    Resolving github.com (github.com)... 140.82.121.4

    Connecting to github.com (github.com)|140.82.121.4|:443... connected.

    HTTP request sent, awaiting response... 302 Found

    Location: https://raw.githubusercontent.…extrasorg_latest_all5.deb [following]

    --2021-07-22 11:11:57-- https://raw.githubusercontent.…extrasorg_latest_all5.deb

    Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.111.133, 185.199.109.133, ...

    Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.

    HTTP request sent, awaiting response... 200 OK

    Length: 67544 (66K) [application/octet-stream]

    Saving to: ‘openmediavault-omvextrasorg_latest_all5.deb’


    openmediavault-omvextrasorg_latest_all5.deb 100%[==============================================================================================>] 65.96K --.-KB/s in 0.02s


    2021-07-22 11:11:58 (2.67 MB/s) - ‘openmediavault-omvextrasorg_latest_all5.deb’ saved [67544/67544]


    dpkg: error: requested operation requires superuser privilege

    Installing other dependencies ...

    E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)

    E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

    Updating repos ...

    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)


    :(

Jetzt mitmachen!

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