Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-05-2010, 09:26 PM   #1
Registered: Oct 2010
Posts: 190

Rep: Reputation: 6
failed to fetch cdrom

Im having a problem updating the cdrom. the error i get is Failed to fetch cdrom://Ubuntu-Netbook 10.04 _Lucid Lynx_ - Release i386 (20100429.4)/dists/lucid/main/binary-i386/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. I tried using apt-cdrom, it tells me the commands and options, which i wrote down for reference, but still that has an error which is, E: Unable to stat the mount point /media/apt/ - stat (2: No such file or directory)
W: Failed to mount '/dev/sr0' to '/media/apt/'
E: Unable to change to /media/apt/ - chdir (2: No such file or directory) Is there another code to recognize the cdrom? because the help of the command and options list didn't give a code for recognizing the cdrom. Im using ubuntu 10.4lts on my netbook and yes i do have a external rom please help thank you
Old 11-06-2010, 01:55 PM   #2
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
I don't really understand why your are updating to a cdrom. One quick question is do you have a directory called /media/apt? That would explain why you couldn't mount anything there.
Old 11-06-2010, 09:04 PM   #3
Registered: Oct 2010
Posts: 190

Original Poster
Rep: Reputation: 6
no i dont have it is there a certain way i use code to get it?
Old 11-06-2010, 10:00 PM   #4
Senior Member
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 9
Posts: 1,409

Rep: Reputation: 169Reputation: 169
If it's a cdrom that you're trying to add to your repositories in the /etc/apt/sources.list file, then the command is "apt-cdrom add". After entering this command, you'll be prompted to add the cdrom, and then it will be added (these commands likely will have to be run with sudo).

What is the mount point for your cdrom (/dev/hdc) in your fstab file (/etc/fstab)? Mine is:
# <file system> <mount point>   <type>      <options>       <dump>  <pass>
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0
Old 11-06-2010, 11:11 PM   #5
Registered: Oct 2010
Posts: 190

Original Poster
Rep: Reputation: 6
I used that command sudo apt-cdrom add and it said Repeat this process for the rest of the CDs in your set.the reason Im trying to figure this out is i was updating and at the end of updating it said failed to fetch cdrom pretty much my first question on the top said.
Old 11-06-2010, 11:22 PM   #6
Registered: Oct 2010
Posts: 190

Original Poster
Rep: Reputation: 6
okay just looked up fstab in the etc file and dev hdc the cdrom is not in either. I used dolphin then i used the filesystem found cdrom clicked it and nothing was in the file. It could be im using a netbook but I can use my external rom still so i really dont know what its trying to update?


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
W: Failed to fetch http:...............!!! vin_akleh Linux - Newbie 5 12-30-2009 04:19 PM
W: Failed to fetch cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)] felix44860 Ubuntu 1 03-25-2009 06:44 PM
Failed to fetch cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/dists steve-kuling Ubuntu 3 02-02-2009 10:21 AM
Trying to Upgrade. Keep getting "Failed to fetch... randell6564 Ubuntu 2 05-02-2007 10:29 PM
Sarge - Failed to Fetch fester225 Debian 7 02-16-2005 03:37 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:16 PM.

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