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): How Reproducible: * 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 Actual Results: * It says glibc-common has a size of 182,860 KBytes Expected Results: * glibc-common should have a size of ~10,588 KBytes Additional Information: * 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 :-)