Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Correct sources.list for Debian testing [solved]

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
vinoman
Posts: 354
Joined: 2008-08-28 03:30

Correct sources.list for Debian testing [solved]

#1 Post by vinoman »

I just installed testing (Bullseye) and I've already messed up the sources.list.

Code: Select all

davek@debian:~$ su
Password: 
root@debian:/home/davek# apt update
Hit:1 http://debian.osuosl.org/debian bullseye InRelease
Ign:2 http://security.debian.org/debian-security bullseye/updates InRelease
Err:3 http://security.debian.org/debian-security bullseye/updates Release
  404  Not Found [IP: 2a04:4e42:d::204 80]
Reading package lists... Done
E: The repository 'http://security.debian.org/debian-security bullseye/updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@debian:/home/davek# 

here's my sources.list

Code: Select all

  GNU nano 4.3                 /etc/apt/sources.list                            
# 

# deb cdrom:[Debian GNU/Linux testing _Bullseye_ - Official Snapshot amd64 DVD >

#deb cdrom:[Debian GNU/Linux testing _Bullseye_ - Official Snapshot amd64 DVD B>

deb http://debian.osuosl.org/debian/ bullseye main non-free
deb-src http://debian.osuosl.org/debian/ bullseye main non-free

# Line commented out by installer because it failed to verify:
deb http://security.debian.org/debian-security bullseye/updates main contrib no>
# Line commented out by installer because it failed to verify:
deb-src http://security.debian.org/debian-security bullseye/updates main contri>




How should it look.
Last edited by vinoman on 2019-08-21 10:31, edited 1 time in total.

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 86 times

Re: correct sources.list for Debian testing

#2 Post by 4D696B65 »

Code: Select all

 
deb http://debian.osuosl.org/debian/ bullseye main contrib non-free
# deb-src http://debian.osuosl.org/debian/ bullseye main contrib non-free

deb http://security.debian.org/debian-security bullseye/updates main contrib
# deb-src http://security.debian.org/debian-security bullseye/updates main contrib
Security repo may not be available for some time.

User avatar
vinoman
Posts: 354
Joined: 2008-08-28 03:30

Re: correct sources.list for Debian testing

#3 Post by vinoman »

4D696B65 wrote:

Code: Select all

 
deb http://debian.osuosl.org/debian/ bullseye main contrib non-free
# deb-src http://debian.osuosl.org/debian/ bullseye main contrib non-free

deb http://security.debian.org/debian-security bullseye/updates main contrib
# deb-src http://security.debian.org/debian-security bullseye/updates main contrib
Security repo may not be available for some time.
so can I rem those out?

What should a Bullseye sources.list look like?

User avatar
vinoman
Posts: 354
Joined: 2008-08-28 03:30

Re: correct sources.list for Debian testing

#4 Post by vinoman »

I changed the sources.list to this...

Code: Select all

# 

# deb cdrom:[Debian GNU/Linux testing _Bullseye_ - Official Snapshot amd64 DVD Binary-1 20190819-10:58]/ bullseye contrib main

# deb cdrom:[Debian GNU/Linux testing _Bullseye_ - Official Snapshot amd64 DVD Binary-1 20190819-10:58]/ bullseye contrib main

deb http://debian.ca-west.mirror.fullhost.com/debian/ bullseye main contrib non-free
deb-src http://debian.ca-west.mirror.fullhost.com/debian/ bullseye main contrib non-free

Installed Synaptic and found some faster repos.
Did update and upgrade and no errors. Is this look OK?

User avatar
Bloom
df -h | grep > 90TiB
df -h | grep > 90TiB
Posts: 504
Joined: 2017-11-11 12:23
Been thanked: 26 times

Re: correct sources.list for Debian testing

#5 Post by Bloom »

This is mine:

Code: Select all

deb http://ftp.belnet.be/debian testing main contrib non-free
deb http://ftp.belnet.be/debian testing-updates main contrib non-free
deb http://www.deb-multimedia.org testing main non-free
By using "testing" instead of "bullseye", you get a rolling release.
Replace "ftp.belnet.be" by a mirror in your vicinity.
If you're going to add the multimedia repo, you need to add a key:

Code: Select all

$ sudo apt-key adv --recv-keys --keyserver pgpkeys.eu 5C808C2B65558117; sudo apt-key adv --recv-keys --keyserver pgpkeys.eu 07DC563D1F41B907

peer
Posts: 447
Joined: 2017-03-26 10:14
Has thanked: 8 times
Been thanked: 22 times

Re: correct sources.list for Debian testing

#6 Post by peer »

I think you do not need this line:

Code: Select all

deb http://ftp.belnet.be/debian testing-updates main contrib non-free
see https://wiki.debian.org/DebianTesting:

Code: Select all

To upgrade to testing from current stable, if you have already installed the stable release:

    Edit your /etc/apt/sources.list file, changing 'stable' (or the current codename for stable) to 'testing' (or the current code name for the next stable release).

    Remove or comment out your stable security updates line(s) (anything with security.debian.org in it).
    Remove or comment out any other stable-specific lines, like *-backports or *-updates.

    Verify that your installation is not fixed to a specific release in /etc/apt/apt.conf.d/00default-release

User avatar
Bloom
df -h | grep > 90TiB
df -h | grep > 90TiB
Posts: 504
Joined: 2017-11-11 12:23
Been thanked: 26 times

Re: correct sources.list for Debian testing

#7 Post by Bloom »

The line with testing-updates works just fine, so I left it in.

User avatar
vinoman
Posts: 354
Joined: 2008-08-28 03:30

Re: correct sources.list for Debian testing

#8 Post by vinoman »

Thank you. Got all the updates for testing now.

Post Reply