[Rpm-maint] [rpm-software-management/rpm] Size-related queries appear broken on v6 packages (Issue #3836)

Panu Matilainen notifications at github.com
Thu Jun 26 10:03:21 UTC 2025


pmatilai created an issue (rpm-software-management/rpm#3836)

While technically people should have moved to use "longsize" and "longfilesizes" ~15 years ago with rpm 4.6, most queries using the old tags will have been working fine because that's what most v4 packages have. With v6 packages *all* those queries are broken:

```
$ rpm -q --qf "%{rpmformat}\n" rpm-libs
6
$ rpm -q --qf "%{size}\n" rpm-libs
(none)
$ rpm -q --qf "[%{filesizes}\n]" rpm-libs
$ 
```

We can explain technicalities all we like, but to a user this will just look like a regression. We need to find *some* way to make this work, while preserving all the necessary ABI + API demands. Ticket #2760 ruminates on the possible ways to address the issue, but I think this actually needs to be tracked as a bug for the above.

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

Message ID: <rpm-software-management/rpm/issues/3836 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250626/f1e04fe4/attachment.htm>


More information about the Rpm-maint mailing list