this post was submitted on 18 Aug 2025
25 points (96.3% liked)

Linux

57566 readers
1234 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

new usb install. that directory sits now empty

top 7 comments
sorted by: hot top controversial new old
[–] Sina@beehaw.org 7 points 5 days ago* (last edited 5 days ago)

Run apt update and see if it works. Meaning to look what sources it connects to, if it doesn't fail.

If this fails, then ofc you have to create the file with the Trixie sources. There has to be a dummy file somewhere for you to copy.

I don't really understand your post, you claim to have updated, but it's a new usb install?

[–] brickfrog@lemmy.dbzer0.com 3 points 5 days ago* (last edited 5 days ago) (1 children)

Not sure if this answers your question, on my fresh install of Debian 13 it seems to default to using

/etc/apt/sources.list

For example, I had to go in there to enable non-free and it worked fine.

There is a newer/recommended format of sources files ending in .sources in the same folder. The newer format is supported as of Debian 13 but for whatever reason Debian 13 doesn't actually default to installing the newer version on fresh installs. I'm a bit confused by that but Debian's own docs do discuss it.

https://wiki.debian.org/SourcesList

On my fresh install the /etc/apt/sources.list.d still exists, it looks like other software still create their own sources .list files in there when adding their own repos. Debian 13 itself does not seem to generate any files there.

[–] ulu_mulu@lemmy.zip 2 points 5 days ago

Debian 13 itself does not seem to generate any files there

I noticed that too.

I did it manually, deleted the old list file, it works fine.

[–] rhavenn@lemmy.world 3 points 5 days ago* (last edited 5 days ago) (1 children)

You will need some sort of source if you ever want to update. Trixie has support for the new format. see: https://ostechnix.com/migrate-to-deb822-format-debian-13-trixie/

You don’t need a /etc/apt/sources.list anymore, but you need something in /etc/apt/sources.list.d/ as per the above.

[–] TheFrogThatFlies@lemmy.world 8 points 5 days ago (1 children)

This helped

sudo apt modernize-sources
[–] DaPorkchop_@lemmy.ml 5 points 5 days ago

I wish I'd known this was a thing before I spent 15 minutes searching the manpages and manually upgrading my sources...

Here is the section of the release notes that deals with the source list.

Also see this man page for further details and examples.