我正在尝试将Ubuntu14.04的新安装变成一个X2go服务器。
我遵循了这里的说明:http://wiki.x2go.org/doku.php/wiki:repositories:ubuntu
我已采取以下步骤:
su/etc/apt/sources.list deb http://us.archive.ubuntu.com/ubuntu信任的主宇宙中add-apt-repository ppa:x2go/stable我收到这样的信息:
cannot add ppa: ppa:x2go/stable
please check that the ppa name or format is correct发布于 2015-06-12 11:38:05
问题是sudo不加载用户环境变量。http_proxy和ftp_proxy失踪。奇怪的是,对我来说,只有https_proxy被定义为sudoers。
如果您在代理后面,请检查以下内容:
$ sudo -i
[sudo] password for user:
# env | grep proxy
# http_proxy=http://10.3.100.207:8080/
# ftp_proxy=ftp://10.3.100.207:8080/
# https_proxy=https://10.3.100.207:8080/添加用户变量do --
sudo visudo有关更多细节,请阅读此数独警告。
发布于 2015-03-11 14:32:19
按照从http://wiki.x2go.org/doku.php/wiki:repositories:ubuntu中采取的以下步骤:
打开终端并执行以下命令:
sudo -H gedit /etc/apt/sources.list将以下行添加到文件中
deb http://de.archive.ubuntu.com/ubuntu <my-ubuntu-version> main universe然后在终端中执行以下命令:
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:x2go/stable
sudo apt-get update
apt-cache search x2go然后您可以安装x2goserver、x2goclient或pyhoca或任何其他可用的软件包。
发布于 2016-02-25 06:34:51
正如在http://www.webupd8.org/2014/03/fix-cannot-add-ppa-please-check-that.html上所写的,一个好主意是重新安装证书。我使用sudo -E来保存代理环境。
https://askubuntu.com/questions/524936
复制相似问题