Peter Steiner wrote:
> From Linux Ubuntu I know that I can rebuild the local repository information 
> with a command like
> 
> apt-get update
> 
> With this command all local version information is updated from the defined 
> remote repositories.
> 
> Is the exact OpenSolaris equivalent:
> 
> pkg rebuild-index
> 
> ? It seems to me that at least not all the remote repositories are contacted 
> and not all the local information is refreshed. Instead only the already 
> existing version data is locally recreated/reindexed due to corrupted files 
> (?)

I think you're looking for "refresh", not "rebuild-index":

     refresh [--full] [publisher ...]
          Retrieve updates to the metadata (e.g. catalogs) for each publisher
          specified.  When given no arguments, retrieves updates for each
          publisher registered within the image.

          With --full, retrieve all publisher metadata instead of attempting an
          incremental update.


-- 
        -Alan Coopersmith-        alan.coopersm...@oracle.com
         Oracle Solaris Platform Engineering: X Window System

_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

Reply via email to