Macport自我更新失败 [英] Macport self update failed

查看:273
本文介绍了Macport自我更新失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ginnyweasley:~ s66$ sudo port selfupdate
Password:
--->  Updating MacPorts base sources using rsync
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed

我试图重新下载macports,但它似乎仍然无法正常工作.我也尝试了没有sudo的方法,但仍然无法正常工作.有人能解决这个问题吗?谢谢.

I have tried to redownload macports and it still does not seem to work. I have also tried it without sudo and it still does not work. Does anyone have a solution to this problem? thanks.

推荐答案

我也遇到了这个问题.甚至像您一样,我重新下载了发行版并重新安装.

I had that problem too. Even, like you, I re-downloaded the distribution and reinstalled.

直到我阅读了联机帮助页并尝试了'-d'标志后,

That is until I read the manpage and tried the '-d' flag so

sudo port -d selfupdate

sudo port -d selfupdate

我尝试了一下,但是出人意料的是没有找到失败但成功完成的命令.我没有看到任何端口更新,但是也许我们看到的错误是在更新端口树之后发生的.

I tried it and surprisingly didn't find a command failing but successful completion. I didn't see any ports updated, but perhaps the error we saw were occurred after the ports tree was updated.

如果它不起作用,请尝试尝试一下,它至少会为您指明正确的方向.

If it doesn't work, try it anyway, it'll at least point you in the right direction.

这篇关于Macport自我更新失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