Table of Contents
Repository cdrom Does not Have a Release File
In some cases, you got the following error when trying to update Ubuntu using apt update command.
To resolve this problem from terminal you must remove or comment the CD-ROM repository source directly from /etc/apt/sources.list.
sudo nano /etc/apt/sources.list
Remove the CD-ROM repository by enter # at the beginning of this line as screenshot below:
I’m using nano editor, so i need press Ctrl + O => Enter => Ctrl + X to save the file.
Once done, run update again and the error should be gone.
5/5 - (1 vote)