Bugzilla – Bug 308475
YaST thinks kernel-source package is ~250GB
Last modified: 2007-09-12 12:48:06 UTC
Before checking the "kernel-source" package for installation in YaST it reports that I have 6.9GB free on my HD. After checking the package it pops up an "out of space" error saying I have -235.8GB free. It appears to be taking the package size of 242.7MB (listed in YaST) and thinking it's GB instead of MB. It *is* possible to simply ignore the fault continue installing the package, but it is still very disconcerting. /var/log/YaST2/y2log doesn't have any useful information.
I have found several additional packages that cause this error. They include packages from external repositories.
Anyway, please, attach those YaST logs.
*** Bug 309046 has been marked as a duplicate of this bug. ***
I have attached YAST logs for this issue to my duplicate buy 309046, if that is any help for resolving it.
Created attachment 162916 [details] YaST2 log This a fresh YaST2 log where all I did was go into the Software Management module and clicked on a random package. ("boswars" from the Packman repository) This random package triggered the bug telling me that the single package would take up many GB when it is in reality only a few MB.
Oh, okay. I thought that request for the YAST logs was in reference to the kernel-source problem mentioned at the top of this bug, showing not enough disk space. I haven't experienced the problem with adding or updating any packages except the kernel packages here.
The problem is in libzypp - when the disk usage is not known (a YUM repository) zypp uses the installed package size. The disk usage size must be in kilobytes so the package size must be divided by 1024. Fixed in SVN (rev. 7156)
*** This bug has been marked as a duplicate of bug 308362 ***
*** Bug 309640 has been marked as a duplicate of this bug. ***