Repository issue...

shastrycs

New Member
Joined
May 30, 2019
Messages
5
Reaction score
3
Credits
49
Hi,
I installed Debian 10.8.0 Thursday (graphical install) with a bootable USB stick. Now i am not able to do any updates or install additional software since it is asking for a Debian CD/DVD disk in the CD/DVD drive. I came across the following tutorial...


but got an error that the release file is not signed when i did an apt-get update. I downloaded another copy with the same result. The output of apt-get is as given below.........

sid@computer:~$ sudo apt-get update
[sudo] password for sid:
Get:1 file:/mnt/debcd buster InRelease
Ign:1 file:/mnt/debcd buster InRelease
Get:2 file:/mnt/debcd buster Release [19.1 kB]
Get:2 file:/mnt/debcd buster Release [19.1 kB]
Get:3 file:/mnt/debcd buster Release.gpg
Ign:3 file:/mnt/debcd buster Release.gpg
Hit:4 http://deb.debian.org/debian buster InRelease
Get:5 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:6 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Reading package lists... Done
E: The repository 'file:/mnt/debcd buster Release' is not signed.
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.

Am i missing something???


Thanks and Regards
Sid
 


Am i missing something???
Looks like apt is trying to use the CD repo. Check the sources.list file to verify that. To edit that file do
Code:
sudo nano /etc/apt/sources.list
It should look something similar to this
Code:
deb http://ftp.debian.org/debian/ buster main contrib non-free
##deb-src http://ftp.debian.org/debian/ buster main contrib non-free

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

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

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

# mirror chooser service - experimental
##deb http://deb.debian.org/debian/ buster main contrib non-free
##deb-src http://deb.debian.org/debian/ buster main contrib non-free
If there's any line starting with deb cdrom comment those out, that is, add "#" before, so it looks like this
Code:
# deb cdrom
Save changes with Ctrl + o and close with Ctrl + x. Then run updates again.

Hope this helps! :)
 
Thanks for the tip...
Didn't work. Same error message. Here is the dump of my sources.list file...

Code

# deb cdrom:[Debian GNU/Linux 10.8.0 _Buster_ - Official amd64 DVD Binary-1 20210206-10:31]/ buster contrib main

#deb cdrom:[Debian GNU/Linux 10.8.0 _Buster_ - Official amd64 DVD Binary-1 20210206-10:31]/ buster contrib main

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

deb file:/mnt/debcd/ buster main contrib

#deb http://deb.debian.org/debian/ buster main
#deb-src http://deb.debian.org/debian/ buster main

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

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

Members online


Latest posts

Top