且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从 RPM 中提取文件时出错 (rpm2cpio)

更新时间:2021-07-16 03:54:54

这个问题在 Redhat Bugzilla 项 rpm2cpio 在 rhel-6 rpms 上失败 并包含类似于以下内容的快速修复,这需要安装 xz 包:>

This problem is mentioned in the Redhat Bugzilla item rpm2cpio fails on rhel-6 rpms and includes a quick fix similar to the following, which requires that the xz package is installed:

rpm2cpio foo.rpm | xzcat | cpio -idmv