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 3651 times)

Offline duroni

  • User
  • Posts: 6
[EN] Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #30 on: 2025/01/24, 14:58:54 »
Hello

I made the modificatons as described from @hendrikl in reply #20. Then apt update and every thing is o.k. No error messages, no errors.
Thanks
DiBe

Offline toga

  • User
  • Posts: 58
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #31 on: 2025/01/24, 17:10:09 »
the scholle1 script (reply#21) did the work for me fast and elegant. Nice one!

thank you @scholle1
toga

Offline micspabo

  • User
  • Posts: 40
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #32 on: 2025/01/24, 19:50:49 »
Entries can be converted with the help of <https://arty.name/deb822.html> too.
⢀⣴⠾⠻⢶⣦⠀  
⣾⠁⢠⠒⠀⣿⡁   Debian's Gesellschaftsvertrag
⢿⡄⠘⠷⠚⠋⠀     <https://www.debian.org/social_contract.de.html>
⠈⠳⣄⠀         Danke dafür!

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.897
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #33 on: 2025/01/24, 20:50:55 »
One of the advantages of deb822 is that instead of linking the key you can add the key itself. See examples at https://linuxnews.de/debian-setzt-deb822-fuer-die-quellenliste-um/

Online titan

  • User
  • Posts: 340
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #34 on: 2025/01/25, 10:39:08 »
Why don't they just choose one format, you now have the existing system which I would think most Debian users are still using, the new system as described in this thread which has two options and now a fourth system as described in your article. It must be confusing for third party vendors.

Offline harley-peter

  • User
  • Posts: 1.098
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #35 on: 2025/01/25, 13:28:13 »
Problem:
Was mache ich mit list-files wie
Code: [Select]
deb [signed-by=/usr/share/keyrings/wire-app-keyring.gpg] https://wire-app.wire.com/linux/debian stable mainoder
Code: [Select]
deb [signed-by=/usr/share/keyrings/enpass-linux-keyring.gpg] https://apt.enpass.io/ stable main
Ich kann diese natürlich mit einem Editor entsprechend anpassen aber was trage ich bei Suites ein? stable funktioniert ebenso wenig wie unstable.


@scholle1:
Das Script funktioniert mit den o. a. list files nicht, das Script macht daraus
Code: [Select]
Types:      deb
URIs:       [signed-by=/usr/share/keyrings/wire-app-keyring.gpg]
Suites:     https://wire-app.wire.com/linux/debian
Components: stable main
Enabled:    yes
Signed-By: 

Offline ro_sid

  • User
  • Posts: 352
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #36 on: 2025/01/25, 13:50:07 »
Warum jetzt überhaupt etwas ändern?
Das .list-Format ist genau so gut und ich würde den jetzigen Hype, der hier gerade ausgebrochen ist erst einmal aussitzen. Entstanden ist er wohl, weil jemand gar kein "signed-by" eingetragen hatte und so eine Nachricht erhielt, die ihn auf das deb822 ".sources" Format aufmerksam gemacht hatte. Woraus dann wohl die "Mär" eines (brand-)neuen ;) Formats entstand.
Ach ja, und den Key direkt eintragen. Ja, möglich, aber wo ist der Vorteil? Und dann viel Spaß beim Eintragen eines gesamten Keyrings.
Laßt die apt 3.0 Entwickler ihren Akt erst einmal vernünftig auf die Reihe bekommen. Augenblicklich sehe ich da nur die für mich falsche Tendenz, wieder etwas aufzwingen zu wollen, statt kompatibel zu bleiben.
[Vergleichbares: Die FHS (file system hierarchy) Änderungen, us(e)r-Merge, Gnome nicht mehr ohne Funktionsverlust ohne systemd, systemd selber, dabei KISS wegwerfen, grub-Ablösungsversuche und sicherlich noch andere Dinge mehr.]

Edit: Typo verbessert.
« Last Edit: 2025/01/25, 13:55:54 by ro_sid »

Offline micspabo

  • User
  • Posts: 40
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #37 on: 2025/01/25, 13:53:35 »
Was mache ich mit list-files wie
Code: [Select]
deb [signed-by=/usr/share/keyrings/wire-app-keyring.gpg] https://wire-app.wire.com/linux/debian stable main

Mit etwas Handarbeit würde ich es so versuchen:
Code: [Select]
Types:      deb
URIs:       https://wire-app.wire.com/linux/debian
Suites:     stable
Components: main
Enabled:    yes
Signed-By:  /usr/share/keyrings/wire-app-keyring.gpg
⢀⣴⠾⠻⢶⣦⠀  
⣾⠁⢠⠒⠀⣿⡁   Debian's Gesellschaftsvertrag
⢿⡄⠘⠷⠚⠋⠀     <https://www.debian.org/social_contract.de.html>
⠈⠳⣄⠀         Danke dafür!

Offline harley-peter

  • User
  • Posts: 1.098
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #38 on: 2025/01/25, 14:06:37 »
@micspabo
Wie schon im Beitrag erwähnt funktioniert weder der Eintrag stable noch unstable bei Suites.

Offline micspabo

  • User
  • Posts: 40
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #39 on: 2025/01/25, 14:28:08 »
@micspabo
Wie schon im Beitrag erwähnt funktioniert weder der Eintrag stable noch unstable bei Suites.

