在 MacPorts 中升级端口时如何保留原始版本?
当我升级某些端口时,我注意到升级后的端口可能会更改其变体。这是正常现象还是我观察错误?
假设 git-core 的原始变体是 +bash_completion +doc +python26 +svn,但如果我只是执行 sudo port Upgrade git-core,它将更改为 +bash_completion +doc +python27!这将强制安装 python27!我怎样才能防止这个问题发生?
When I upgrade some ports, I notice the upgraded port might change its variants. Is it normal or my mis-observation?
Let's say the original variants for git-core is +bash_completion +doc +python26 +svn, but if I just do sudo port upgrade git-core, it would change to +bash_completion +doc +python27! And that would force the installation of python27! How could I prevent this issue happening?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,你是对的,变体可以改变。
由于 git-core 现在有默认变体 +python27 (以及其他),您有 3 个选择:
希望这有帮助:)
Yes you are correct, variants can change.
As git-core now has the default variants +python27 (among others) you have 3 options:
Hope this helps :)