Apt

找不到 Kali/kali-rolling :gns3 安裝的分發模板?

  • February 14, 2019

我正在嘗試使用在 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

卡利怎麼做

您可以下載最新的軟體包(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 →

http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.0.0_1.0.1t-1+deb7u4_i386.deb

gdebi gns3/gns3-iou_0.0.1~xenial2_amd64.deb

(我使用 Debian 9 Stretch 進行了測試安裝。)

更新:請每月在這裡查看一次http://ppa.launchpad.net/gns3/ppa/ubuntu/pool/main/ …如果您想要最新的軟體包。

引用自:https://unix.stackexchange.com/questions/435058