lewangdev / gost-install.ipynb

通过 Jupyter Notebook 安装 GOST

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

在colab执行卡在代码块6:下载GOST的时候

wendayuan opened this issue · comments

登陆用户名ubuntu,系统是Ubuntu 20.04.6 LTS (GNU/Linux 5.15.0-1032-oracle x86_64),采用ssh私钥登陆
报错代码为:

sudo: cd: command not found
---------------------------------------------------------------------------
UnexpectedExit                            Traceback (most recent call last)
[<ipython-input-9-570cdcde6c96>](https://localhost:8080/#) in <cell line: 11>()
      9         run(c, 'chmod +x gost')
     10 
---> 11 download_gost(conn)

8 frames
<decorator-gen-4> in sudo(self, command, **kwargs)

[/usr/local/lib/python3.9/dist-packages/invoke/runners.py](https://localhost:8080/#) in _finish(self)
    497             raise CommandTimedOut(result, timeout=timeout)
    498         if not (result or self.opts["warn"]):
--> 499             raise UnexpectedExit(result)
    500         return result
    501 

UnexpectedExit: Encountered a bad command exit code!

Command: "sudo -S -p '[sudo] password: ' cd /opt/gost && rm -rf gost-*"

Exit code: 1

Stdout: already printed

感谢英雄,这个一路干到底,没有报错了