rpm size estimation does not account hardlinks?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
RPM |
Confirmed
|
Wishlist
|
Unassigned | ||
PLD Linux |
New
|
Undecided
|
Unassigned |
Bug Description
# poldek -u git-core
There are 3 packages to install (2 marked by dependencies):
I git-core-
D perl-Error-
This operation will use 11.1MB of disk space.
Need to get 2.5MB of archives.
Executing rpm --upgrade -vh --root / --define _check_dirname_deps 1...
Preparing... #######
error: Install/Erase problems:
installing package git-core-
12:52:22 root[load: 0.22]@vagrant-pld /etc/etckeeper# df
Filesystem Type Size Used Avail Use% Mounted on
rootfs rootfs 1020M 908M 112M 90% /
now i growed disk and tried again:
# df /
Filesystem Type Size Used Avail Use% Mounted on
/dev/sys/rootfs xfs 1.4G 909M 512M 64% /
# poldek -u git-core
...
Processing dependencies...
git-core-
perl-Git-
Package git-core-
1. git-core-cvs
2. git-core-svn
3. rsync
Try to install them? (y - all, n - nothing, s - select some of)? [N/y/s] n
There are 3 packages to install (2 marked by dependencies):
I git-core-
D perl-Error-
This operation will use 11.1MB of disk space.
Need to get 2.5MB of archives.
Executing rpm --upgrade -vh --root / --define _check_dirname_deps 1...
Preparing... #######
1:perl-Error #######
2:perl-Git #######
3:git-core #######
# df /
Filesystem Type Size Used Avail Use% Mounted on
/dev/sys/rootfs xfs 1.4G 919M 501M 65% /
git core is a package with files having 112 hardlinks
# rpm -q poldek rpm
poldek-
rpm-5.4.10-50.i686
Changed in rpm: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
git core is a package with files having 112 hardlinks:
# rpm -qlv git-core core/gitconfig core/templates core/templates/ branches core/templates/ description core/templates/ hooks core/templates/ info core/templates/ info/exclude git-receive- pack git-upload- archive git-upload- pack git-core/ git git-core/ git-add git-core/ git-add- -interactive git-core/ git-am git-core/ git-annotate git-core/ git-apply git-core/ git-archive git-core/ git-bisect git-core/ git-bisect- -helper git-core/ git-blame git-core/ git-branch git-core/ git-bundle git-core/ git-cat- file git-core/ git-check- attr git-core/ git-check- ignore git-core/ git-check- ref-format git-core/ git-checkout git-core/ git-checkout- index git-core/ git-cherry git-core/ git-cherry- pick
drwxr-xr-x 2 root root 0 apr 8 18:31 /etc/git-core
-rw-r--r-- 1 root root 46 apr 8 18:31 /etc/git-
drwxr-xr-x 2 root root 0 apr 8 18:19 /etc/git-
drwxr-xr-x 2 root root 0 apr 8 18:19 /etc/git-
-rw-r--r-- 1 root root 73 apr 8 18:19 /etc/git-
drwxr-xr-x 2 root root 0 apr 8 18:31 /etc/git-
drwxr-xr-x 2 root root 0 apr 8 18:19 /etc/git-
-rw-r--r-- 1 root root 240 apr 8 18:19 /etc/git-
-rwxr-xr-x 112 root root 1405688 apr 8 18:31 /usr/bin/git
-rwxr-xr-x 112 root root 1405688 apr 8 18:31 /usr/bin/
-rwxr-xr-x 2 root root 582036 apr 8 18:31 /usr/bin/git-shell
-rwxr-xr-x 112 root root 1405688 apr 8 18:31 /usr/bin/
-rwxr-xr-x 2 root root 602516 apr 8 18:31 /usr/bin/
drwxr-xr-x 2 root root 0 apr 8 18:31 /usr/lib/git-core
-rwxr-xr-x 112 root root 1405688 apr 8 18:31 /usr/lib/
-rwxr-xr-x 112 root root 1405688 apr 8 18:31 /usr/lib/
-rwxr-xr-x 1 root root 36654 apr 8 18:31 /usr/lib/
-rwxr-xr-x 1 root root 22361 apr 8 18:31 /usr/lib/
-rwxr-xr-x 112 root root 1405688 apr 8 18:31 /usr/lib/
-rwxr-xr-x 112 root root 1405688 apr 8 18:31 /usr/lib/
-rwxr-xr-x 112 root root 1405688 apr 8 18:31 /usr/lib/
-rwxr-xr-x 1 root root 11427 apr 8 18:31 /usr/lib/
-rwxr-xr-x 112 root root 1405688 apr 8 18:31 /usr/lib/
-rwxr-xr-x 112 root root 1405688 apr 8 18:31 /usr/lib/
-rwxr-xr-x 112 root root 1405688 apr 8 18:31 /usr/lib/
-rwxr-xr-x 112 root root 1405688 apr 8 18:31 /usr/lib/
-rwxr-xr-x 112 root root 1405688 apr 8 18:31 /usr/lib/
-rwxr-xr-x 112 root root 1405688 apr 8 18:31 /usr/lib/
-rwxr-xr-x 112 root root 1405688 apr 8 18:31 /usr/lib/
-rwxr-xr-x 112 root root 1405688 apr 8 18:31 /usr/lib/
-rwxr-xr-x 112 root root 1405688 apr 8 18:31 /usr/lib/
-rwxr-xr-x 112 root root 1405688 apr 8 18:31 /usr/lib/
-rwxr-xr-x 112 root root 1405688 apr 8 18:31 /usr/lib/
-rwxr-xr-x 112 root root 1405688 apr 8 18:31 /usr/lib/
-rwxr-xr-x 1 root root 99171 apr 8 18:31 /usr/lib/gi...