Subject: pkg/32952: pkg_chk now spewing pkg_delete commands with "-i" emulation
To: None <email@example.com, firstname.lastname@example.org,>
From: None <email@example.com>
Date: 02/28/2006 16:50:01
>Synopsis: pkg_chk now spewing pkg_delete commands with "-i" emulation
>Arrival-Date: Tue Feb 28 16:50:00 +0000 2006
>Originator: Todd Vierling
>Release: NetBSD 2.1.0_STABLE
DUH.ORG: Pointing out the obvious since 1994.
System: NetBSD server.duh.org 2.1.0_STABLE NetBSD 2.1.0_STABLE (SERVER) #0: Thu Feb 9 10:59:56 EST 2006 firstname.lastname@example.org:/export/SRC/duh/netbsd-kernels/SERVER i386
"pkg_chk -i" originally just listed a human-readable set of packages which
had changed version. Now, under the emulation "-u -n", it is also spitting
out pkg_delete commands (because -u would execute them) -- which is
nonintuitive when all the user wants is a human-readable list of changes.
pkg_chk -u -n
Implement some option (-N is taken, so I'm not sure what to use) that not only
suppresses execution of commands, but also suppresses displaying them as well.
Note, "use grep" is not really a reasonable solution, since the format of the
non-executed commands is not guaranteed. And pkg_chk offered this function
before, so why not...? :)
Then change -i emulation to use that option, for the temporary compatibility
intent. Perhaps make the "-i is deprecated" message a little more verbose so
users who have cronjobbed "pkg_chk -i" might notice it more readily.