Red Hat Bugzilla – Bug 64949
glibc-common package ain't so big
Last modified: 2007-03-26 23:53:19 EDT
Description of Problem:
* The glibc-common RPM cleverly uses hard links and PartialHardlinkSets
* This makes the package installer wildly overstate the package size
* This will needlessly scare people with small disk drives
* It causes the "Time Remaining" values to too small
Version-Release number of selected component (if applicable):
* Install Red Hat Linux 7.3
Steps to Reproduce:
1. Install Red Hat Linux 7.3 ...
2. Select only English as the language
3. Watch the pretty "Installing Packages" display
* It says glibc-common has a size of 182,860 KBytes
* glibc-common should have a size of ~10,588 KBytes
* How is package size calculated anyway?
* Even if it is too difficult to calculate the package size based on
the selected languages, it should be possible to estimate it based
on the number of languages.
We're just using the size tag in the packages
The package size is the sum of all
the file sizes, ignoring hardlinks.
The actual installed package size depends on
install parameters such as desired locales
and cannot be computed at build time.
Sure estimates are possible, the current estimate
of the installed package size is the sum of all
the file sizes, ignoring hardlinks :-)