Correct sources.list for Debian testing [solved]

Kernels & Hardware, configuring network, installing services

Correct sources.list for Debian testing [solved]

Postby vinoman » 2019-08-20 22:18

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
vinoman
 
Posts: 317
Joined: 2008-08-28 03:30

Re: correct sources.list for Debian testing

Postby 4D696B65 » 2019-08-20 22:26

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
4D696B65
 
Posts: 2426
Joined: 2009-06-28 06:09

Re: correct sources.list for Debian testing

Postby vinoman » 2019-08-20 22:29

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: 317
Joined: 2008-08-28 03:30

Re: correct sources.list for Debian testing

Postby vinoman » 2019-08-20 22:46

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
vinoman
 
Posts: 317
Joined: 2008-08-28 03:30

Re: correct sources.list for Debian testing

Postby Bloom » 2019-08-21 04:40

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
User avatar
Bloom
 
Posts: 173
Joined: 2017-11-11 12:23

Re: correct sources.list for Debian testing

Postby peer » 2019-08-21 04:56

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
peer
 
Posts: 62
Joined: 2017-03-26 10:14

Re: correct sources.list for Debian testing

Postby Bloom » 2019-08-21 09:19

The line with testing-updates works just fine, so I left it in.
User avatar
Bloom
 
Posts: 173
Joined: 2017-11-11 12:23

Re: correct sources.list for Debian testing

Postby vinoman » 2019-08-21 10:30

Thank you. Got all the updates for testing now.
User avatar
vinoman
 
Posts: 317
Joined: 2008-08-28 03:30


Return to System configuration

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable