Oracle Solaris System Administration (MOSC)

MOSC Banner

Soolaris 11.1 pkg command broken (by me!)

edited Jan 23, 2013 9:12AM in Oracle Solaris System Administration (MOSC) 4 commentsAnswered
Hi All,I'm having a bit of a problem with the pkg command in Solaris11.1.
I accidentally set a property with a bad value and now pkg will not run at all.
For example a pkg list:-
# pkg list
Traceback (most recent call last):
  File "/usr/bin/pkg", line 6498, in handle_errors
    __ret = func(*args, **kwargs)
  File "/usr/bin/pkg", line 6456, in main_func
    api_inst = __api_alloc(mydir, provided_image_dir, pkg_image_used)
  File "/usr/bin/pkg", line 1466, in __api_alloc
    exact_match=exact_match)
  File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 353, in __init__
    cmdpath=self.cmdpath)

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