LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apt-update error (http://www.linuxquestions.org/questions/linux-newbie-8/apt-update-error-763520/)

madhattenNY 10-21-2009 03:19 PM

apt-update error
 
Hi Guys,

I tried to run apt-update and get this error.

I recently swapped out my dvd drive but have not configured not sure if I need to.

I also have issues with other apps so I'm thinking I need to edit some conf files?

Any help is alsways welcomed!

Anyway this is my error info:

W: GPG error: http://security.debian.org lenny/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B
W: Failed to fetch cdrom:[Debian GNU/Linux testing _Lenny_ - Official Beta amd64 DVD Binary-1 20080707-12:13]/dists/lenny/contrib/binary-amd64/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom:[Debian GNU/Linux testing _Lenny_ - Official Beta amd64 DVD Binary-1 20080707-12:13]/dists/lenny/main/binary-amd64/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

E: Some index files failed to download, they have been ignored, or old ones used instead.

pljvaldez 10-21-2009 03:23 PM

If you're trying to use the CD/DVD you need to get the DVD drive configured. If you just need to use the online repositories, then you need to edit /etc/apt/sources.list and comment out (i.e. put a "#" symbol in front of) the lines that start with cdrom:.

The GPG problem means you probably need to install the apt key.

AlucardZero 10-21-2009 03:59 PM

Honestly, the first is so common: http://www.google.com/search?client=...utf-8&oe=utf-8

The second is as pljvaldez said

madhattenNY 10-21-2009 04:12 PM

That worked but ....
 
I still nedd to set my new dvd drive to be recognized as the default drive. Any ideas ???

pljvaldez 10-21-2009 04:30 PM

You can either create a symlink to the proper device or edit /etc/fstab so that it is mounted at the proper mount point.


All times are GMT -5. The time now is 04:48 AM.