Omnios update error

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Bob T Penguin

Member
Dec 16, 2015
55
1
8
47
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
 

Bob T Penguin

Member
Dec 16, 2015
55
1
8
47
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
 
Last edited: