[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.


- Pranav

Get great discounts on hosting with BigRock. Get Bigrock Coupon from DomainPromoCodes.com and avail great discounts on domain and hosting. Use the following promo codes now.

11% off on .com, .net & .org Domains

BRDOMDISC

25% off on Web Hosting

BRHOSTDISC

Hey Pranav here is a easy solution to this. Open the Ubuntu Software Center.
Ubuntu Software Center
On the menu bar, go to Edit – Software Sources. A window will come like this.
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 -

sudo apt-get update

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.

Disclaimer: This is an affiliate post. Learn why?

 

If you have any doubts or problems regarding open-source/Linux software, you can send me an email to support [at] linuxb [dot] in, message me at my Facebook profile, or tweet me.

Saurav Modak
Liked it? Please consider +1 it below.
Help Freedom Grow. Subscribe to our RSS Feeds and Like Us in Facebook. Also you can leave a comment below.

2 thoughts on “[Q & A] "Media change, please insert the disc" error while installing software in Ubuntu

Leave a Reply