Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] [Solved] How to migrate sources.list entries to deb822?  (Read 4031 times)

Offline eriefisher

  • User
  • Posts: 334
[EN] Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #45 on: 2025/01/25, 17:47:18 »
Here is the Mozilla list entry if you would like a try at converting it to sources
deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main

I have had a few tries without success
I wonder if it's the .asc key rather than a gpg key that's causing the problem. What was the error message? Maybe "could not find key.gpg"?
 

Offline titan

  • User
  • Posts: 340
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #46 on: 2025/01/25, 18:56:48 »
The error says it can't parse the repro but it works fine as a list file.

maybe the key should be in trusted.gpg.d like all the others may try tomorrow when I get a minute.
« Last Edit: 2025/01/25, 19:04:00 by titan »

Offline eriefisher

  • User
  • Posts: 334
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #47 on: 2025/01/25, 20:03:09 »
The error says it can't parse the repro but it works fine as a list file.

maybe the key should be in trusted.gpg.d like all the others may try tomorrow when I get a minute.

I don't think the location is an issue as long as the path is correct. If I just click on the link I get a 404 error.

Offline harley-peter

  • User
  • Posts: 1.099
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #48 on: 2025/01/26, 12:02:16 »
@der_bud:
Habe meinen Fehler gefunden, ich hatte in der Zeile Components den Eintrag "stable main" und nicht nur main. stable gelöscht und es funktiojniert.  :)
Danke für den Hinweis.

Offline michaa7

  • User
  • Posts: 2.429
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #49 on: 2025/01/27, 00:49:15 »
Muss ich für testing und experimental eigene "Blöcke" (weiß kein treffenderes Wort) anlegen oder kann man hinter "suites:" (ist ja Mehrzahl) alle drei eintragen, also

Code: [Select]
suites: testing unstable experimental
???
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline hendrikL

  • Administrator
  • User
  • *****
  • Gravatar
  • Posts: 1.084
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #50 on: 2025/01/27, 07:26:09 »
Muss ich für testing und experimental eigene "Blöcke" (weiß kein treffenderes Wort) anlegen oder kann man hinter "suites:" (ist ja Mehrzahl) alle drei eintragen, also

Code: [Select]
suites: testing unstable experimental
???

Yes, as long as the key and the URI are the same!

Ja, solange der Schlüssel und die URL die selben sind!

Offline michaa7

  • User
  • Posts: 2.429
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #51 on: 2025/01/27, 14:48:28 »
Danke, thanks ...
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.899
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #52 on: 2025/01/29, 08:33:52 »
Debian hat gerade nachgelegt und bietet mit dem Befehl
Code: [Select]
sudo apt modernize-sources eine automatische Konvertierung von .lists auf .sources inklusive dem Signed-By Eintrag, wo möglich. Die alten .list Einträge werden als .list.bak gespeichert. Eine Simulation ist möglich, um zu sehen, was gemacht werden würde. Sowohl die Simulation als auch die Umwandlung selbst funktionierte auf einem Rechner mit 13 noch nicht umgestellten Quelleinträgen ohne Probleme. Es wäre schön gewesen, wenn das von Anfang an so gewesen wäre.

Debian has just improved and offers an automatic conversion from .lists to .sources including the Signed-By entry, where possible, with the command
Code: [Select]
sudo apt modernize-sources. The old .list entries are saved as .list.bak . A simulation is possible to see what would be done.  Both the simulation and the conversion itself worked flawlessly on a computer with 13 source entries that had not yet been converted. It would have been nice if that had been the case from the start.

Offline onepiece

  • User
  • Posts: 11
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #53 on: 2025/01/29, 08:57:28 »
This is fantastic news for inexperienced Siduction users (like me) who are trying to keep their nose above water. Big thanks to those who made this fix. Loving Siduction even more.

Encouraging  - to the degree possible - those who control Debian / Siduction development put The horse before the cart when update/upgrade issues like this crop up in the future.
« Last Edit: 2025/01/29, 09:05:04 by onepiece »

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.899
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #54 on: 2025/01/29, 09:05:41 »
The credit in this case goes to Debian. Still, they could have done this from the start and not a week after throwing this at users without any comment or help

Offline titan

  • User
  • Posts: 340
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #55 on: 2025/01/29, 09:42:17 »
I thought suites were limited to the Debian definitions stable,testing,unstable and experiential but obviously not as the Mozilla repro now looks like this

Types: deb
URIs: https://packages.mozilla.org/apt/
Suites: mozilla
Components: main
Signed-By: /etc/apt/keyrings/packages.mozilla.org.asc

