Ubuntu / DigitalOcean - Unable to fetch packages to install git on a fresh install

江枫思渺然 提交于 2019-12-04 12:38:54

Hmmm... I literally ran the same original command again

sudo apt-get install git-all

and it magically worked

Sigh... un-reproducable errors are the worst kind -_-

Sometime, forcing a full refresh can help:

sudo apt-get clean
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get clean
sudo apt-get update 
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!