Report this

What is the reason for this report?

While installing package using apt-get i am getting this error on my ubuntu droplet

Posted on January 30, 2022

So when i try to install any package on my ubuntu 18.04 machine I am getting below error e.g when i do “sudo apt upgrade” I am getting same error “sudo apt-get install sqlite3 libsqlite3-dev” when i run this command i am getting same error Why this is happening and what’s the solution ?

E: Can’t find a source to download version ‘21.2-3-g899bfaa9-0ubuntu2~18.04.1’ of ‘cloud-init:amd64’



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @farhanaftab25,

Excuse me for the question but I’m not sure I fully understood the question, so whether you do sudo apt upgrade or sudo apt-get install sqlite3 libsqlite3-dev, you always get E: Can’t find a source to download version ‘21.2-3-g899bfaa9-0ubuntu2~18.04.1’ of ‘cloud-init:amd64’, is that correct?

If that’s the case, I’ll recommend trying to do the following:

sudo apt update
sudo apt upgrade

and then the rest.

If that doesn’t help as well, I’ll recommend adding the standard repos in your /etc/apt/sources.list.

This comment has been deleted

This comment has been deleted

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.