Re: Synaptic and updated apt sources?
On Saturday, 08-02-2025 at 00:39 Boyan Penkov wrote:
> After upgrading apt this week on testing (trixie), it defaults to the
> apt822 sources (https://repolib.readthedocs.io/en/latest/deb822-format.html#deb822-format),
> which can then be enabled by a ``sudo apt modernize-sources``
Thanks for your reply.
1) I just updated my Debian Trixie computer, synaptic still works (however you already knew it would as I have not installed modernize-sources)
2) When searching Synaptic I was not able to locate a package called modernize-sources. "# apt-cache search modernize-sources" did not return any packages. I thought it might be a package, but it seems more like it is a command.
https://gist.github.com/Mealman1551/f75223b3cade0a218d51c06f6cb08f40
Since February 2025, Debian 13 (Trixie) and APT introduced the deb822 format for managing APT sources. This new format replaces the traditional /etc/apt/sources.list file with the more structured and readable /etc/apt/sources.list.d/debian.sources file.
This change was introduced by APT, starting with an update that enabled users to run:
apt modernize-sources
https://tracker.debian.org/news/1610313/accepted-apt-2926-source-into-unstable/
[ Julian Andres Klode ]
* apt: Introduce the modernize-sources command
* Make notices about .list sources without signed-by less obnoxious
You get a single line telling you about modernize-sources now, unless
you run --audit (or have deb822 files without Signed-By).
3) I suspect that your issue would indicate that Debian Trixie's Synaptic program has not been updated to use the new method for managing source lists (which I believe you are trying to point out by posting this issue)? Or maybe an issue with sign-by ?
4) Do you know of any method to "undo" this modernization?
Thanks for alerting me to this issue, as I will be sure not to run modernize-sources until this issue is resolved.
George
>
> However, in Synaptic, clicking on Settings -> Repositories shows a
> blank list, presumably reading from the old format (it used to edit
> /etc/apt/sources.list directly).
>
> Cheers!
>
> On Fri, Feb 7, 2025 at 8:05 AM George at Clug <Clug@goproject.info> wrote:
> >
> >
> >
> > On Friday, 07-02-2025 at 19:23 Boyan Penkov wrote:
> > > Hello,
> > >
> > > After updating my apt sources to the modernized ones, the synaptic
> > > settings ard preferences are blank (and don't show the usual sources).
> >
> > If you could give some more detail, I might understand what you did?
> >
> > Do you mean /etc/apt/sources.list ?
> > Which version of Debian?
> > And what do you mean "modernized ones" ? (where did you see these documented? I may have missed something?)
> >
> > My Synaptic works great, but then, I do not think I am using any "modernised ones".
> >
> > George.
> >
> >
> > >
> > > Updates and selection though the program still works fine, so I
> > > imagine this is a small oversight somewhere...
> > >
> > > Cheers!
> > >
> > > --
> > > Boyan Penkov
> > >
> > >
>
>
>
> --
> Boyan Penkov
>
Reply to: