关于 MacPorts 评论的问题:“卸载时手动删除此端口的目录条目”

发布于 2024-08-04 06:52:10 字数 784 浏览 4 评论 0原文

通过 MacPorts 安装 Inkscape

我最近正在通过 Mac OSX Leopard 终端使用“sudo port install inkscape”

在搜索和下载依赖项期间,打印了许多此类注释:

######################################################################
# As MacPorts does not currently have a post-deactivate hook, 
# you will need to ensure that you manually remove the catalog 
# entry for this port when you uninstall it.  To do so, run 
# "xmlcatmgr remove nextCatalog /opt/local/share/xsl/docbook-xsl/catalog.xml".
######################################################################

谁能告诉我此消息的含义是什么?我不明白“确保在卸载该端口时手动删除该端口的目录条目”这句话中的“它”指的是什么。

“it”是否指“此端口”?如何卸载端口?主要是:我什么时候必须使用提供的命令手动删除目录条目?

另外,什么是目录条目?这是我输入“sudo port search inkscape”时出现的内容吗?

我是 MacPorts 安装 n00b。 非常感谢您抽出时间。

I was recently installing Inkscape with MacPorts through a Mac OSX Leopard Terminal using

"sudo port install inkscape"

And during the search-and-download for dependencies, many of these type of comments were printed:

######################################################################
# As MacPorts does not currently have a post-deactivate hook, 
# you will need to ensure that you manually remove the catalog 
# entry for this port when you uninstall it.  To do so, run 
# "xmlcatmgr remove nextCatalog /opt/local/share/xsl/docbook-xsl/catalog.xml".
######################################################################

Can anyone tell me what this message means? I do not understand what "it" refers to in the phrase 'ensure that you manually remove the catalog entry for this port when you uninstall it'.

Does 'it' refer to a 'this port'? How is a port uninstalled? Mostly: When will I have to manually remove the catalog entry using the provided command?

Also, what is a catalog entry? is that what appears when I type "sudo port search inkscape" ?

I am kind of a MacPorts install n00b.
Thanks very much for your time.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

寂寞陪衬 2024-08-11 06:52:10

这只是意味着,如果您删除了发出此消息的包,则必须手动执行该消息的最后一行。

This just means that if you ever remove the package that emitted this message, you have to execute the last line of the message manually.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文