Subject: pkg/17482: pkg_add on solaris incorrectly computes available sizes
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dbj@netbsd.org>
List: netbsd-bugs
Date: 07/04/2002 15:02:15
>Number: 17482
>Category: pkg
>Synopsis: pkg_add on solaris incorrectly computes available sizes
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 04 12:03:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Darrin B. Jewell
>Release: pkg_add 20020402
>Organization:
>Environment:
# uname -a
SunOS marcela.zlz.net 5.8 Generic_108528-13 sun4u sparc SUNW,UltraAX-i2
>Description:
pkg_add on solaris won't let me install a binary package because
it is incorrectly calculating the amount of space available.
>How-To-Repeat:
Script started on Thu Jul 04 14:47:46 2002
# usr/pkg/bsd/bin/pkg_add -v emacs-20.7.tgz
Requested space: 47861708 bytes, free space: -1216643072 bytes in /var/tmp/instmp.uIai4z
pkg_add: projected size of 47861708 exceeds available free space.
Please set your PKG_TMPDIR variable to point to a location with more
free space and try again
pkg_add: not extracting /export/spare/dist/anoncvs.netbsd.org/pkgsrc/packages/All/emacs-20.7.tgz
into /export/spare/dist/anoncvs.netbsd.org/pkgsrc/packages/editors, sorry!
pkg_add: 1 package addition(s) failed
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t2d0s0 245679 52148 168964 24% /
/dev/dsk/c0t2d0s6 3098743 1763677 1273092 59% /usr
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
/dev/dsk/c0t2d0s5 2055463 45163 1948637 3% /var
swap 1510376 16 1510360 1% /var/run
swap 1510472 112 1510360 1% /tmp
/dev/dsk/c0t2d0s7 32016550 24946980 6749405 79% /export/spare
# /usr/pkg/bsd/bin/pkg_add -V
20020402
# exit
script done on Thu Jul 04 14:48:17 2002
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: