简体   繁体   English

不能退出macports安装

[英]cant quit macports installation

I've tried to install macports, but it stucks at "running package scripts" for a night . 我试图安装macports,但它坚持“运行包脚本”一 how to close it for I will be able simply restart my mac? 如何关闭它我将只能重新启动我的mac? because each time i'm trying to restart it says "your computer can't be restarted now, because software is being installed." 因为每次我试图重新启动它都说“你的计算机现在无法重启,因为正在安装软件。” why? 为什么? I've already force quited the installation 我已经强行退出了安装

I also noticed this, after upgrading to Sierra and installing the Sierra version of Macports. 在升级到Sierra并安装Sierra版本的Macports后,我也注意到了这一点。

I checked which macports processing were running (ps ax | grep -i macports), and if theyt used much bandwidth (ie. downloading stuff, sudo nettop). 我检查了哪些macports处理正在运行(ps ax | grep -i macports),如果他们使用了很多带宽(即下载内容,sudo nettop)。 It seemed to really not do much. 它似乎真的没那么多。 It also seemed not to be working on rebuilding a database (as mentioned in https://www.schrodinger.com/kb/1922 ), as that would take a lot of CPU and top/htop did not list anything that took a lot of CPU. 它似乎也没有用于重建数据库(如https://www.schrodinger.com/kb/1922中所述 ),因为这会花费大量的CPU和top / htop没有列出任何花费很多的东西的CPU。

So i killed the processes and started macports, which started just fine so i was able to continue (saving existing ports to file, removing all, reinstall). 所以我杀了进程并启动了macports,开始很好,所以我能够继续(将现有端口保存到文件,删除所有,重新安装)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM