给定一个 pacman 包(.pkg.tar.xz),是否有工具将其转换为 deb 或 rpm 包?
换句话说,我正在寻找相当于外星人。到目前为止,我的印象是这样的工具不存在。
编辑:关于 .pkg.tar.xz pacman 包的一些背景(来源:Arch Wiki“创建包”文章):
Arch 包只不过是使用 xz 压缩的 tar 存档或“tarball”,其中包含由 makepkg 生成的以下文件:
The binary files to install.
.PKGINFO: contains all the metadata needed by pacman to deal with packages, dependencies, etc.
.MTREE: contains hashes and timestamps of the files, which are included in the local database so that pacman can verify the integrity of the package.
.INSTALL: an optional file used to execute commands after the install/upgrade/remove stage. (This file is present only if specified in the PKGBUILD.)
.Changelog: an optional file kept by the package maintainer documenting the changes of the package. (It is not present in all packages.)