1

Getting this error:

E: The repository 'cdrom://elementary OS 5.1 hera - stable amd64 (20191202) bionic Release' does not have a Release file.

5

It looks like you have enable your CD-rom as part of your sourcelist. You need to disable it.

Open the terminal and type (or copy/paste):

sudo nano '/etc/apt/sources.list'

It should look like this:

enter image description here

Set a # infront where it says deb cd-rom

So it looks like this: # deb cdrom:[elementary OS 5.1 hera - stable amd64 (20191202)]/ bionic contrib main non-free

Save: ctrl+o exit: ctrl+x

Now try again running the update:

sudo apt update

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.