名称前缀为“AT.postflight”的文件究竟是什么?需要什么?

6 osx bash symlink files locate

我不确定是否应该在这里问这个问题,因为我在 OS X 上,但因为我正在使用bash,我在询问某些文件的含义和目的。

我试图理解为什么我不久前安装Designer.app的官方Qt发行版(5.5 版)附带的某个程序 ( )不断崩溃。如果您有兴趣,可以在以下链接中找到有关此问题的更多信息:

/sf/ask/2250430591/?noredirect=1#comment52187516_32149008

显然,我认为问题与libQtDesignerComponents.4.dylib缺少动态库 ( )的事实有关,但是当我使用以下命令定位库时locate libQtDesignerComponents.4.dylib,我有一个奇怪的输出:

/Users/cell/anaconda/lib/libQtDesignerComponents.4.dylib
/Users/cell/anaconda/pkgs/qt-4.8.6-0/lib/libQtDesignerComponents.4.dylib
/Users/cell/anaconda/pkgs/qt-4.8.6-2/lib/libQtDesignerComponents.4.dylib
/Users/cell/anaconda/pkgs/qt-4.8.6-3/lib/libQtDesignerComponents.4.dylib
Run Code Online (Sandbox Code Playgroud)

这很奇怪,因为我没有目录了anaconda

什么可能导致这种奇怪的输出,我该如何解决这个问题?我认为这可能是由于一些符号链接...

无论如何,我的主要问题如下。与此同时,我在我的主目录中发现了一些文件(正好 6 个文件),它们的用途对我来说是未知的。文件名以 为前缀AT.postflight.,后缀为数字。例如,第一个名为的示例AT.postflight.1174包含以下内容:

Has /Library/Tcl/teapot = 0
HOME______ = /Users/cell
USER______ = cell
pkgdir____ = /Volumes/ActiveTcl-8.6/ActiveTcl-8.6.pkg
installdir = /
repository = /Library/Tcl/teapot
shell_____ = /usr/local/bin/tclsh8.6
Having a seed repository.
No existing repository, copying the seed to the repository-to-be at /Library/Tcl/teapot
/usr/local/bin/teacup link make /Library/Tcl/teapot /usr/local/bin/tclsh8.6
Ok
/usr/local/bin/teacup default /Library/Tcl/teapot
/Library/Tcl/teapot
Forcing ownership of /Users/cell/Library/Application Support/ActiveState to cell
___done
Run Code Online (Sandbox Code Playgroud)

这似乎与Tcl包有关......其他文件似乎包含类似的内容......

这些文件的用途是什么?我可以安全地删除它们吗?

Kus*_*nda 1

这些文件是 macOS 软件包安装失败、中断或有问题时遗留下来的。

文件本身可以安全删除,但安装程序安装的软件包可能未正确安装。

至于locate显示不存在的文件和目录:locate如果您最近删除了这些文件层次结构,该命令可能会在不再存在的位置显示文件。数据库locate会定期重建(根据locate.updatedbmacOS 上的手册,每周重建一次)。