![]() So for starters, you shouldn't even have those last four lines in your file anyway, since they refer to Ubuntu 19.10 "Eoan Ermine" (I think that was the codename). Take a look at lines 58-63: deb focal mainįirst of all, the rest of your sources.list file refers to Ubuntu 20.04 "Focal Fossa", and I think you even said above that you were using Ubuntu 20.04. Thank you for the detailed dump of the file. # For information about how to configure apt package sources, # entries were disabled at the end of the installation process. # This system was installed using small removable media # respective vendors as a service to Ubuntu users. # This software is not part of Ubuntu, but is offered by Canonical and the # Uncomment the following two lines to add software from Canonical's # deb-src focal-backports main restricted universe multiverse # or updates from the Ubuntu security team.ĭeb focal-backports main restricted universe multiverse # Also, please note that software in backports WILL NOT receive any review # newer versions of some applications which may provide useful features. # extensively as that contained in the main release, although it includes software from this repository may not have been tested as # multiverse WILL NOT receive any review or updates from the Ubuntu # team, and may not be under a free licence. # review or updates from the Ubuntu security team. Also, please note that software in universe WILL NOT receive any software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu # Major bug fix updates produced after the final release of the If you have any questions or suggestions, feel free to drop a comment.# deb cdrom:/ focal main restricted If you are facing any other update issue, do look at this article which is a collection of most common Ubuntu update error fixes. The error ‘apt-get update cannot be used to add new CD-ROMs’ should have been fixed. Once you have edited the sources.list, run the apt-get update once again. To do that use the command below: sudo gedit /etc/apt/sources.list We need to comment out this line by adding # in front of it to make it look like this: #deb cdrom:/ trusty main restricted Look at the first line in the above list. The output for me was as following: deb cdrom:/ trusty main restrictedĭeb trusty main restricted universe multiverseĭeb-src trusty main restricted universe multiverseĭeb trusty-security main restricted universe multiverseĭeb-src trusty-security main restricted universe multiverseĭeb trusty-updates main restricted universe multiverseĭeb-src trusty-updates main restricted universe multiverse Open a terminal and use the following line to see what is included in sources list: cat /etc/apt/sources.list Now to fix our error, you can take the command line route. But this was not the case for me because the option of cdrom was already grayed out as I was using a live session. The method described above should have fixed this apt-get update cannot be used to add new CD-ROMs error. In the first tab Ubuntu Software, look for the cdrom if it’s checked, uncheck it.Ĭlose the Software Sources and run the update again. If the ISO or CD is plugged in, it could work, but it’s not how it should be used.Īnd to fix this issue, you need to remove this from the list of software sources. This means your system is trying to look for software updates from the ISO image or live CD of your Linux system. This error is because CD-ROM has been included as one of the sources here. ![]() Fixing "Failed to fetch cdrom apt-get update cannot be used to add new CD-ROMs" error In this post, I’ll show you how to fix this error. They have been ignored, or old ones used instead. apt-get update cannot be used to add new CD-ROMsĮ: Some index files failed to download. W: Failed to fetch cdrom://elementary OS 0.3 _Freya_ – Daily amd64 (20150208)/dists/trusty/restricted/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. ![]() The complete error looked like this after running the apt-get update command: apt-get update cannot be used to add new CD-ROMs. One of the less frequent and peculiar errors I encountered with elementary OS the other day.įailed to fetch cdrom Please use apt-cdrom to make this CD-ROM recognized by APT. If you use Ubuntu and Debian-based distros, you may encounter various update errors.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |