E: Unable to locate package git

git can’t install

报错信息:

root@281eef85bb5d:~# apt-get install git

Reading package lists... Done

Building dependency tree       

Reading state information... Done

E: Unable to locate package git

解决方法:

root@281eef85bb5d:~# apt-get update

root@281eef85bb5d:~# apt-get install git

猜你喜欢

转载自www.cnblogs.com/cristin/p/9253958.html