Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Asking for CD during Package install

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
mykpoz
Posts: 10
Joined: 2006-05-19 21:57
Contact:

Asking for CD during Package install

#1 Post by mykpoz »

Hello all,

I have been experiencing a problem with a new install of debian.

When I attempt to apt-get certain programs it tries to perform a media change and it asks for the

Code: Select all

'Debian GNU/Linux 3.1 r2 _Sarge -  Officical i386 Binary-1 (20060419)' in the drive '/cdrom/' and press enter
This was installed using the cd iso's instead of the normal net install, which I had used previously (without ever seeing this requested.)

Is there a way to remove this from the process?

I am attempting to apt-get install mysql-server

If you need any other information, let me know.

Thanks

walrus
Posts: 38
Joined: 2006-03-20 01:05
Location: Vaiano, Italy

#2 Post by walrus »

look in /etc/apt/source.list and comment (insert # at the beginning) all the lines beginning with "deb cdrom:"
then add , if there aren't yet, some web repositories, such as:

deb http://ftp.us.debian.org/debian/ etch main contrib non-free
deb-src http://ftp.us.debian.org/debian/ sid main contrib non-free

run apt-get update and try again

User avatar
DeanLinkous
Posts: 1570
Joined: 2006-06-04 15:28

#3 Post by DeanLinkous »

Why not use the cd if you still have it, then it will pull the packages from there that it needs and hit the net if it needs more.

might also find apt-setup useful

ajdlinux
Posts: 2452
Joined: 2006-04-23 09:37
Location: Port Macquarie, NSW, Australia

#4 Post by ajdlinux »

Just # out or remove the CD lines from sources.list, add a few web repos, apt-get update and you'll be fine.

Post Reply