[oi-dev] error in pkg5 - from oi-prestable
Bayard Bell
buffer.g.overflow at gmail.com
Sat Feb 11 09:12:45 UTC 2012
I don't get this error with the version I'm using. What version do you have?
>From the error message, it looks like pkg might be confused about what
usage string to give you for the combination of -n and --help operands with
the update subcommand or its image-update alias. I shouldn't think you need
to use -n if you want --help. What happens if you use just the latter?
bayard at screendoor:/data/projects/userland/oi-build/components 08:07:54
[3464]$ pkg version
90c532b69592+
bayard at screendoor:/data/projects/userland/oi-build/components 08:08:26
[3465]$ pkg list pkg
NAME (PUBLISHER)
VERSION IFO
package/pkg (oi-experimental)
0.5.11-1.1 i--
bayard at screendoor:/data/projects/userland/oi-build/components 08:08:59
[3467]$ pkg image-update -n --help
Usage:
pkg update [-fnvq] [-g path_or_uri ...] [--accept] [--licenses]
[--no-be-activate] [--no-index] [--no-refresh] [--deny-new-be |
--require-new-be] [--be-name name] [--reject pkg_fmri_pattern
...]
[pkg_fmri_pattern ...]
On Sat, Feb 11, 2012 at 6:37 AM, Lou Picciano <loupicciano at comcast.net>wrote:
> Unsure where we'd want this reported - so... (thanks to those of you
> working hard on pkg5, btw!)
>
> # pkg image-update -n --help
>
> Usage:
> Traceback (most recent call last):
> File "/usr/bin/pkg", line 4233, in handle_errors
> __ret = func(*args, **kwargs)
> File "/usr/bin/pkg", line 4150, in main_func
> usage(retcode=0, full=False, cmd=subcommand)
> File "/usr/bin/pkg", line 248, in usage
> print_cmds([cmd], combined)
> File "/usr/bin/pkg", line 235, in print_cmds
> cmd)
> ValueError: Unable to find usage str for image-update
>
>
> pkg: This is an internal error. Please let the developers know about this
> problem by filing a bug at http://defect.opensolaris.org and including the
> above traceback and this message. The version of pkg(5) is '4d886e93dafc'.
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> http://openindiana.org/mailman/listinfo/oi-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20120211/0803592f/attachment-0005.html>
More information about the oi-dev
mailing list