| Summary: | pkg_info -f fails with "unknown command type 16 (preserve)" | ||
|---|---|---|---|
| Product: | Base System | Reporter: | David Jones <djones> |
| Component: | bin | Assignee: | Kris Kennaway <kris> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.3-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
David Jones
2001-07-27 11:20:01 UTC
On Fri, Jul 27, 2001 at 03:15:04AM -0700, David Jones wrote:
> Then:
> # pkg_info -f security-patch-telnetd-crypto-01.49.tgz
>
> Gives some output ending with:
> CWD to /
> SRCDIR to /mnt/jail-4.3
> pkg_info: show_plist: unknown command type 16 (preserve)
>
> Which doesn't seem right to me.
Here's a patch which I'll commit over the weekend.
Kris
Index: show.c
===================================================================
RCS file: /home/ncvs/src/usr.sbin/pkg_install/info/show.c,v
retrieving revision 1.21
diff -u -r1.21 show.c
--- show.c 2001/03/23 18:45:24 1.21
+++ show.c 2001/07/28 07:55:28
@@ -163,6 +163,10 @@
printf(Quiet ? "@dirrm %s\n" : "\tDeinstall directory remove: %s\n", p->name);
break;
+ case PLIST_OPTION:
+ printf(Quiet ? "@option %s\n" : "\tOption \"%s\" controlling package installation behaviour; see pkg_create(1)\n", p->name);
+ break;
+
default:
cleanup(0);
errx(2, __FUNCTION__ ": unknown command type %d (%s)", p->type, p->name);
Responsible Changed From-To: freebsd-bugs->kris I'll commit my patch State Changed From-To: open->closed Committed to -current, thanks! |