Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How do I update in ubuntu 20.4 with https// … release not found error

I am trying to update my packages in ubuntu 20.4 but its not working and gives the error below

Err:13 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/3.6.3 Release 404 Not Found [IP: 18.165.201.119 443]

I have removed or uninstall mongodb from my packages or machine but still sees this error anytime I run

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

sudo apt-get update
sudo apt autoremove

Can someone please help. Thank you all.

>Solution :

Uninstalling the package does not delete the repository. The non existing repo path is what causes the error with apt. You can take a look into your list of repositories and remove it from there.

$ apt-add-repository --list

There you should be able to see it.

And now delete it.

sudo add-apt-repository --remove <the-repository>

You can also remove the created sources file, which you’ll find in:

/etc/apt/sources.list.d/...

You might also want to remove remnants previously downloaded packages it in: (doesn’t solve your issue, but cleans up)

/var/lib/apt/lists/repo.mongodb.*
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading