LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 11-05-2010, 09:26 PM   #1
linux/unix87
Member
 
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
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,953

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.
jdk
 
Old 11-06-2010, 09:04 PM   #3
linux/unix87
Member
 
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
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux
Posts: 1,073

Rep: Reputation: 102Reputation: 102
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:
Code:
#
# <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
linux/unix87
Member
 
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
linux/unix87
Member
 
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?
 
  


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
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


All times are GMT -5. The time now is 11:52 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration