[Q & A] "Media change, please insert the disc" error while installing software in Ubuntu
This post is the solve of the common error which occurs in Ubuntu based system – “please enter disc labeled ‘Ubuntu’ in the drive ‘/media/cdrom/’ and press enter.
This question was asked by one of my Facebook friend. If you also have some doubts or question regarding Linux and open-source, kindly look at the options below the post.
Hey! I’m having some problems with Ubuntu. Thought you might be able to help. When I try installing Wine ‘sudo apt-get install wine’, I get the following error. Media change: please insert the disc labeled ‘Ubuntu 11.10 _Oneiric Ocelot_ – Release amd64 (20111012)’ in the drive ‘/media/cdrom/’ and press enter.
|Ubuntu Software Center|
|Ubuntu Software Center – Edit Sources|
Uncheck the option marked as “Cdrom with Ubuntu 11.10 ‘Oneiric Ocelot'” and check all other options except “Source code”. Once done, exit the Software Center and open terminal and type –
<span style="font-size: 1rem; line-height: 1;">sudo apt-get update</span>
This will sync all the software headers from the repositories and henceafter you will be able to install wine using the command you typed. The problem was happening because you had mistakenly activated software installation from CD ROM, but apt couldn’t find any disk in your drive.