I've found the solution.
I had to remove the source list file for docker as well.
rm /etc/apt/sources.list.d/docker.list
Thanks for your help.
I've found the solution.
I had to remove the source list file for docker as well.
rm /etc/apt/sources.list.d/docker.list
Thanks for your help.
Still no change
root@PlexServer:~# sudo update-ca-certificates -f
Clearing symlinks in /etc/ssl/certs...
done.
Updating certificates in /etc/ssl/certs...
137 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
root@PlexServer:~# curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
File '/usr/share/keyrings/docker-archive-keyring.gpg' exists. Overwrite? (y/N) y
root@PlexServer:~# sudo apt-key add /usr/share/keyrings/docker-archive-keyring.gpg
OK
root@PlexServer:~# sudo apt-get update
E: Conflicting values set for option Signed-By regarding source https://download.docker.com/linux/debian/ buster: /usr/share/keyrings/docker-archive-keyring.gpg !=
E: The list of sources could not be read.
root@PlexServer:~#
strange - still the exact same error message.
still no change.
deleted the file and same problem.
Sorry. Text pasted below.
login as: root
root@192.168.1.101's password:
Linux PlexServer 5.10.0-0.bpo.8-amd64 #1 SMP Debian 5.10.46-2~bpo10+1 (2021-07-2 2) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Aug 14 00:41:39 2021 from 192.168.1.113
root@PlexServer:~# sudo omv-salt deploy run omvextras
debian:
----------
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: 01:07:20.935852
Duration: 100.721 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: 01:07:21.036795
Duration: 36.004 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: 01:07:21.072954
Duration: 30.942 ms
Changes:
----------
ID: deb [arch=amd64] https://download.docker.com/linux/debian buster stable
Function: pkgrepo.managed
Result: True
Comment: Package repo 'deb [arch=amd64] https://download.docker.com/linux/debian buster stable' already configured
Started: 01:07:21.104009
Duration: 102.575 ms
Changes:
----------
ID: deb http://linux.teamviewer.com/deb stable main
Function: pkgrepo.managed
Result: True
Comment: Package repo 'deb http://linux.teamviewer.com/deb stable main' already configured
Started: 01:07:21.206717
Duration: 52.592 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: 01:07:21.278868
Duration: 29.801 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: Conflicting values set for option Signed-By regarding source https://download.docker.com/linux/debian/ buster: /usr/share/keyrings/docker-archive-keyring.gpg !=
E: The list of sources could not be read.
Started: 01:07:21.321165
Duration: 59.258 ms
Changes:
Summary for debian
------------
Succeeded: 6
Failed: 1
------------
Total states run: 7
Total run time: 411.893 ms
root@PlexServer:~# apt-get update
E: Conflicting values set for option Signed-By regarding source https://download.docker.com/linux/debian/ buster: /usr/share/keyrings/docker-archive-keyring.gpg !=
E: The list of sources could not be read.
Thanks for the response but no luck. I've attached a screenshot (sorry about the format - I did it from my phone).
Hi All,
I recently did a new install of OMV 5 (about a month ago) and everything was working fine. Since then I installed home assistant (supervised) in a docker container. I followed a youtube tutorial for this as I couldn't figure out how to get the supervised version otherwise. In that toutorial I was instructed to update some things and alter files manually and since then I cant update OMV and apt-get update doesnt work either.
When trying to update using the OMV GUI I get the following 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': E: Conflicting values set for option Signed-By regarding source https://download.docker.com/linux/debian/ buster: /usr/share/keyrings/docker-archive-keyring.gpg != E: The list of sources could not be read.
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': E: Conflicting values set for option Signed-By regarding source https://download.docker.com/linux/debian/ buster: /usr/share/keyrings/docker-archive-keyring.gpg !=
E: The list of sources could not be read. 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/bgstatusHp...', '/tmp/bgoutputdy...')
#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}
When using apt-get update in the terminal it returns the following:
E: Conflicting values set for option Signed-By regarding source https://download.docker.com/linux/debian/ buster: /usr/share/keyrings/docker-archive-keyring.gpg !=
E: The list of sources could not be read.
I tried opening the the two files listed to compair but docker-archive-keyrings is a gpg file and appears to be encrypted.
Any suggestions would be much appreciated. Cheers.