apt-get install golang永远完成 [英] apt-get install golang taking forever to complete
问题描述
我正在创建一个新的构建定义,其中一个我要执行的命令是
I'm creating a new build definition and one of the commands I want to execute is
apt-get install golang
apt-get install golang
因为默认情况下没有在机器上安装go。
since go is not installed on the machine by default.
操作耗费了大量的时间。是否有解决方法或解决方法?
The operation is taking a ridiculous amount of time. Is there fix or a way around this?
推荐答案
嗨Lian123,
Hi Lian123,
谢谢你在这里发布。
首先,请检查您是否可以直接在机器中运行该命令。如果它在本地工作,那么检查代理服务帐户是否具有在目标计算机上运行命令的权限。
Firstly, please check if you can run the command in the machine directly. If it works locally , then check if the agent service account has the permission to run the command on target machine.
另一件事是确保没有任何网络问题阻止命令获取来自互联网的包裹。还要确保没有任何其他进程线程影响。
Another thing is make sure there are no any network problems to prevent the command getting the packages from internet. Also make sure no any other process thread impact that.
最诚挚的问候。
这篇关于apt-get install golang永远完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!