@Opera Dev: Please update the SourcesList file (e.g. opera-stable.list) in /etc/apt/sources.list.d/
according to the latest Debian specifications. Currently the following notice appears after an Opera update:
Notice: Some sources can be modernized. Run 'apt modernize-sources' to do so.
After apt apt modernize-sources
the compliant file opera-stable.sources
is created with a warning:
Modernizing /etc/apt/sources.list.d/opera-stable.list...
- Writing /etc/apt/sources.list.d/opera-stable.sources
Warnung: Could not determine Signed-By for URIs: https://deb.opera.com/opera-stable/, Suites: stable
I am modifying opera-stable.sources with the following correct opera-stable.sources
file in /etc/apt/sources.list.d/
:
Types: deb
URIs: https://deb.opera.com/opera-stable/
Suites: stable
Components: non-free
Architectures: amd64
Signed-By: /usr/share/keyrings/opera-browser.gpg
However, after the next Opera update, a non-compliant opera-stable.list is created again, and the following warnings appear because there are now 2 SourcesList files:
Warning: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
Warning: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
Warning: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
Warning: Target Translations (non-free/i18n/Translation-de) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
Warning: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
Warning: Target DEP-11 (non-free/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
Warning: Target Contents-deb (non-free/Contents-amd64) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
Warning: Target Contents-deb (non-free/Contents-all) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
Warning: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
Warning: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
Warning: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
Warning: Target Translations (non-free/i18n/Translation-de) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
Warning: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
Warning: Target DEP-11 (non-free/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
Warning: Target Contents-deb (non-free/Contents-amd64) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
Warning: Target Contents-deb (non-free/Contents-all) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera-stable.sources:1
I currently have to delete the opera-stable.list
file after every Opera update.
Source:
https://wiki.debian.org/SourcesList#Unstable
https://deb.opera.com/manual.html