Skip to content

Instantly share code, notes, and snippets.

@hakerdefo
Created June 11, 2023 18:47
Show Gist options
  • Save hakerdefo/5e1f51fa93ff37871b9ff738b05ba30f to your computer and use it in GitHub Desktop.
Save hakerdefo/5e1f51fa93ff37871b9ff738b05ba30f to your computer and use it in GitHub Desktop.
Debian 12 "bookworm" complete sources.list
deb https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware
deb https://security.debian.org/debian-security/ bookworm-security contrib main non-free non-free-firmware
# deb-src https://security.debian.org/debian-security/ bookworm-security contrib main non-free non-free-firmware
@hakerdefo
Copy link
Author

@TomaszWaszczyk
That repository is for Debian Unstable aka Debian Sid. Debian 11 (Bullseye) is now oldstable. What Debian version are you using?

@TomaszWaszczyk
Copy link

I look for unstable repositories for Debian 12, thanks for interaction, by the way. ;-)

@hakerdefo
Copy link
Author

@TomaszWaszczyk

Adding Sid repo to your Debian 12 system could result in a broken system but if you are willing to take risk, then you'll need to master the art of Apt-Pinning,

https://jaqque.sbih.org/kplug/apt-pinning.html

Good luck 🤞

@TomaszWaszczyk
Copy link

Packages in testing requires just more attention and thinking what somebody installs. Thanks for the link!

@alindberg
Copy link

If you don't want to use release names try the following (my sources.list)

# as of 2023-06-21
# oldoldoldstable == Stretch (v9)
# oldoldstable == Buster (v10)
# oldstable == Bullsey (v11)
# stable == Bookworm (v12) (2023-06-10)
# testing ==  (v13)- aka Trxie
# unstable == (v14) - aka Forky
#
# See http://wiki.debian.org/DebianReleases
#

deb http://deb.debian.org/debian/ stable main non-free non-free-firmware contrib
deb-src http://deb.debian.org/debian/ stable main non-free non-free-firmware contrib

deb http://deb.debian.org/debian/ testing main non-free non-free-firmware contrib
deb-src http://deb.debian.org/debian/ testing main non-free non-free-firmware contrib

deb http://deb.debian.org/debian-security stable-security main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian-security stable-security main contrib non-free non-free-firmware

@FrogCF
Copy link

FrogCF commented Jul 15, 2023

Stable Version

Don't forget to say thank you!

deb http://deb.debian.org/debian bookworm main
deb-src http://deb.debian.org/debian bookworm main

deb http://deb.debian.org/debian-security/ bookworm-security main
deb-src http://deb.debian.org/debian-security/ bookworm-security main

deb http://deb.debian.org/debian bookworm-updates main
deb-src http://deb.debian.org/debian bookworm-updates main

@Etrusco0022
Copy link

I have a problem, Debian 12 bookworm recently, neofetch screen Packages: 4105 (dpkg), 5 (flatpak) excessive.
Kernel 5.10.0-19-amd64
I guess that translates to not suitable.

Any suggestions without hammers..

thank you so much

@thexeromin
Copy link

kworm-security main deb-src http://deb.debian.org/debian-security/ bookworm-security main

deb http://deb.debian.org/debian bookworm-updates main deb-src http://deb.debian.org/debian bookworm-updates main

What about bookworm-proposed-updates and bookworm-backports? Is these are stable?

@hakerdefo
Copy link
Author

kworm-security main deb-src http://deb.debian.org/debian-security/ bookworm-security main
deb http://deb.debian.org/debian bookworm-updates main deb-src http://deb.debian.org/debian bookworm-updates main

What about bookworm-proposed-updates and bookworm-backports? Is these are stable?

Hi there Abhi,

My gist has those already included. Yes, they should mostly be stable and are safe to include as sources.

@melroy89
Copy link

melroy89 commented Jan 24, 2024

