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

Davide Beatrici notifications at github.com
Fri Jan 16 04:12:51 UTC 2026


davidebeatrici 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.

I wrote an implementation without the need to link to librpm: https://github.com/libarchive/libarchive/pull/2846

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

Message ID: <rpm-software-management/rpm/issues/4078/3758052542 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260115/5b7da5f4/attachment.htm>


More information about the Rpm-maint mailing list