@harley-peter
Die URi ist mir fremd, sieht für mich aber nicht nach einem Repository aus, wenn ich sie ansteuer...
Code: [Select]
$ wget https://wire-app.wire.com/linux/debian
--2025-01-25 14:22:36--  https://wire-app.wire.com/linux/debian
Resolving wire-app.wire.com (wire-app.wire.com)... 52.85.92.120, 52.85.92.78, 52.85.92.41, ...
Connecting to wire-app.wire.com (wire-app.wire.com)|52.85.92.120|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2025-01-25 14:22:36 ERROR 403: Forbidden.
⢀⣴⠾⠻⢶⣦⠀  
⣾⠁⢠⠒⠀⣿⡁   Debian's Gesellschaftsvertrag
⢿⡄⠘⠷⠚⠋⠀     <https://www.debian.org/social_contract.de.html>
⠈⠳⣄⠀         Danke dafür!

Online titan

  • User
  • Posts: 340
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #40 on: 2025/01/25, 14:36:28 »
@micspabo
Wie schon im Beitrag erwähnt funktioniert weder der Eintrag stable noch unstable bei Suites.

Mozilla nightly has similar list file I tried various options to convert to sources format but none worked but list file works fine with no error

Offline eriefisher

  • User
  • Posts: 334
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #41 on: 2025/01/25, 14:57:37 »
@micspabo
Wie schon im Beitrag erwähnt funktioniert weder der Eintrag stable noch unstable bei Suites.

Mozilla nightly has similar list file I tried various options to convert to sources format but none worked but list file works fine with no error

Can you post the file?

Offline der_bud

  • User
  • Posts: 1.102
  • member
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #42 on: 2025/01/25, 16:07:02 »
@harley-peter, hm, also hier testweise
Code: [Select]
#  cat /etc/apt/sources.list.d/wire-app.sources
Types:      deb
URIs:       https://wire-app.wire.com/linux/debian
Suites:     stable
Components: main
Enabled:    yes
Signed-By:  /usr/share/keyrings/wire-app-keyring.gpg



Code: [Select]
#  apt update
Holen:1 https://wire-app.wire.com/linux/debian stable InRelease [4.145 B]
Holen:2 https://wire-app.wire.com/linux/debian stable/main amd64 Packages [573 B]
Holen:3 https://wire-app.wire.com/linux/debian stable amd64 Contents (deb) [629 B]



Code: [Select]
#  apt install -s wire-desktop

Installing:
  wire-desktop

Installing dependencies:
  libayatana-appindicator3-1  libayatana-ido3-0.4-0  libayatana-indicator3-7  libdbusmenu-glib4  libdbusmenu-gtk3-4  libnotify-bin

Summary:
  Upgrading: 0, Installing: 7, Removing: 0, Not Upgrading: 252
Inst libayatana-ido3-0.4-0 (0.10.4-1 Debian:unstable [amd64])
Inst libayatana-indicator3-7 (0.9.4-1+b1 Debian:unstable [amd64])
Inst libdbusmenu-glib4 (18.10.20180917~bzr492+repack1-4 Debian:unstable [amd64])
Inst libdbusmenu-gtk3-4 (18.10.20180917~bzr492+repack1-4 Debian:unstable [amd64])
Inst libayatana-appindicator3-1 (0.5.93+really-2 Debian:unstable [amd64])

Inst libnotify-bin (0.8.3-1+b2 Debian:unstable [amd64])
Inst wire-desktop (3.39.3653-3653 Wire Desktop:stable [amd64])
Conf libayatana-ido3-0.4-0 (0.10.4-1 Debian:unstable [amd64])
Conf libayatana-indicator3-7 (0.9.4-1+b1 Debian:unstable [amd64])
Conf libdbusmenu-glib4 (18.10.20180917~bzr492+repack1-4 Debian:unstable [amd64])
Conf libdbusmenu-gtk3-4 (18.10.20180917~bzr492+repack1-4 Debian:unstable [amd64])
Conf libayatana-appindicator3-1 (0.5.93+really-2 Debian:unstable [amd64])
Conf libnotify-bin (0.8.3-1+b2 Debian:unstable [amd64])
Conf wire-desktop (3.39.3653-3653 Wire Desktop:stable [amd64])
Wie ist die genaue Fehlermeldung bei Dir? ("Funktioniert nicht..." ;) )
Du lachst? Wieso lachst du? Das ist doch oft so, Leute lachen erst und dann sind sie tot.

Offline scholle1

  • Global Moderator
  • User
  • *****
  • Posts: 135
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #43 on: 2025/01/25, 17:35:53 »
@scholle1:
Das Script funktioniert mit den o. a. list files nicht, das Script macht daraus
Code: [Select]
Types:      deb
URIs:       [signed-by=/usr/share/keyrings/wire-app-keyring.gpg]
Suites:     https://wire-app.wire.com/linux/debian
Components: stable main
Enabled:    yes
Signed-By: 

Das Skript ist für mehrere Jahre alte, per DU auf dem aktuellen Stand gehaltene,
und für frische Installatioen gedacht. So ist der Begleittext auch formuliert.
Es kann und will nicht die manuell getätigten Änderungen der Benutzer abfangen
und auch nicht zusätzlich eingetragene Repos.

Wer an diesen Dateien händisch werkelt, sollte genau wissen was und warum er es
macht, und welche Auswirkungen seine Aktion hat.

"pax in terra" - Das ist mein großer, mein einzigster, von Herzen kommender Wunsch.
"Frieden auf der Erde" und alles Weitere erscheint einfach.

Online titan

  • User
  • Posts: 340
Re: [Solved] How to migrate sources.list entries to deb822?
« Reply #44 on: 2025/01/25, 17:41:31 »
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