Hi everybody, I have a problem with OMV5 installed on an Odroid HC2, when I click "check" under "Update Management" the following error appears:
Errore #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
:
Type 'sudo' is not known on line 1 in source list /etc/apt/sources.list.d/buster-backports.list
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/bgstatusuq...', '/tmp/bgoutputNS...')
#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}
Recently I installed some containers with Portainer, I don't know if that is related to the above error, any idea to fix it ? thanks a lot!
Fabrizio