Delete the file and execute the first script again.
Probably the easiest way.
Yes. That did the trick.
I ran a
rm /etc/apt/sources.list.d/openmediavault.list
and re-entered the first block of commands to update the sources list.
That helped me to get up to the point - step 6: apt-get update.
After that I'm getting:
root@debian:~# apt-get --yes --auto-remove --show-upgraded \
> --allow-downgrades --allow-change-held-packages \
> --no-install-recommends \
> --option Dpkg::Options::="--force-confdef" \
> --option DPkg::Options::="--force-confold" \
>
E: Sense auto is not understood, try true or false.
Excuse my ignorance but you've been of great help really.
I think I'm getting there.