1 Reply Latest reply on Dec 2, 2012 6:32 PM by khash

    Can a Solaris11U1 repo be created on Solaris 11 system?

      Hi All,

      I would like to know if we can create a Solaris 11U1 local repository on a system having Solaris 11 configured ?

      I have configured it, the pkgrepo refresh command fails

      root@vcssx241 /]#pkgrepo refresh -s /repo/sol11u1Repo
      Initiating repository refresh.
      Traceback (most recent call last):
      File "/usr/bin/pkgrepo", line 1226, in handle_errors
      __ret = func(*args, **kwargs)
      File "/usr/bin/pkgrepo", line 1202, in main_func
      return func(conf, pargs)
      File "/usr/bin/pkgrepo", line 984, in subcmd_refresh
      do_refresh(xport, xpub)
      File "/usr/bin/pkgrepo", line 969, in do_refresh
      File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/transport.py", line 432, in wrapper
      return f(instance, fargs, *f_kwargs)
      File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/transport.py", line 2568, in publish_refresh
      d.publish_refresh(header=header, pub=pub)
      File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/repo.py", line 1584, in publish_refresh
      File "/usr/lib/python2.6/vendor-packages/pkg/server/repository.py", line 2703, in add_content
      File "/usr/lib/python2.6/vendor-packages/pkg/server/repository.py", line 1067, in add_content
      build_index=refresh_index, incremental=True)
      File "/usr/lib/python2.6/vendor-packages/pkg/server/repository.py", line 676, in __rebuild
      File "/usr/lib/python2.6/vendor-packages/pkg/server/repository.py", line 692, in __refresh_index
      self.index_root, cat)
      File "/usr/lib/python2.6/vendor-packages/pkg/indexer.py", line 872, in check_for_updates
      File "/usr/lib/python2.6/vendor-packages/pkg/search_storage.py", line 189, in open
      return consistent_open([self], directory)
      File "/usr/lib/python2.6/vendor-packages/pkg/search_storage.py", line 72, in consistent_open
      int(version_tmp.split(' ')[1].rstrip('\n'))
      IndexError: list index out of range

      pkgrepo: This is an internal error in pkg(5) version a6782843ee0c. Please log a
      Service Request about this issue including the information above and this

      I can set this repository on other clients and query but installation fails
      driver/network/ethernet/elxl 0/490 5/25373 0.0/459.7

      Errors were encountered while attempting to retrieve package or file data for
      the requested operation.
      Details follow:

      1: Invalid content: chash failure: expected: f85dabbb0d56b37de3c3de98663dd8f27a12ff8e computed: bddcb823b98f28ad34001ccf6cccfbb5b6520ba0. (happened 4 times)
      2: Invalid contentpath usr/share/man/man7d/elxl.7d: chash failure: expected: 19fc705a70504811f762405129fcdfe21ca26115 computed: 0936c74e27e20f26a68be18bf9d70ebb67650e1b. (happened 4 times)
      3: Invalid content: chash failure: expected: 05654e46fc5cac3b9b9bd11c39512bc92bc85089 computed: 02fbc4d6dfe1df8633baa492e055b26a6ce695ba. (happened 4 times)