[SOLVED] Error in repository 'http://deb.debian.org/debian

If none of the more specific forums is the right place to ask

[SOLVED] Error in repository 'http://deb.debian.org/debian

Postby JeSuisFlaneur » 2020-10-13 17:39

[sudo] Updating, whether by apt, apt-get, aptitude returns:

Code: Select all
Err:4 http://deb.debian.org/debian buster/updates Release
  404  Not Found [IP: 151.101.196.204 80]
Reading package lists... Done
E: The repository 'http://deb.debian.org/debian buster/updates Release' does not have a Release file.


Below is /etc/apt/sources.list

Code: Select all
#

# deb cdrom:[Debian GNU/Linux 10.4.0 _Buster_ - Official amd64 NETINST 20200509-10:25]/ buster ma$

# deb cdrom:[Debian GNU/Linux 10.4.0 _Buster_ - Official amd64 NETINST 20200509-10:25]/ buster ma$

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

deb http://deb.debian.org/debian/ buster/updates main contrib non-free
deb-src http://deb.debian.org/debian/ buster/updates main contrib non-free

# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main contrib non-free
deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.


How do I fix this?
Last edited by JeSuisFlaneur on 2020-10-13 18:29, edited 1 time in total.
JeSuisFlaneur
 
Posts: 44
Joined: 2019-08-28 16:00

Re: Error in repository 'http://deb.debian.org/debian

Postby arochester » 2020-10-13 17:50

deb http://ftp.us.debian.org/debian/ stable-updates main ?
arochester
 
Posts: 1749
Joined: 2010-12-07 19:55

Re: Error in repository 'http://deb.debian.org/debian

Postby peter_irich » 2020-10-13 17:51

Far example,
Code: Select all
deb [ arch=amd64 ] http://ftp.us.debian.org/debian/ buster main non-free contrib
peter_irich
 
Posts: 1299
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation

Re: Error in repository 'http://deb.debian.org/debian

Postby Head_on_a_Stick » 2020-10-13 17:55

JeSuisFlaneur wrote:/etc/apt/sources.list
Code: Select all
deb http://deb.debian.org/debian/ buster/updates main contrib non-free
deb-src http://deb.debian.org/debian/ buster/updates main contrib non-free

That should be
Code: Select all
deb https://deb.debian.org/debian-security buster/updates main contrib non-free
deb-src https://deb.debian.org/debian-security buster/updates main contrib non-free

But you don't really need any of the deb-src lines unless you plan to build the packages from source (eg, to patch them).

EDIT:
@arochester, the OP already has a working buster-updates repository and "buster" should be preferred over "stable".
@peter_irich, the OP already has a working buster repository.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12650
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Error in repository 'http://deb.debian.org/debian

Postby JeSuisFlaneur » 2020-10-13 18:29

Thank you Linux Community and Mr. Head_on_a_Stick
JeSuisFlaneur
 
Posts: 44
Joined: 2019-08-28 16:00

Re: [SOLVED] Error in repository 'http://deb.debian.org/debi

Postby metreo » 2020-10-14 17:54

I can't imagine the utility of such a complex sources file.
User avatar
metreo
 
Posts: 20
Joined: 2020-10-08 19:15


Return to General Questions

Who is online

Users browsing this forum: No registered users and 20 guests

fashionable