为什么 macports 会列出同一版本的多个已安装端口,如何修复?
具体来说,该命令:
sudo port list installed
显示双精度包,如下所示:
apache2 @2.2.21 www/apache2
apache2 @2.2.21 www/apache2
...
ncurses @5.9 devel/ncurses
ncurses @5.9 devel/ncurses
php5-iconv @5.3.8 php/php5-iconv
php5-iconv @5.3.8 php/php5-iconv
php5-intl @5.3.8 php/php5-intl
php5-intl @5.3.8 php/php5-intl
...
这是为什么?
这是怎么发生的以及我该如何解决它?
Specifically, the command:
sudo port list installed
Shows doubles of packages, like this:
apache2 @2.2.21 www/apache2
apache2 @2.2.21 www/apache2
...
ncurses @5.9 devel/ncurses
ncurses @5.9 devel/ncurses
php5-iconv @5.3.8 php/php5-iconv
php5-iconv @5.3.8 php/php5-iconv
php5-intl @5.3.8 php/php5-intl
php5-intl @5.3.8 php/php5-intl
...
Why is this?
How did it happen and how do I fix it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
来自 macports 错误列表
非活动版本是已被活动的新版本所取代的旧端口。
port list inactive
显示不再使用的端口,在您的情况下应显示每个重复的端口(或 2 个或三元组等)port uninstall inactive
将删除不活动的端口端口,只给你留下一个。From macports bug list
The inactive versions are older ports that have been replaced by newer ones that are active.
port list inactive
shows the ports that are not used any more and in your case should show one of each duplicate (or 2 or triplets etc)port uninstall inactive
will remove the inactive ports and leave you with just one.