You should use the deb.debian.org Fastly mirror instead of the main FTP site.

It will give better performance almost everywhere and doesn't overwhelm the main project's servers: https://deb.debian.org/

This is true. @hakerdefo can you update your snippet to not overwhelm the debian servers and let users use the Fastly CDN instead. Which is often also faster.

@Braste
Copy link

Braste commented Jan 28, 2024

You should use the deb.debian.org Fastly mirror instead of the main FTP site.
It will give better performance almost everywhere and doesn't overwhelm the main project's servers: https://deb.debian.org/

This is true. @hakerdefo can you update your snippet to not overwhelm the debian servers and let users use the Fastly CDN instead. Which is often also faster.

This? https://gist.github.com/hakerdefo/5e1f51fa93ff37871b9ff738b05ba30f?permalink_comment_id=4596253#gistcomment-4596253

@melroy89
Copy link

@Braste Yes. That comment. Just use http://deb.debian.org which is backed by Fastly CDN nowadays, you do not need to use the FTP domains anymore. The ftp sub-domain used to be faster, but that is not anymore the case. I would stick with the deb.debian.org domain(s).

@spoonerarthur
Copy link

spoonerarthur commented Feb 24, 2024

Hi at All,
it is the first time a install Debian 12 and I am desperate.
I can not install any package.
I edit the sources.list

# Debian Main Repositories
deb http://deb.debian.org/debian/ bookworm main contrib non-free
deb-src http://deb.debian.org/debian/ bookworm main contrib non-free
 
# Debian Security Updates
deb http://security.debian.org/debian-security bookworm-security main contrib non-free
deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free
 
# Debian Updates
deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free
deb-src http://deb.debian.org/debian/ bookworm-updates main contrib non-free

but it doesn't work.

I am in the sudores group
I have internet connection
I can search for some packages, like networkmanager
But I do not find teamviewer or anydesk for example.

Can you help me, please.

Regards Arthur

@melroy89
Copy link

@spoonerarthur Please use markdown code blocks if you want to post sources.list content or any content or code for that matter.

@Braste
Copy link

Braste commented Feb 29, 2024

Hi at All, it is the first time a install Debian 12 and I am desperate. I can not install any package. I edit the sources.list

# Debian Main Repositories
deb http://deb.debian.org/debian/ bookworm main contrib non-free
deb-src http://deb.debian.org/debian/ bookworm main contrib non-free
 
# Debian Security Updates
deb http://security.debian.org/debian-security bookworm-security main contrib non-free
deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free
 
# Debian Updates
deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free
deb-src http://deb.debian.org/debian/ bookworm-updates main contrib non-free

but it doesn't work.

I am in the sudores group I have internet connection I can search for some packages, like networkmanager But I do not find teamviewer or anydesk for example.

Can you help me, please.

Regards Arthur

Neither teamviewer nor anydesk are available in the standard debian repositories. You said, that you find networkmanager, so I assume that you are able to install packages in general, just not every package you want? Please clarify.

@spoonerarthur
Copy link

Hi Stefan,
I am a absolute Newbie.
Yes, your right, everything works correct.
I download teamviewer, then a install policykit-1 and then teamviewer over the terminal.

I thought in the desktop environment software like teamviewer or anydesk would be installable.

Regards Arthur

@alipour66m
Copy link

alipour66m commented Jun 14, 2024

deb http://deb.debian.org/debian bookworm main contrib non-free-firmware
# deb-src http://deb.debian.org/debian bookworm main contrib non-free-firmware

deb http://deb.debian.org/debian bookworm-updates main contrib non-free-firmware
# deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free-firmware

# deb http://deb.debian.org/debian bookworm-backports main contrib non-free-firmware
# deb-src http://deb.debian.org/debian bookworm-backports main contrib non-free-firmware

deb http://security.debian.org/debian-security bookworm-security main contrib non-free-firmware
# deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free-firmware

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment