[Rpm-maint] [rpm-software-management/rpm] Files generated by rpm 6.0.x can't be opened with libarchive (Issue #4078)

Panu Matilainen notifications at github.com
Thu Jan 8 12:49:49 UTC 2026


pmatilai left a comment (rpm-software-management/rpm#4078)

The "new" rpm payload format, used for packages with files over >= 4GB since rpm 4.12 and now by default in v6 format, does not have sufficient data to be used as a standalone archive, using it requires parsing the file info from the rpm header.

This is what `rpm2archive` is for. There's also an API (C and Python) for reading the payload, if one can link to librpm to use it. I can't speak for libarchive developers but I seriously doubt that would be acceptable for them.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/4078#issuecomment-3723731292
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/4078/3723731292 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260108/409a1978/attachment.htm>


More information about the Rpm-maint mailing list