Please don't send private email for problems like this.  You should be
sending to pkg-discuss or indiana-discuss.

I'm not sure how you got into this situation.  Image-update only upgrades
packages already installed on the system, so nethack wouldn't have been
pulled in if it weren't already on the system.  Except that if it were on
the system, then this particular path wouldn't have needed to be installed,
as is happening for you.

Has anyone else seen new packages (which aren't dependencies) getting
installed on image-update?

Danek

On Mon, Aug 18, 2008 at 07:16:04PM +0200, Lubomir Petrik wrote:

> Hi,
> I've just tried to update a OpenSolaris svn_86 system with following 
> commands. I was surprised that it tried to wanted to download > 3GB. I did 
> not install the system. Do you have any idea why it was the case and why is 
> the games category missing?
>
> Thanks,
>   Lubos.
>
> PS: Here's the pkg output
>
> $ pfexec pkg refresh
> $ pfexec pkg image-update
> Checking that SUNWipkg (in '/') is up to date...
> PHASE                                          ITEMS
> Indexing Packages                            953/953
> DOWNLOAD                                    PKGS       FILES     XFER (MB)
> Completed                                1045/1045 71939/71939 
> 3126.54/3126.54
>
> PHASE                                        ACTIONS
> Removal Phase                            12730/12730
> Update Phase                             41272/41272
> Install Phase                            10913/54033 Action install failed 
> for 'var/games/nethack' (pkg:/SUNWnethack):
>  KeyError: 'group name not found: games'
> pkg:
> An unexpected error happened during image-update: 'group name not found: 
> games'
> The running system has not been modified. Modifications were only made to a 
> clone of the running system.  This clone is mounted at /tmp/tmp1Md4ki 
> should you wish to inspect it.
> Traceback (most recent call last):
>  File "/usr/bin/pkg", line 1734, in ?
>    ret = main_func()
>  File "/usr/bin/pkg", line 1696, in main_func
>    return image_update(img, pargs)
>  File "/usr/bin/pkg", line 527, in image_update
>    img.imageplan.execute()
>  File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 
> 512, in execute
>    p.execute_install(src, dest)
>  File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line 281, 
> in execute_install
>    dest.install(self, src)
>  File "/usr/lib/python2.4/vendor-packages/pkg/actions/directory.py", line 
> 60, in install
>    group = pkgplan.image.get_group_by_name(self.attrs["group"])
>  File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 1248, 
> in get_group_by_name
>    self.type != IMG_USER)
>  File "/usr/lib/python2.4/vendor-packages/pkg/portable/os_unix.py", line 
> 77, in get_group_by_name
>    raise KeyError, "group name not found: %s" % name
> KeyError: 'group name not found: games'
> 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 the output of 'pkg version'.
>
> Should I file this as a bug? I'm now careful when seeing this message :-)
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to