Mailinglist Archive: opensuse-bugs (3547 mails)
| < Previous | Next > |
[Bug 720150] New: rpm: free space calculation is botched
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Fri, 23 Sep 2011 19:33:53 +0000
- Message-id: <bug-720150-21960@http.bugzilla.novell.com/>
https://bugzilla.novell.com/show_bug.cgi?id=720150
https://bugzilla.novell.com/show_bug.cgi?id=720150#c0
Summary: rpm: free space calculation is botched
Classification: openSUSE
Product: openSUSE 12.1
Version: Factory
Platform: x86-64
OS/Version: Linux
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: jengelh@xxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: Beta-Customer
Blocker: ---
Installing glibc-locale in my factory VM just failed, as rpm-4.9.1-29.1 thinks
it has no space left:
linux:/var/cache/zypp/packages/openSUSE-12.1-12.1-0/suse/x86_64 # rpm -ihv
glibc-locale-2.14-12.3.x86_64.rpm
Preparing... ########################################### [100%]
installing package glibc-locale-2.14-12.3.x86_64 needs 71MB on the /
filesystem
linux:/var/cache/zypp/packages/openSUSE-12.1-12.1-0/suse/x86_64 # df /
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 948408 464256 435976 52% /
The funny thing: the disk space rpm wants increases linearly with the amount of
used bytes on the disk:
linux:/var/cache/zypp/packages/openSUSE-12.1-12.1-0/suse/x86_64 # dd
if=/dev/zero of=test bs=1M count=20
20+0 records in
20+0 records out
20971520 bytes (21 MB) copied, 0.0156471 s, 1.3 GB/s
linux:/var/cache/zypp/packages/openSUSE-12.1-12.1-0/suse/x86_64 # rpm -ihv
glibc-locale-2.14-12.3.x86_64.rpm
Preparing... ########################################### [100%]
installing package glibc-locale-2.14-12.3.x86_64 needs 91MB on the /
filesystem
linux:/var/cache/zypp/packages/openSUSE-12.1-12.1-0/suse/x86_64 # dd
if=/dev/zero of=test bs=1M count=40
40+0 records in
40+0 records out
41943040 bytes (42 MB) copied, 0.0359535 s, 1.2 GB/s
linux:/var/cache/zypp/packages/openSUSE-12.1-12.1-0/suse/x86_64 # rpm -ihv
glibc-locale-2.14-12.3.x86_64.rpm
Preparing... ########################################### [100%]
installing package glibc-locale-2.14-12.3.x86_64 needs 111MB on the /
filesystem
linux:/var/cache/zypp/packages/openSUSE-12.1-12.1-0/suse/x86_64 # dd
if=/dev/zero of=test bs=1M count=80
80+0 records in
80+0 records out
83886080 bytes (84 MB) copied, 0.0763985 s, 1.1 GB/s
linux:/var/cache/zypp/packages/openSUSE-12.1-12.1-0/suse/x86_64 # rpm -ihv
glibc-locale-2.14-12.3.x86_64.rpm
Preparing... ########################################### [100%]
installing package glibc-locale-2.14-12.3.x86_64 needs 151MB on the /
filesystem
linux:/var/cache/zypp/packages/openSUSE-12.1-12.1-0/suse/x86_64 # dd
if=/dev/zero of=test bs=1M count=800
dd: writing `test': No space left on device
473+0 records in
472+0 records out
495747072 bytes (496 MB) copied, 0.813001 s, 610 MB/s
linux:/var/cache/zypp/packages/openSUSE-12.1-12.1-0/suse/x86_64 # rpm -ihv
glibc-locale-2.14-12.3.x86_64.rpm
Preparing... ########################################### [100%]
installing package glibc-locale-2.14-12.3.x86_64 needs 496MB on the /
filesystem
--
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 > |