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

posted @ 2018-07-02 15:18  GᎭ•Cristin  阅读(1250)  评论(0编辑  收藏  举报