I have installed Ubuntu inside VirtualBox and generally I can apt-get install anything but when I run

sudo apt-get install make

I get this response:

Media change: please insert the disk labelled
'Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)'
in the drive '/media/cdrom/' and press [enter]

I cannot do this as I'm in a VM and don't have a cdrom drive. I have successfully installed lots of packages using apt-get and I assume it gets them from the image I installed Ubuntu in the VM or online, so why does this problem occur for make?

Many thanks for any wisdom.


You should check your /etc/apt/sources.list – maybe the disk is still listed as a repository there.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.