Oracle Solaris System Administration (MOSC)

MOSC Banner

pkg info command request fails and asks to open an SR

pkginfo works but pkg info fails and is used in many support scripts:

# pkg info

Traceback (most recent call last):

 File "/bin/pkg", line 5666, in handle_errors

  __ret = func(*args, **kwargs)

 File "/bin/pkg", line 5652, in main_func

  pargs=pargs, **opts)

 File "/bin/pkg", line 3079, in info

  info_local, info_remote, origins, quiet)

 File "/usr/lib/python3.7/vendor-packages/pkg/client/client_api.py", line 2284, in _info

  ranked=info_remote, repos=origins)

 File "/usr/lib/python3.7/vendor-packages/pkg/client/api.py", line 211, in wrapper

  return f(instance, *fargs, **f_kwargs)

 File "/usr/lib/python3.7/vendor-packages/pkg/client/api.py", line 4431, in info

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center