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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.