I was doing a dual boot install today for a customer who wanted to dual boot Windows 7 and Ubuntu linux. I installed the Unbuntu operating system fine but when I went to update the distro some thing was clearly wrong. Each time I tried to use the GUI package manager it would stall and lock up. This prompted me to try with the command line package manager apt-get since the GUI is just a front end for it. Normally command line tools give better error messages so I was hoping for some more detail. Below I show the error and the very simple fix.
The command apt-get update ran fine however when I tried to install the broadcom STA wireless drivers:
apt-get install bcmwl-kernel-source
I was presented with the following error:
Media Change: Please insert the disc labelled
‘Ubuntu 9.10__ Karmic Koala Release amd64 (20091028.5)’
in the drive ‘/cdrom/’ and press enter
This error happens because the cdrom is listed as a source in the sources file for apt-get package manager.
To fix this simply open the following file in a text editor:
And make sure the following line is commented out:
#deb cdrom:[Ubuntu 9.10 _Karmic Koala_ – Release amd64 (20091028.5)]/ karmic main restricted
Now issue the command:
This will update your source list and make the error message go away.