LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 12-25-2019, 08:37 PM   #1
jrchapple
LQ Newbie
 
Registered: Dec 2019
Posts: 4

Rep: Reputation: Disabled
Debian 10.2: No release file, required for updates


Hello All
I'm new to Debian 10, but not new to Debian.
Using apt-cdrom add as suggested by the script below made no difference.
Changing from the main site to the Canadian mirror site made no difference.

I get the same message from the software management application - "does not have a Release file" that comes with the Debian 10 installation CD.

What is causing this error? I would prefer to fix this so I don't need the DVD to do security and other updates.


Output from apt-get update (after logging in as root):

root@debian:/home/john# apt-get update
Ign:1 cdrom://[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 DVD Binary-1 20191116-09:57] buster InRelease
Err:2 cdrom://[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 DVD Binary-1 20191116-09:57] buster Release
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Hit:3 http://security.debian.org buster/updates InRelease
Ign:4 http://deb.debian.org/debian buster/updates InRelease
Hit:5 http://ftp.ca.debian.org/debian buster InRelease
Err:6 http://deb.debian.org/debian buster/updates Release
404 Not Found [IP: 151.101.184.204 80]
Hit:7 http://ftp.ca.debian.org/debian buster-updates InRelease
Reading package lists... Done
E: The repository 'cdrom://[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 DVD Binary-1 20191116-09:57] buster 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.
E: The repository 'http://deb.debian.org/debian buster/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/john#

[Insert Debian 10.2 Installation DVD]

root@debian:/home/john# apt-get update
Ign:1 cdrom://[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 DVD Binary-1 20191116-09:57] buster InRelease
Err:2 cdrom://[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 DVD Binary-1 20191116-09:57] buster Release
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Hit:3 http://ftp.ca.debian.org/debian buster InRelease
Hit:4 http://security.debian.org buster/updates InRelease
Hit:5 http://ftp.ca.debian.org/debian buster-updates InRelease
Ign:6 http://deb.debian.org/debian buster/updates InRelease
Err:7 http://deb.debian.org/debian buster/updates Release
404 Not Found [IP: 151.101.184.204 80]
Reading package lists... Done
E: The repository 'cdrom://[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 DVD Binary-1 20191116-09:57] buster 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.
E: The repository 'http://deb.debian.org/debian buster/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/john#


Cheers
John
 
Old 12-26-2019, 02:12 PM   #2
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Posts: 1,397

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Maybe I am misunderstanding your issue but here are my assumptions:

1) Debian is installed and you can successfully boot it
2) After bringing the system up, you are running apt update and get the error message you reference above
3) You have disabled the CD in /etc/apt/sources.list

Not entirely clear from your post what the issue is so I wanted to be sure I understood first.
 
Old 01-04-2020, 02:18 PM   #3
jrchapple
LQ Newbie
 
Registered: Dec 2019
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hello All

I had difficulty finding my post, eventually finding it today with an internet search engine.

The system boots. Presence or absence of the distribution DVD in the DVD drive does not affect the end result of no Release file.

Contents of sources.list file:

<tof>
#

# deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 DVD Binary-1 20191116-09:57]/ buster contrib main

deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 DVD Binary-1 20191116-09:57]/ buster contrib main

deb http://ftp.ca.debian.org/debian/ buster main
deb-src http://ftp.ca.debian.org/debian/ buster main #Added by software-properties

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

# buster-updates, previously known as 'volatile'
deb http://ftp.ca.debian.org/debian/ buster-updates main contrib
deb-src http://ftp.ca.debian.org/debian/ buster-updates main contrib #Added by software-properties
deb http://security.debian.org/ buster/updates main
deb-src http://security.debian.org/ buster/updates main #Added by software-properties

<eof>

The issue is I am unable to install updates securely. It seems the Release file contains a key to verify the signature on the package files.

Cheers
John
 
Old 01-05-2020, 01:20 PM   #4
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Posts: 1,397

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Do you have Internet access? I ask because the CD is still enabled in your /etc/apt/sources.list.

The line in the output you posted states:

Code:
"E: The repository 'cdrom://[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 DVD Binary-1 20191116-09:57] buster Release' does not have a Release file."
If you comment out the line (looks like previous line was commented, probably by the installer):

