ROSA Linux Bugzilla – Bug 3156
Negative package size reported by urpmq
Last modified: 2014-08-19 16:43:23 MSD
Description of problem:
Negative value of packages size:
$ urpmq -i ncbi-blast-debuginfo
Name : ncbi-blast-debuginfo
Version : 2.2.27
Release : 1
Group : Development/Debug
Size : -1765658171 Architecture: x86_64
Source RPM : ncbi-blast-2.2.27-1.src.rpm
URL : http://www.ncbi.nlm.nih.gov
Summary : Debug information for package ncbi-blast
This package provides debug information for package ncbi-blast.
Debug information is useful when developing applications that use this
package or when debugging this package.
Size : -1765658171
How ii it possible?
Yes, I confirm - for large packages, the size can become negative.
Looks like an integer overflow somewhere inside perl-URPM (in functions invoked by genhdlist2).
Updated perl-URPM is rosa2014.1 platform doesn't have this problem. We have also backported fixes to 2012.1, though metadata in 'release' repositories were not regenerated so some packages still an have negative size. But we don't consider this issue in 2012.1 to be crucial, so let's close the bug.