问题描述
我最近在我的计算机上重新安装Cygwin,以便访问我缺少的几个命令行元素。我从来没有以前的Cygwin的困难,但在这次重新安装后,错误消息继续出现(几乎)每个命令输入。例如:
I recently reinstalled Cygwin on my computer in order to get access to several command line elements that I was missing. I have never had previous difficulty with Cygwin, but after this reinstallation, an error message continues to appear after (almost) each command entered. For instance:
-bash-4.1$ wc m1.txt
3 [main] bash 2216 child_info_fork::abort: data segment start: parent(0x26D000) != child(0x38D000)
-bash: fork: retry: Resource temporarily unavailable
2013930 4027950 74968256 m1.txt
通常,命令仍然运行(如上所示),但不总是。偶尔,错误消息连续出现几次(初始数字3将会变为4或2,特别是如果我开始第二个Cygwin窗口。)
Generally, the command still runs (as seen above), but not always. Occasionally, the 'error' message occurs several times in a row (the initial number "3" will then change to a "4" or "2", notably if I start a second Cygwin window.
此外,一旦启动Cygwin,我会在提示之前收到以下消息:
Also, as soon as I start up Cygwin, I get the following message before the prompt:
3 [main] bash 6140 child_info_fork::abort: data segment start: parent(0x26D000) != child(0x36D000)
-bash: fork: retry: Resource temporarily unavailable
-bash: fork: Resource temporarily unavailable
-bash-4.1$
目前,我争论是否卸载/重新安装Cygwin或只是生活与错误消息,但我很好奇,如果可能有一个我不知道的问题。
At the moment, I am debating whether to uninstall/reinstall Cygwin again or just live with the error messages, but I was curious if there might be an issue that I am unaware of.
感谢您的帮助!
推荐答案
(假设Cygwin安装在C:\Cygwin):
(assuming Cygwin is installed at C:\Cygwin):
- 如果缺少任何一个,重新运行Cygwin设置并选择dash,ash和rebase软件包
- 当无法切换某些文件的错误出现时,请选择全部忽略。等待此过程完成。
- 如果您遇到有关Cygwin进程运行的错误,请再次尝试步骤1。如果仍然无法解决问题,请将计算机重新启动到安全模式,然后重试这些步骤。
- 注释者注意到,根据您的设置,您可能必须输入
cd / usr / bin&&&
这个过程对我有用。我希望它也适合你们。
This process worked for me. I hope it works for you guys too.
资料来源:
这篇关于Cygwin错误:“-bash:fork:retry:Resource temporarily unavailable”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!