I am trying to install Debian kernel sources using the following commands -
sudo apt-get install linux-headers-$(uname -r)
It prompts me to insert the Debian disk to continue the installation.
Why is this so? I have used other Linux Distros and the default behavior seems to be to install from an internet repository.
How should I change the default repository location? i.e. configure online repo for Debian and offline one for Ubuntu?


/etc/apt/sources.listand change the entries to point to some mirror. (See alsoman 5 sources.list) – sr_ Jun 4 '12 at 11:10sources.listis not hard, basic setups require 2 lines (link to the Wiki). – sr_ Jun 4 '12 at 12:14