安装GNS3报错
Tofloor
poster avatar
lhong
deepin
2017-03-14 18:29
Author
通过sudo add-apt-repository ppa:gns3/ppa安装时报错求助

More info: https://launchpad.net/~gns3/+archive/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox '/tmp/tmpgwya5v_r/pubring.gpg' created
gpg: /tmp/tmpgwya5v_r/trustdb.gpg: trustdb created
gpg: key 9A2FD067A2E3EF7B: public key "Launchpad PPA for GNS3" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: no valid OpenPGP data found.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 688, in addkey_func
    func(**kwargs)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 386, in add_key
    return apsk.add_ppa_signing_key()
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 273, in add_ppa_signing_key
    cleanup(tmp_keyring_dir)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 234, in cleanup
    shutil.rmtree(tmp_keyring_dir)
  File "/usr/lib/python3.5/shutil.py", line 474, in rmtree
    _rmtree_safe_fd(fd, path, onerror)
  File "/usr/lib/python3.5/shutil.py", line 432, in _rmtree_safe_fd
    onerror(os.unlink, fullname, sys.exc_info())
  File "/usr/lib/python3.5/shutil.py", line 430, in _rmtree_safe_fd
    os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] 没有那个文件或目录: 'S.gpg-agent.ssh'




Reply Favorite View the author
All Replies
avatar
jingle
deepin
2017-03-14 20:44
#1
sudo apt-get install gns3
  为何不直接安装呢?
Reply View the author
avatar
lhong
deepin
2017-03-14 21:08
#2
https://bbs.deepin.org/post/136018
sudo apt-get install gns3
  为何不直接安装呢?

sudo apt-get install gns3安装的版本是0.8.7太老了  无法做二层实验,按照官网的步骤sudo add-apt-repository ppa:gns3/ppa安装的是1.5.3,我对这个系统不是很了解,这个报错看不太懂,希望可以帮忙看下,万分感谢!
Reply View the author
avatar
jingle
deepin
2017-03-14 22:45
#3
https://bbs.deepin.org/post/136018
sudo apt-get install gns3安装的版本是0.8.7太老了  无法做二层实验,按照官网的步骤sudo add-apt-repos ...

sudo apt-get install python-software-properties
sudo apt-get install software-properties-common
sudo apt-get update

这个执行了吗 添加ppa的
Reply View the author
avatar
lhong
deepin
2017-03-21 00:40
#4
https://bbs.deepin.org/post/136018
sudo apt-get install python-software-properties
sudo apt-get install software-properties-common
su ...

正在读取软件包列表... 完成
W: 仓库 “http://ppa.launchpad.net/christoph-egger/unknown-horizons/ubuntu zesty Release” 没有 Release 文件。
N: 无法认证来自该源的数据,所以使用它会带来潜在风险。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
E: 无法下载 http://ppa.launchpad.net/christoph-egger/unknown-horizons/ubuntu/dists/zesty/main/binary-i386/Packages  404  Not Found
E: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。
Reply View the author
avatar
jingle
deepin
2017-03-21 01:40
#5
https://bbs.deepin.org/post/136018
正在读取软件包列表... 完成
W: 仓库 “http://ppa.launchpad.net/christoph-egger/unknown-horizons/ubu ...

https://bbs.deepin.org/post/132149 看这里
Reply View the author