Subject: pkg/36741: pkg_admin(8)'s unset command can result in warning message
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <tnn@NetBSD.org>
List: pkgsrc-bugs
Date: 08/06/2007 18:50:00
>Number: 36741
>Category: pkg
>Synopsis: pkg_admin(8)'s unset command can result in warning message
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 06 18:50:00 +0000 2007
>Originator: Tobias Nygren
>Release:
>Organization:
NetBSD
>Environment:
>Description:
pkg_admin(8) unset of a non-existing variable can result in a non-fatal warning message when +INSTALLED_INFO does not exist.
>How-To-Repeat:
# pkg_admin set foo=YES digest
# pkg_admin set bar=YES digest
# pkg_admin unset foo digest
# pkg_admin unset foo digest
# pkg_admin unset bar digest
# pkg_admin unset bar digest
pkg_admin: var_set: cannot remove 'digest-20070803/+INSTALLED_INFO': No such file or directory
>Fix:
joerg@ said he'll look at it.