Whenever I try the command sudo apt-get install -f I get the message

Media change: please insert the disc labeled 'Ubuntu 15.10 _ Wily Werewolf_ - release amd 64 (20151021)' in the drive '/media/cdrom/' and press enter.

Now, my question is can I use a USB instead of a DVD in this case? Because I've got the .iso named above already on a boot USB.

marked as duplicate by Charles Green, chaskes, Eric Carvalho, karel, Pilot6 Oct 25 '15 at 13:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Looks like your CD is listed in Software Sources, you'd better remove it (e.g. this way). It isn't needed as a package source anymore once you've finished installation as you can get newer versions and more packages from the online repositories.

You can also mount the iso to this folder with sudo mount -o loop image.iso /media/cdrom but I believe it's the wrong way to solve this problem.

  • This was a nicely written answer, although I marked the question as a duplicate. Please when possible, include the instructions for how to accomplish a task rather than just a link to an answer. – Charles Green Oct 24 '15 at 14:01

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