[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-discuss
Subject:    Re: [osol-discuss] pkg unexpectedly dies.
From:       Shawn Walker <shawn.walker () oracle ! com>
Date:       2011-11-07 18:48:08
Message-ID: 4EB827E8.7060805 () oracle ! com
[Download RAW message or body]

On 10/22/11 12:47, Aleksey Cheusov wrote:
> Hello.  I'm trying to remove gnome packages recursively on OI_151.  pkg
> dies unexpectedly. See below. It recommends to register bug at
> http://defect.opensolaris.org but I'm not sure illumos and openindiana
> projects still use opensolaris.org site and its BTS.
>
> Comments?
...
>    File "/usr/lib/python2.6/vendor-packages/pkg/cfgfiles.py", line 172, in removevalue
>      del self.index[tuple(template[k] for k in self.keys)]
> KeyError: ('svctag',)
>
>
> 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 '1d7f906c77c1'.

This error has been fixed in a newer version of pkg:

http://defect.opensolaris.org/bz/show_bug.cgi?id=13907

However, in your case, I don't believe you want to do what you're doing.

uninstall -r is unlikely to produce the result you really want (which is 
one of the reasons why -r doesn't exist in newer versions of pkg(5)).

Try running the command again, but with -nv, and see what packages it 
wants to remove.  I'm betting that you'll see a package being removed 
you didn't expect.

-Shawn
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic