Error after updating to OMV 5.6.4-1

  • Hi,


    after updating to 5.6.4-1 when I check for new updates I get these errors

    Code
    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://packages.openmediavault.org/public usul InRelease Hit:7 http://deb.debian.org/debian buster InRelease Hit:8 http://deb.debian.org/debian buster-updates InRelease Hit:9 http://httpredir.debian.org/debian buster-backports InRelease Get:10 https://openmediavault.github.io/packages usul InRelease [12.7 kB] Hit:11 https://openmediavault-plugin-developers.github.io/packages/debian usul InRelease Hit:12 https://download.docker.com/linux/debian buster InRelease Err:13 http://linux.teamviewer.com/deb stable InRelease 403 Forbidden [IP: 65.9.73.111 80] Reading package lists... E: Failed to fetch http://linux.teamviewer.com/deb/dists/stable/InRelease 403 Forbidden [IP: 65.9.73.111 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 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

    and

    I didn't install any new plugin or docker container after update to 5.6.4-1

  • From CLI


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


    ad a "#" in front of the line which contains teamviewer

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

    Ctrl+x

    and

    y

    to close nano and safe the file

    then

    omv-upgrade

  • I don't have teamviewer


    I have only :


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

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


    What do I do

  • Had the same issue on 2 installs. The above commenting out of teamviewer repo has fixed both installs for me.

  • That fixed my issue.

    Thank you.

  • macom

    Added the Label OMV 5.x
  • macom

    Added the Label resolved

  • root@OMMJAI:~# sudo omv-salt deploy run apt

    debian:

    Code
    ID: configure_apt_sources_list_openmediavault
    Function: file.managed Name: /etc/apt/sources.list.d/openmediavault.list Result: True Comment: File /etc/apt/sources.list.d/openmediavault.list is in the correct state Started: 09:54:37.291562
    Duration: 51.251 ms Changes:
    Code
    ID: remove_apt_proxy
    Function: file.absent Name: /etc/apt/apt.conf.d/99openmediavault-proxy Result: True Comment: File /etc/apt/apt.conf.d/99openmediavault-proxy is not present Started: 09:54:37.342974
    Duration: 0.663 ms Changes:
    Code
    ID: configure_apt_pref_kernel_backports
    Function: file.managed Name: /etc/apt/preferences.d/openmediavault-kernel-backports.pref Result: True Comment: File /etc/apt/preferences.d/openmediavault-kernel-backports.pref is in the correct state Started: 09:54:37.343758
    Duration: 9.672 ms Changes:
    Code
    ID: configure_apt_sources_list_kernel_backports
    Function: file.managed Name: /etc/apt/sources.list.d/openmediavault-kernel-backports.list Result: True Comment: File /etc/apt/sources.list.d/openmediavault-kernel-backports.list is in the correct state Started: 09:54:37.353553
    Duration: 11.182 ms Changes:
    Code
    ID: remove_apt_sources_list_debian_security
    Function: file.absent Name: /etc/apt/sources.list.d/openmediavault-debian-security.list Result: True Comment: File /etc/apt/sources.list.d/openmediavault-debian-security.list is not present Started: 09:54:37.364860
    Duration: 0.618 ms Changes:
    Code
    ID: remove_apt_sources_list_security_0
    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 2154, in call *cdata["args"], **cdata["kwargs"] File "/usr/lib/python3/dist-packages/salt/loader.py", line 2106, 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 422, in run _func, returner=kwargs.get("returner"), func_args=kwargs.get(func) File "/usr/lib/python3/dist-packages/salt/states/module.py", line 467, 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/modules/aptpkg.py", line 1882, in del_repo refresh_db() File "/usr/lib/python3/dist-packages/salt/modules/aptpkg.py", line 402, in refresh_db raise CommandExecutionError(comment) salt.exceptions.CommandExecutionError: E: Failed to fetch http://linux.teamviewer.com/deb/dists/stable/InRelease 403 Forbidden [IP: 13.227.166.112 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:1 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:1 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:1 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:1 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:1 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:1 Started: 09:54:37.366609
    Duration: 7331.455 ms Changes:
    Code
    ID: configure_apt_sources_list_os_security
    Function: file.managed Name: /etc/apt/sources.list.d/openmediavault-os-security.list Result: True Comment: File /etc/apt/sources.list.d/openmediavault-os-security.list updated Started: 09:54:44.698598
    Duration: 53.925 ms Changes: ---------- diff: --- +++ @@ -1 +1,2 @@ +deb http://security.debian.org/debian-security buster/updates main contrib non-free deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
    Code
    ID: refresh_apt_database
    Function: module.run Name: pkg.refresh_db Result: True Comment: Started: 09:54:44.753175
    Duration: 1.375 ms Changes:


    Summary for debian


    Succeeded: 7 (changed=1)

    Failed: 1

    Total states run: 8

    Total run time: 7.460 s

    `

Participate now!

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