Mailinglist Archive: opensuse-bugs (9022 mails)

< Previous Next >
[Bug 428258] package selection complains about insufficient diskspace
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 29 Sep 2008 09:22:12 -0600 (MDT)
  • Message-id: <20080929152212.86FF4CC6D4@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=428258

User lslezak@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=428258#c3


Ladislav Slezak <lslezak@xxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC|
|lslezak@xxxxxxxxxx
AssignedTo|lslezak@xxxxxxxxxx
|zypp-maintainers@xxxxxxxxxxxxxxxxxxxxxx
Component|Installation |libzypp
QAContact|jsrain@xxxxxxxxxx |qa@xxxxxxx




--- Comment #3 from Ladislav Slezak <lslezak@xxxxxxxxxx> 2008-09-29 09:22:11
MDT ---
I think the problem is in the disk usage code or in the metadata.

The size computed by libzypp (using DU data) is 4423315kB:

2008-09-22 09:38:30 <1> 10.0.2.15(3270) [Pkg] SpaceCalculation.ycp:555 Pkg
Builtin called: TargetGetDU
2008-09-22 09:38:30 <1> 10.0.2.15(3270) [YCP] SpaceCalculation.ycp:557 /:
[4179812, 0, 4423315, 0]
2008-09-22 09:38:30 <2> 10.0.2.15(3270) [YCP] SpaceCalculation.ycp:561
Partition "/" needs 237.80 MB more disk space.

But the size computed by pkg-bindings is 1524193kB:

2008-09-22 09:38:30 <1> 10.0.2.15(3270) [Pkg] Packages.ycp:173 Pkg Builtin
called: PkgMediaSizes
2008-09-22 09:38:30 <1> 10.0.2.15(3270) [Pkg]
Package.cc(PkgMediaSizesOrCount):350 Pkg::PkgMediaSizes result: [[1560773632]]
2008-09-22 09:38:30 <1> 10.0.2.15(3270) [YCP] Packages.ycp:185 Total size of
packages to install 1560773632 (1524193kB)


Pkg-bindigs use ResObject::installSize() in Pkg::PkgMediaSizes() function.

Reassigning to the libzypp team...


--
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.

< Previous Next >
References