PDA

View Full Version : Why does apt-get ask for the cd?


titus
April 9th, 2005, 01:33 PM
When i did 'sudo apt-get install nmap' i was asked to insert the ubuntu cd.

Why does it need to do this?

Can I turn this off?

Thanks,

Titus.

dusu
April 9th, 2005, 01:43 PM
It's probably because you still have a line in your /etc/apt/sources.list file, where it is said that the cd is a place where to get packages.
If you comment it out, everything should be ok, and only the net will be used.

titus
April 9th, 2005, 01:47 PM
yep, thought i'd checked that, but there it is.

it was hiding on the first line :?

dusu
April 9th, 2005, 01:52 PM
yep, thought i'd checked that, but there it is.

it was hiding on the first line :?

No problem ! The first line is always nasty :-D

titus
April 9th, 2005, 01:54 PM
:)

yeah, normally just have a title comment there.

thanks for your help.