svn 不再工作了

发布于 2024-08-02 09:13:27 字数 355 浏览 1 评论 0原文

突然间,svn 在 Windows XP 上的 cygwin 安装中停止工作。当我执行 svn 二进制文件时,没有任何反应,svn 进程甚至没有显示在任务管理器中。我已经重新安装了 svn 但它没有帮助(最后的手段是卸载 cygwin 本身)。 cygwin 中的其他所有内容都工作正常:awk、python、sed、more、less、tail 等。

这就是正在发生的事情......

mt@s022 ~
$ which svn
/usr/bin/svn

mt@s022 ~
$ svn --version

mt@s022 ~
$ svn status

mt@s022 ~
$ svn info

mt@s022 ~
$

All of the sudden svn stopped working in cygwin installation on windows xp. when I execute svn binary, nothing happens, svn process does not even show up in the Task Manager. I've reinstalled svn but it did not help (the last resort would be to uninstall cygwin itself). Everything else in cygwin works fine: awk,python,sed,more,less,tail and etc.

here is what is happening ...

mt@s022 ~
$ which svn
/usr/bin/svn

mt@s022 ~
$ svn --version

mt@s022 ~
$ svn status

mt@s022 ~
$ svn info

mt@s022 ~
$

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

娇女薄笑 2024-08-09 09:13:27

也有同样的问题。

没有解决方案,但这是一个有趣的事情:对我来说,“curl”和“wget”也以完全相同的方式被破坏。这让我想知道问题的根源是否是底层网络库(libcurl 或类似的)之一(完全猜测)。

编辑:我已经解决了这个问题。事实证明,问题出在 openssl 的“糟糕”版本上。我使用 Cygwin 安装程序“重新安装”OpenSSL。安装程序中的版本号现在是“0.9.8n”,它似乎已经取代了“0.9.8”,我怀疑这是临时分发的错误版本,所以如果您不幸在错误的时间更新,那么这是你得到了什么。新版本似乎并不能通过正常更新自动安装。我猜 0.9.8 被视为与 0.9.8n 相同的版本。

如果这不能为其他人解决问题:关键的见解是通过从 Windows 资源管理器启动 svn.exe 获得的。虽然从 bash 命令行运行时它会静默退出,但从 Windows 资源管理器运行时,它会弹出一个窗口,抱怨:“无法在动态链接库 cygcrypto-0.9.8.dll 中找到过程入口点 pqueue_size”。这让我确定 OpenSSL 是罪魁祸首。对于从 bash 终端运行时表现为命令静默退出的其他问题也可能出现同样的情况。

Same problem as well.

No solution, but here's an interesting thing: For me, "curl" and "wget" are also broken in exactly the same way. This makes me wonder if it is one of the underlying networking libraries (libcurl, or similar) that is at the root of the problem (total guess).

EDIT: I have solved this problem. The problem turned out to be what seems to have been a "bad" version of openssl. I used the Cygwin setup program to "Reinstall" OpenSSL. The version number in setup is now "0.9.8n" which seems to have replaced "0.9.8", which I suspect was a bad version that was temporarily distributed, so if you were unlucky enough to update at the wrong time then this is what you got. The new version doesn't seem to be installed automatically just by updating normally. I'm guessing 0.9.8 is seen as the same version as 0.9.8n.

In case this doesn't solve it for others: the key insight was gained by launching svn.exe from Windows Explorer. While it exits silently when run from the bash command line, when run from Windows Explorer it pops up a window complaining: "the procedure entry point pqueue_size could not be located in the dynamic link library cygcrypto-0.9.8.dll". This allowed me to identify OpenSSL as the culprit. The same might be possible for other problems that manifest as commands silently exiting when run from the bash terminal.

海之角 2024-08-09 09:13:27

这就是我所做的:

  1. net stop sshd (这是可选的)
  2. 删除 /usr/bin/cygwin1.dll
  3. 删除 /usr/bin/cygcrypto-0.9.8.dll
  4. 运行 cygwin-setup
  5. 重新安装 cygwin-base

希望这有帮助。

This is what I did:

  1. net stop sshd (this is optional)
  2. remove /usr/bin/cygwin1.dll
  3. remove /usr/bin/cygcrypto-0.9.8.dll
  4. run cygwin-setup
  5. reinstall cygwin-base

Hope this helps.

债姬 2024-08-09 09:13:27

遇到了这个问题。当我添加一个小包并将其他所有内容保留为 keep 时,它似乎就开始了。有效的解决方案:删除cygwin1.dll,运行cygwin的setup.exe保留base->cygwin之外的所有内容>。更新更新后的cygwin1.dll,一切又恢复正常了。

Ran into this problem. It seemed to have started when I added one small package and left everything else as keep. Solution that worked: remove cygwin1.dll, run cygwin's setup.exe, keep everything except base->cygwin. Updating that updated cygwin1.dll, and all was fine again.

時窥 2024-08-09 09:13:27

我有同样的问题。
我按照上面的建议尝试从Windows资源管理器启动svn,结果发现我的cygwin1.dll本身有问题。

重新安装 cygwin 软件包解决了我的问题

I had same issue.
I followed the suggestion above and tried to launch svn from the windows explorer and it turned out that I had a problem with cygwin1.dll itself.

Doing a reinstall of the cygwin package solved my problem

习惯成性 2024-08-09 09:13:27

我遇到了同样的问题,升级/重新安装 cygwin 基类也没有帮助我......

直到我禁用了“CYGWIN sshd”服务。

因此,如果您运行 Cygwin sshd 进程,请在升级 Cygwin 之前先停止它。

祝你好运!

I had the same problem and upgrading/reinstalling the cygwin base classes didn't help me neither...

Until I disabled the "CYGWIN sshd" service.

Therefore, if you run the Cygwin sshd process, stop it first, before upgrading Cygwin.

Good luck!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文