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.
![odTmqFvLu2XhPDINbyzU2AQBGVMBNfGD75WVL73y3jbVQPW04XtdvRWpoA6Q](https://s3.amazonaws.com/s3.bonben365.com/files/2023/odTmqFvLu2XhPDINbyzU2AQBGVMBNfGD75WVL73y3jbVQPW04XtdvRWpoA6Q.jpg)
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:
![8FJn17iugb3SsBd7pnN1Bo7qrjd4vSg1mnzctSdd9J0EKjg9uPZnI06seQTl](https://s3.amazonaws.com/s3.bonben365.com/files/2023/8FJn17iugb3SsBd7pnN1Bo7qrjd4vSg1mnzctSdd9J0EKjg9uPZnI06seQTl.jpg)
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.
![O9Kp4XaJGmLanTgJeMFCEBHqkMEhEMrQjglCgl9HWanvC2JCdRfWRZISsf26](https://s3.amazonaws.com/s3.bonben365.com/files/2023/O9Kp4XaJGmLanTgJeMFCEBHqkMEhEMrQjglCgl9HWanvC2JCdRfWRZISsf26.jpg)
5/5 - (1 vote)