Project

General

Profile

Actions

Bug #9781

closed

pkg history -o columns order leads to crash

Added by Udo Grabowski almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
Start date:
2018-08-31
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Given history information columns in this sequence fails:

ro sunth7 ~ # pkg history -o start,time,operation,outcome
START TIME OPERATION OUTCOME
Traceback (most recent call last):
File "/usr/bin/pkg", line 5444, in handle_errors
ret = func(*args, **kwargs)
File "/usr/bin/pkg", line 5346, in main_func
return func(api_inst, pargs)
File "/usr/bin/pkg", line 4792, in history_list
msg(history_fmt.format(*items))
PendingDeprecationWarning: object.__format
with a non-empty format string is deprecated

"pkg: This is an internal error in pkg(5) version e74e2946. Please log a
Service Request about this issue including the information above and this
message. "

while columns in this order suceed:

ro sunth7 ~ # pkg history -o operation,outcome,start,time
OPERATION OUTCOME START TIME
purge-history Succeeded 2018-04-27T18:41:31 0:00:00
uninstall Succeeded 2018-08-15T15:35:38 0:00:27
uninstall Succeeded 2018-08-15T15:36:06 0:00:27
uninstall Succeeded 2018-08-15T15:36:34 0:00:26
set-property Succeeded 2018-08-15T15:37:01 0:00:00
set-property Succeeded 2018-08-15T15:37:03 0:00:00
......

Actions #1

Updated by Rich Lowe almost 3 years ago

  • Project changed from illumos gate to OpenIndiana Distribution

Moving this to OI, but I guess it could be OmniOS?

Actions #2

Updated by Alexander Pyhalov almost 3 years ago

  • Status changed from New to Resolved
  • Assignee set to Alexander Pyhalov
Actions

Also available in: Atom PDF