Code:
# deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 DVD Binary-1 20191116-09:57]/ buster contrib main
deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 DVD Binary-1 20191116-09:57]/ buster contrib main
can you update?
 
Old 01-05-2020, 06:30 PM   #5
jrchapple
LQ Newbie
 
Registered: Dec 2019
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hello

New sources.list file:

<tof>
# deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 DVD Binary-1 20191116-09:57] buster contrib main

# deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 DVD Binary-1 20191116-09:57] buster contrib main

deb http://ftp.ca.debian.org/debian/ buster main
deb-src http://ftp.ca.debian.org/debian/ buster main #Added by software-properties

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

# buster-updates, previously known as 'volatile'
deb http://ftp.ca.debian.org/debian/ buster-updates main contrib
deb-src http://ftp.ca.debian.org/debian/ buster-updates main contrib #Added by software-properties
deb http://security.debian.org/ buster/updates main
deb-src http://security.debian.org/ buster/updates main #Added by software-properties
<eof>

Resulting output from apt:

root@debian:/etc/apt# apt update
Hit:1 http://ftp.ca.debian.org/debian buster InRelease
Ign:2 http://deb.debian.org/debian buster/updates InRelease
Hit:3 http://security.debian.org buster/updates InRelease
Hit:4 http://ftp.ca.debian.org/debian buster-updates InRelease
Err:5 http://deb.debian.org/debian buster/updates Release
404 Not Found [IP: 151.101.184.204 80]
Reading package lists... Done
E: The repository 'http://deb.debian.org/debian buster/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:/etc/apt#

I'm inclined to think the problem has something to do with the 404 error, but I don't know what to do about it.

Cheers
John
 
Old 01-05-2020, 07:46 PM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,663

Rep: Reputation: 118Reputation: 118
Remove the useless line that causes the failure it is a duplicate of the proper line below it that works.

Code:
deb http://deb.debian.org/debian/ buster/updates main contrib       <------ remove
deb-src http://deb.debian.org/debian/ buster/updates main contrib       <------ remove

# buster-updates, previously known as 'volatile'
deb http://ftp.ca.debian.org/debian/ buster-updates main contrib
deb-src http://ftp.ca.debian.org/debian/ buster-updates main contrib #Added by software-properties
They both are doing the same thing except one is a non-functioning mirror. Oh and may as well add non-free to each of those lines in the sources.list to get software from it that may be needed like firmware for hardware in the machine. Oh and switch to mirrors which actually have some speed to them, the Canadian are useless for this purpose, try this for your sources.list

Code:
deb http://ftp.de.debian.org/debian/ buster main contrib non-free
deb-src http://ftp.de.debian.org/debian/ buster main contrib non-free #Added by software-properties

# buster-updates, previously known as 'volatile'
deb http://ftp.de.debian.org/debian/ buster-updates main contrib non-free
deb-src http://ftp.de.debian.org/debian/ buster-updates main contrib non-free #Added by software-properties
deb http://security.debian.org/ buster/updates main contrib non-free
deb-src http://security.debian.org/ buster/updates main contrib non-free  #Added by software-properties
 
1 members found this post helpful.
Old 01-10-2020, 05:58 PM   #7
jrchapple
LQ Newbie
 
Registered: Dec 2019
Posts: 4

Original Poster
Rep: Reputation: Disabled
The issue is solved. Thank you, HappyTux from another Canadian.
 
Old 01-10-2020, 10:04 PM   #8
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,663

Rep: Reputation: 118Reputation: 118
Quote:
Originally Posted by jrchapple View Post
The issue is solved. Thank you, HappyTux from another Canadian.
You are welcome.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to download all required dependencies for required rpm package shrinivas.d Linux - Newbie 5 07-14-2019 10:58 AM
Existing java updates required to remain on computer? colinstu General 1 02-20-2007 12:44 AM
LXer: DistroWatch Weekly: DistroWatch in 2006, MEPIS, Fedora, Debian, FreeBSD and RHEL release updates LXer Syndicated Linux News 0 01-01-2007 04:54 AM
Alternate Apt mirror for gnome updates required timko Fedora 1 02-20-2004 12:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 02:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration