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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-25-2019, 07:37 PM
|
#1
|
LQ Newbie
Registered: Dec 2019
Distribution: Debian Buster
Posts: 8
Rep: 
|
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
|
|
|
12-26-2019, 01:12 PM
|
#2
|
Senior Member
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252
|
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.
|
|
|
01-04-2020, 01:18 PM
|
#3
|
LQ Newbie
Registered: Dec 2019
Distribution: Debian Buster
Posts: 8
Original Poster
Rep: 
|
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
|
|
|
01-05-2020, 12:20 PM
|
#4
|
Senior Member
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252
|
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?
|
|
|
01-05-2020, 06:46 PM
|
#6
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
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.
|
01-10-2020, 04:58 PM
|
#7
|
LQ Newbie
Registered: Dec 2019
Distribution: Debian Buster
Posts: 8
Original Poster
Rep: 
|
The issue is solved. Thank you, HappyTux from another Canadian.
|
|
|
01-10-2020, 09:04 PM
|
#8
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
Quote:
Originally Posted by jrchapple
The issue is solved. Thank you, HappyTux from another Canadian.
|
You are welcome.
|
|
|
All times are GMT -5. The time now is 10:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|