Subject: bin/17188: pkgdb_remove: Invalid argument
To: None <gnats-bugs@gnats.netbsd.org>
From: None <martti.kuparinen@iki.fi>
List: netbsd-bugs
Date: 06/07/2002 10:51:58
>Number:         17188
>Category:       bin
>Synopsis:       pkgdb_remove: Invalid argument
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 07 01:53:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Martti Kuparinen
>Release:        NetBSD 1.6A
>Organization:
>Environment:
System: NetBSD sun 1.6A NetBSD 1.6A (GENERIC) #4: Fri Jun 7 10:02:15 CEST 2002 root@sun:/usr/src/sys/arch/sparc64/compile/GENERIC sparc64
Architecture: sparc64
Machine: sparc64
>Description:

When removing a package on sparc64 I get one "Invalid argument"
message for each removed file. The files are removed so this is
not a real problem (but really annoying with large packages).

The filesystem used for /usr/pkg is ffs:

/dev/wd0a	/	ffs	rw	1	1
/dev/wd0b	none	swap	sw	0	0
/kern		/kern	kernfs	rw
/proc		/proc	procfs	rw

Filesystem  1K-blocks     Used     Avail Capacity  Mounted on
/dev/wd0a     3961661  1674736   2088841    44%    /
kernfs              1        1         0   100%    /kern
procfs              8        8         0   100%    /proc

>How-To-Repeat:

ROOT sun:/usr/pkgsrc/pkgtools/pkglint> pkg_delete pkglint
pkgdb_remove: Invalid argument
pkgdb_remove: Invalid argument
pkgdb_remove: Invalid argument
pkgdb_remove: Invalid argument
pkgdb_remove: Invalid argument
pkgdb_remove: Invalid argument

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: