After finally setting up my own IPS repository for the nwam project, I am running into problems doing an image-update.

NWAM adds new users, groups, authorizations and changes the owners/permissions on files. I have manually added the new users, groups and authorizations. I have also change the ownership and permissions of files.

pkg  image-update is failing with

   KeyError: 'group name not found: bi'

The complete trace is:

   PHASE                                        ACTIONS
   Removal Phase                              6729/6729
   Install Phase                              6461/7175 Action install
   failed for 'usr/lib/python2.4/vendor-packages/pkg/flavor/elf.pyc'
   (pkg:/SUNWipkg):
     KeyError: 'group name not found: bi'
    The running system has not been modified. Modifications were only
   made to a clone of the running system.  This clone is mounted at
   /tmp/tmpoer6mM should you wish to inspect it.

   pkg: An unexpected error happened during image-update: 'group name
   not found: bi'
   Traceback (most recent call last):
     File "/usr/bin/pkg", line 2585, in ?
       __ret = main_func()
     File "/usr/bin/pkg", line 2526, in main_func
       return image_update(mydir, pargs)
     File "/usr/bin/pkg", line 617, in image_update
       api_inst.execute_plan()
     File "/usr/lib/python2.4/vendor-packages/pkg/client/api.py", line
   537, in execute_plan
       self.__img.imageplan.execute()
     File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py",
   line 724, in execute
       p.execute_install(src, dest)
     File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py",
   line 260, in execute_install
       dest.install(self, src)
     File "/usr/lib/python2.4/vendor-packages/pkg/actions/file.py",
   line 101, in install
       group = pkgplan.image.get_group_by_name(self.attrs["group"])
     File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py",
   line 2014, in get_group_by_name
       self.type != IMG_USER)
     File "/usr/lib/python2.4/vendor-packages/pkg/portable/os_unix.py",
   line 91, in get_group_by_name
       raise KeyError, "group name not found: %s" % name
   KeyError: 'group name not found: bi'

There are no groups name "bi" in /etc/group. I am unable to figure out where this "bi" group is coming from. Any ideas?

Thanks,
Anurag

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to