Asking for CD during Package install

If none of the more specific forums is the right place to ask

Asking for CD during Package install

Postby mykpoz » 2006-06-01 17:17

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.

Posts: 10
Joined: 2006-05-19 21:57

Postby walrus » 2006-06-01 19:59

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 etch main contrib non-free
deb-src sid main contrib non-free

run apt-get update and try again
Posts: 38
Joined: 2006-03-20 01:05
Location: Vaiano, Italy

Postby DeanLinkous » 2006-06-04 15:57

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
User avatar
Posts: 1611
Joined: 2006-06-04 15:28

Postby ajdlinux » 2006-06-04 20:56

Just # out or remove the CD lines from sources.list, add a few web repos, apt-get update and you'll be fine.
Posts: 2480
Joined: 2006-04-23 09:37
Location: Port Macquarie, NSW, Australia

Return to General Questions

Who is online

Users browsing this forum: No registered users and 20 guests