我正在尝试使用 kali 设置 GNS3
sudo add-apt-repository ppa:gns3/ppa
但收到以下错误
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 95, in <module>
sp = SoftwareProperties(options=options)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
(self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Kali/kali-rolling
答案1
对于卡利怎么做
您可以下载最新的软件包(2018年3月更新)https://drive.google.com/drive/folders/1in6S35GpPGvge5t_2B-36_X_uDJuxX2x?usp=sharing...并按以下顺序安装:
cd Downloads/
apt install gns3/ubridge_0.9.14-1~xenial1_amd64.deb
apt install gns3/gns3-server_2.1.4~xenial1_amd64.deb
apt install gns3/gns3-gui_2.1.4~xenial1_amd64.deb
apt install gns3/vpcs_0.6.1-1~xenial1_amd64.deb
apt install gns3/dynamips_0.2.17-1~xenial1_amd64.deb
dpkg --add-architecture i386
gdebi gns3/iouyap_0.97-1~xenial3_amd64.deb
gdebi libssl1.0.0_1.0.1t-1+deb7u4_i386.deb // from oldoldstable Wheezy →
gdebi gns3/gns3-iou_0.0.1~xenial2_amd64.deb
(我使用 Debian 9 Stretch 进行了测试安装。)
更新:请每月查看一次http://ppa.launchpad.net/gns3/ppa/ubuntu/pool/main/...如果您想要最新的软件包。