$ sudo apt-get install git
[sudo] password for shrihari:
Reading package lists...
Done Building dependency tree
Reading state information...
Done git is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
此外,我正在尝试安装 devstack,但执行以下操作后出现一些网络错误:
$ git clone https://git.openstack.org/openstack-dev/devstack
Cloning into 'devstack'...
fatal: unable to access 'https://git.openstack.org/openstack-dev/devstack/': Failed to connect to git.openstack.org port 443: Network is unreachable
答案1
我也遇到了同样的问题,但下面的方法对我有用
git clone https://github.com/openstack-dev/devstack.git
或者
git clone git://git.openstack.org/openstack-dev/devstack
答案2
我关注了关联
并能够顺利安装。我使用的是 Ubuntu Desktop 14.04.3 LTS
答案3
当我使用 cloner devstack 时,我发现了一个错误:--致命:无法访问'https://opendev.org/openstack/devstack/':GnuTLS 接收错误(-9):收到了一个长度意外的 TLS 数据包,我在之后同时执行以下命令解决了此错误:
- sudo apt-get install --reinstall ca-certificates
- git 克隆https://github.com/openstack-dev/devstack.git