Offline micspabo

  • User
  • Posts: 40
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #56 on: 2025/01/29, 19:28:58 »
Debian hat gerade nachgelegt und bietet mit dem Befehl
Code: [Select]
sudo apt modernize-sources eine automatische Konvertierung von .lists auf .sources inklusive dem Signed-By Eintrag, wo möglich.

Dazu gibt es auch einen Artikel bei LinuxNews.
Code: [Select]
Debian vereinfacht Umstellung auf deb822
<https://linuxnews.de/debian-vereinfacht-umstellung-auf-deb822/>
⢀⣴⠾⠻⢶⣦⠀  
⣾⠁⢠⠒⠀⣿⡁   Debian's Gesellschaftsvertrag
⢿⡄⠘⠷⠚⠋⠀     <https://www.debian.org/social_contract.de.html>
⠈⠳⣄⠀         Danke dafür!

Offline Fellfrosch

  • User
  • Posts: 69
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #57 on: 2025/01/29, 22:24:04 »
...und was trägt man by Vivaldi bei signed-by ein?
Kann mir da jemand helfen. In /usr/share/keyrings/ ist kein Vivaldi Schlüssel

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.899
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #58 on: 2025/01/29, 23:20:33 »
Keiner weiß, wo du die abgelegt hast. Schau halt mal in
Code: [Select]
/etc/apt/trusted.gpg.d oder
Code: [Select]
/etc/apt/keyrings

Offline Fellfrosch

  • User
  • Posts: 69
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #59 on: 2025/01/30, 08:32:58 »
Danke für den Hinweis.

In trusted.gpg.d hatte ich bereits Schlüssel für Vivaldi gefunden. Allerdings gleich 4 Stück:

Code: [Select]
ls -la /etc/apt/trusted.gpg.d
insgesamt 112
drwxr-xr-x  2 root root  4096 24. Jan 08:24 .
drwxr-xr-x 11 root root  4096 30. Jan 08:21 ..
-rw-r--r--  1 root root 11861 30. Jul 2023  debian-archive-bookworm-automatic.asc
-rw-r--r--  1 root root 11873 30. Jul 2023  debian-archive-bookworm-security-automatic.asc
-rw-r--r--  1 root root   461 30. Jul 2023  debian-archive-bookworm-stable.asc
-rw-r--r--  1 root root 11861 30. Jul 2023  debian-archive-bullseye-automatic.asc
-rw-r--r--  1 root root 11873 30. Jul 2023  debian-archive-bullseye-security-automatic.asc
-rw-r--r--  1 root root  3403 30. Jul 2023  debian-archive-bullseye-stable.asc
-rw-r--r--  1 root root 11093 30. Jul 2023  debian-archive-buster-automatic.asc
-rw-r--r--  1 root root 11105 30. Jul 2023  debian-archive-buster-security-automatic.asc
-rw-r--r--  1 root root  1704 30. Jul 2023  debian-archive-buster-stable.asc
lrwxrwxrwx  1 root root    66 16. Sep 2021  siduction-archive-keyring.gpg -> /usr/share/siduction-archive-keyring/siduction-archive-keyring.gpg
-rw-r--r--  1 root root  2285 24. Jan 08:24 vivaldi-16BD9233.gpg
-rw-r--r--  1 root root  2285 13. Jan 06:25 vivaldi-33EAAB8E.gpg
-rw-r--r--  1 root root  2285 11. Jan 2024  vivaldi-4218647E.gpg
-rw-r--r--  1 root root  2285 24. Jan 08:24 vivaldi-74C35BC8.gpg

Wenn ich mir einen der zwei neusten Schlüssel nehme und eintrage dann kommt das hier:

Code: [Select]
Aktualisierung für 5 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
Warning: Während der Überprüfung der Signatur trat ein Fehler auf. Das Depot wurde nicht aktualisiert und die vorherigen Indexdateien werden verwendet. GPG-Fehler: https://repo.vivaldi.com/stable/deb stable Release: Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key C2A2445B0EC3B396BD526E31F739AAC074C35BC8, which is needed to verify signature.
Notice: Das Laden der konfigurierten Datei »main/binary-i386/Packages« wird übersprungen, da das Depot »https://repo.radeon.com/rocm/apt/6.3.1 noble InRelease« die Architektur »i386« nicht unterstützt.
Warning: Fehlschlag beim Holen von https://repo.vivaldi.com/stable/deb/dists/stable/Release.gpg Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key C2A2445B0EC3B396BD526E31F739AAC074C35BC8, which is needed to verify signature.
Warning: Einige Indexdateien konnten nicht heruntergeladen werden. Sie wurden ignoriert oder alte an ihrer Stelle benutzt.