Omnios update error

Discussion in 'Solaris, Nexenta, OpenIndiana, and napp-it' started by Bob T Penguin, Mar 17, 2016.

  1. Bob T Penguin

    Bob T Penguin New Member

    Joined:
    Dec 16, 2015
    Messages:
    20
    Likes Received:
    1
    Hello,
    I have omnios r151014 (current LTS) installed. I did a "pkg update" last night which installed a few updates. now i've typed pkg update -nv to see if there are any more updates and I get an error message

    root@ServerA:/# pkg publisher
    PUBLISHER TYPE STATUS P LOCATION
    omnios origin online F package repository
    ms.omniti.com origin online F package repository
    root@ServerA:/# pkg update -nv
    pkg: 1/2 catalogs successfully updated:

    Invalid contentpath /var/pkg/cache/incoming-5206/catalog.attrs: CatalogPart failed validation: Catalog file '/var/pkg/cache/incoming-5206/catalog.attrs' is invalid.
    Use 'pkgrepo rebuild' to create a new package catalog.. (happened 4 times)

    what's going on?

    I have two identical omnios servers and they're both doing this.

    thanks
    Bob
     
    #1
  2. Bob T Penguin

    Bob T Penguin New Member

    Joined:
    Dec 16, 2015
    Messages:
    20
    Likes Received:
    1
    Ok, I've narrowed it down a bit.
    there seems to be a problem with ms.omniti.com

    If I:
    pkg set-publisher --disable ms.omniti.com

    then pkg update -nv runs ok and doesn't return any errors

    if i then:
    pkg set-publisher --enable ms.omniti.com

    i get the following error:
    pkg set-publisher: Could not refresh the catalog for ms.omniti.com


    Bob

    Right, I think I've fixed my own problem.

    pkg unset-publisher ms.omniti.com

    then

    pkg set-publisher -g package repository ms.omniti.com

    followed by

    pkg update -nv

    and i get no errors.

    don't know what happened! I did this on my back up server which isn't running any zones, my main server is running a bunch of zones so it seems i'll have to manually update each zone.

    bob
     
    #2
    Last edited: Mar 17, 2016
Similar Threads: Omnios update
Forum Title Date
Solaris, Nexenta, OpenIndiana, and napp-it Looking to update OmniOS/NAPP-IT from r151014 Oct 23, 2018
Solaris, Nexenta, OpenIndiana, and napp-it OmniOS 151014 update (NVMe driver and NFS fixes) Sep 30, 2015
Solaris, Nexenta, OpenIndiana, and napp-it Update for OmniOS 151014LTS: NFS exhausts memory under high write loads Jul 28, 2015
Solaris, Nexenta, OpenIndiana, and napp-it Update VMware Tools on OmniOS Feb 28, 2015
Solaris, Nexenta, OpenIndiana, and napp-it intel x540-t2 passthrough to OmniOS 151032 on ESXi 6.7u3 Nov 30, 2019

Share This Page