移动本地端口文件后的 Macports 自我更新"Error: updating PortIndex"


sudo port selfupdate

屈服:

Error: updating PortIndex for file:///Users/jonny/Projects/Active/macports/ failed

我确切地知道为什么,因为该目录已移动。但是,没有迹象表明Macports仍在看错地方。

我尝试去新位置并打字

sudo portindex -f

重新索引,但可惜,没有运气。我希望Macports忘记那个旧目录并继续前进。太固执了。

我只需要编辑我的 sources.conf并删除过时的参考。

sudo nano /opt/local/etc/macports/sources.conf

最新更新