LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-16-2007, 03:26 PM   #1
sheintze
Member
 
Registered: Jan 2007
Posts: 30

Rep: Reputation: 15
Why is get-apt prompting me for install CD?


I just installed Debian Etch RC4 via VMWare and type "apt-get install g++". It is telling me to insert the netinst installation CD into the drive.

Why is it asking me this? It should be installing everything from the net repositories!

Anyway, it is prompting me to insert the cd into /cdrom/.

(1) what does that mean? there is a /dev/cdrom and a /media/cdrom but no /cdrom.
(2) How do I tell it to skip the CDrom and go to the debian repositories on the net?
(3) What is the physical name of my cdrom? I did "dmesg | grep cd" but could not figure it out.

I have not had problems reading CDroms from fedora when it is running under VMware. VMWare does give me the option of using an iso file for a phony physical CDROM but I am not using that option.

Thanks,
Siegfried
 
Old 03-16-2007, 03:30 PM   #2
bioalchemist
Member
 
Registered: Oct 2005
Distribution: mandriva
Posts: 106

Rep: Reputation: 15
It is doing this because the config file lists the CD as a source for packages. If you want to change that, you can open up Synaptic and go to Repositories, take out the CD ones, and only click the online repositories. Then, it will no longer ask you for a CD.
 
Old 03-16-2007, 03:31 PM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
To solve your problems, disable the cd source by commenting it out in your /etc/apt/sources.list. To find out what your cd drive is, do
Code:
$dmesg | grep -i cd
It should be listed in the output. If you have IDE drives, lines showing your cd drives would be similar to
Code:
hdc: LITE-ON DVDRW SHW-1635S, ATAPI CD/DVD-ROM drive
hdd: SONY DVD-ROM DDU1612, ATAPI CD/DVD-ROM drive
If you have scsi or sata drives the output will be slightly different.

Last edited by reddazz; 03-17-2007 at 06:13 AM.
 
Old 03-17-2007, 02:22 AM   #4
Tortanick
Member
 
Registered: Jul 2006
Distribution: Debian Testing
Posts: 299

Rep: Reputation: 30
whats with the dmesg? go to root then open /etc/apt/sources.list with you're favourite text editor, then delete the part about the cd.
 
Old 03-17-2007, 06:11 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Quote:
Originally Posted by Tortanick
whats with the dmesg? go to root then open /etc/apt/sources.list with you're favourite text editor, then delete the part about the cd.
He said he wanted to know the physical name of his cd drive.
 
Old 03-17-2007, 07:46 AM   #6
Tortanick
Member
 
Registered: Jul 2006
Distribution: Debian Testing
Posts: 299

Rep: Reputation: 30
opps, I missed that.
 
Old 03-20-2007, 09:59 PM   #7
kenneth.ramsey
LQ Newbie
 
Registered: Sep 2005
Posts: 23

Rep: Reputation: 15
apt-get cdrom

try this as root:
code "nano /etc/apt/sources.list"
near the top of this list will be a listing for cdrom or cd media. Remark it out, by putting a # at the front of the line
Ctrl and O will prompt you to save the file, do not chance the name, then Ctrl and X will exit
code "apt-get update"
it will run a while to download the latest updates from your sources.list. Once this is finished use "apt-get install " to get teh files you are wanting. Yes you can do this using any package manager, Kpackage or Snaypic (badly misspelled) but this is ht eway I do it. You can also add places for the apt-get to look. Check out sources.list thread for more places.
 
  


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
Question about 'apt-get upgrade' versus 'apt-get install' eur0dad Red Hat 8 07-16-2006 05:41 PM
apt-get install not working / apt-get update is ok remy215 Debian 2 10-01-2005 07:02 PM
Ssh without prompting for a password deqmacrom Linux - General 2 04-21-2005 02:13 AM
knoppix 3.4 and no apt-setup how to fix info install apt-file + base-config maximalred Debian 0 10-16-2004 06:36 PM
Accidentally deleted APT. How to re-install apt? Gruzzen Debian 2 11-14-2003 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration