Re: Question regarding apt function/option

Julian Andres Klode <[email protected]> Tue, 26 May 2026 19:10:46 +0200
Newsgroups gmane.linux.debian.apt.devel
Message-ID <[email protected]>
On Sun, May 24, 2026 at 04:29:07PM -0700, [email protected] wrote:
> Hello there dear developer!
> 
> Recently I modernized my apt sources (sudo apt modernize-sources),
> everything worked great no issues.
> 
> But now executing "sudo apt edit-sources" doesn't work, and I get it,
> now the file isn't in use and to make changes in my sources file I need
> to edit it in /etc/apt/sources.list.d/debian.sources".

You can use `edit-sources debian.sources`

> 
> So my question is, in future Debian version (forky), are you going to
> link "apt edit-sources" to the new file location 
> (/etc/apt/sources.list.d/debian.sources) or are you going to remove
> that option?

That would be counter-productive. Only maybe 1% of users should be
editing that file (release upgrades aside).

> 
> And another one (sorry), is it safe if I just create a link from
> /etc/apt/sources.list to /etc/apt/sources.list.d/debian.sources to be
> able to keep using "edit-sources" option? 

No this is not safe, they have different file formats.

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en