lubux schrieb:
Spacetaxi schrieb:
Nach der Neuinstallation (ich habe sonst nichts angerührt) ...
Wie sind z. Zt. (... ohne sudo) die Ausgaben von:
| ls -la /etc/apt/sources.list.d/ubuntu.sources
apt modernize-sources --assume-no
|
?
Hallo, der Post ist von meinem Desktop PC, auf dem Laptop (thread gestartet) habe ich bereits bejaht.
bird@bird-desktop:~$ ls -la /etc/apt/sources.list.d/ubuntu.sources
-rw-r--r-- 1 root root 225 May 18 03:27 /etc/apt/sources.list.d/ubuntu.sources
bird@bird-desktop:~$ apt modernize-sources --assume-no
The following files need modernizing:
- /etc/apt/sources.list
- /etc/apt/sources.list.d/opera-stable.list
Modernizing will replace .list files with the new .sources format,
add Signed-By values where they can be determined automatically,
and save the old files into .list.bak files.
This command supports the 'signed-by' and 'trusted' options. If you
have specified other options inside [] brackets, please transfer them
manually to the output files; see sources.list(5) for a mapping.
For a simulation, respond N in the following prompt.
2 an »sources« umschreiben? [J/n] N
Simulating only...
Modernizing /etc/apt/sources.list...
Modernizing /etc/apt/sources.list.d/opera-stable.list...
# Would write to: /etc/apt/sources.list.d/opera-stable.sources
Types: deb
URIs: https://deb.opera.com/opera-stable/
Suites: stable
Components: non-free
Signed-By:
Warnung: Could not determine Signed-By for URIs: https://deb.opera.com/opera-stable/, Suites: stable
bird@bird-desktop:~$
Problem Opera ist bekannt und wurde von mir folgendermaßen gelöst:
Nachdem auf dem frischen ubuntu apt modernize-sources erledigt ist und man installiert opera, kommt ein Hinweis:
pat-Aspire-5750G:~$ u
[sudo: authenticate] Passwort:
OK:1 http://archive.ubuntu.com/ubuntu resolute InRelease
OK:2 http://security.ubuntu.com/ubuntu resolute-security InRelease
OK:3 http://archive.ubuntu.com/ubuntu resolute-updates InRelease
Holen:4 https://deb.opera.com/opera-stable stable InRelease [3.175 B]
OK:5 http://archive.ubuntu.com/ubuntu resolute-backports InRelease
Holen:6 https://deb.opera.com/opera-stable stable/non-free amd64 Packages [1.307 B]
Es wurden 4.482 B in 1 s geholt (6.075 B/s).
Alle Pakete sind aktuell.
Hinweis: Einige Quellen können modernisiert werden. Führen Sie dafür »apt modernize-sources« aus.
upgrader@upgrader-Aspire-5750G:~$ apt modernize-sources
The following files need modernizing:
- /etc/apt/sources.list.d/opera-stable.list
Modernizing will replace .list files with the new .sources format,
add Signed-By values where they can be determined automatically,
and save the old files into .list.bak files.
This command supports the 'signed-by' and 'trusted' options. If you
have specified other options inside [] brackets, please transfer them
manually to the output files; see sources.list(5) for a mapping.
For a simulation, respond N in the following prompt.
1 an »sources« umschreiben? [J/n] j
Modernizing /etc/apt/sources.list.d/opera-stable.list...
- Writing /etc/apt/sources.list.d/opera-stable.sources
Warnung: Cannot open /etc/apt/sources.list.d/opera-stable.sources for writing.
Warnung: Could not determine Signed-By for URIs: https://deb.opera.com/opera-stable/, Suites: stable
Warnung: Could not rename /etc/apt/sources.list.d/opera-stable.list - rename (13: Keine Berechtigung)
pat-Aspire-5750G:~$
upgrader@upgrader-Aspire-5750G:~$ u
OK:1 http://security.ubuntu.com/ubuntu resolute-security InRelease
OK:2 https://deb.opera.com/opera-stable stable InRelease
OK:3 http://archive.ubuntu.com/ubuntu resolute InRelease
OK:4 http://archive.ubuntu.com/ubuntu resolute-updates InRelease
OK:5 http://archive.ubuntu.com/ubuntu resolute-backports InRelease
Alle Pakete sind aktuell.
Hinweis: Fehlendes Signed-By im Eintrag sources.list(5) für »https://deb.opera.com/opera-stable«
upgrader@upgrader-Aspire-5750G:~$
Den Fehlerhinwis behebt man folgendermaßen:
sudo nano /etc/apt/sources.list.d/opera-stable.sources
Verzeichnis sieht wie folgt aus:
GNU nano 8.7.1 /etc/apt/sources.list.d/opera-stable.sources
Types: deb
URIs: https://deb.opera.com/opera-stable/
Suites: stable
Components: non-free
Signed-By:
man fügt
Signed-By: /etc/apt/trusted.gpg.d/opera.archive.key.2025.gpg
am Ende der Zeile hinzu:
GNU nano 8.7.1 /etc/apt/sources.list.d/opera-stable.sources
Types: deb
URIs: https://deb.opera.com/opera-stable/
Suites: stable
Components: non-free
Signed-By: /etc/apt/trusted.gpg.d/opera.archive.key.2025.gpg
Opera hat seine Schlüssel aktualisiert.(Also wer über die Paketverwaltung installieren will)
Im neuen Format .deb822 wird jede Paketquelle strikt an ihren genauen Schlüssel gebunden (Signed-By)