https://bugzilla.novell.com/show_bug.cgi?id=215516 Summary: Inaccurate disk usage calculation due to missing metadata Product: openSUSE 10.2 Version: Alpha 5 plus Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: kkaempf@novell.com ReportedBy: ma@novell.com QAContact: kkaempf@novell.com CC: jsrain@novell.com, aj@novell.com, ro@novell.com, sh@novell.com, visnov@novell.com, kukuk@novell.com, cthiel@novell.com, dmacvicar@novell.com We are basically facing 2 problems: 1) Packages which require a noticable ammount of extra space when executing their %post install. Well known candidate for this is the kernel package when executing mkinitrd. Mostly affects systems which have a small /boot partition. Impact: Kernel installation fails due to no space left on /boot. Unfortunately rpm does not treat a failed %post as an error. So we don't even recognize that the kernel installation failed. Solution: Ask autobuild to fake DU data by adding a reasonable extra ammount for these packages. 2) YUM metadata contain no DU data at all. This means that packages provided by YUM sources require no space. YUM uses an inffecient format to provide the packages filelists, and it does not contain any size information. Impact: As the rpm db provides disk usage information, patch installation can decrease the calculated ammount of required disk space (the installed package will release space, and the installed update will not require any space). Solution: Elaborate a more compact format, and provide (at least) information about the filetype (minimum whether it's a direcory or not) and filesize. Rpmtags denoting configfiles and documentation may be nice for the UI. Reported for openSUSE but due to 2) it affects all products shipping patches in YUM format. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.