Updating OmniOS from r151024 fails

retrofan01

n00b
Joined
Oct 5, 2012
Messages
2
I'm trying to update OmniOS on my installation of Napp-It from r151024 to the latest version. When I run pkg-update, I get the following output:

Code:
root@napp-it:~# pkg update
pkg: 1/2 catalogs successfully updated:

Unable to contact valid package repository
Encountered the following error(s):
Unable to contact any configured publishers.
This is likely a network configuration problem.
http protocol error: Unknown error code: 404 reason: Not Found
URL: 'http://pkg.omniti.com/omniti-perl' (happened 5 times)

My gateway info is correct:

Code:
root@napp-it:~# nslookup pkg.omniti.com
Server:         192.168.1.254
Address:        192.168.1.254#53

Non-authoritative answer:
Name:   pkg.omniti.com
Address: 52.207.233.31

Does anyone have any ideas how to get updates working? Thanks in advance.
 
For an update of OmniOS, you must unset current publisher (024) and set new publisher (ex 030).
To go to newest OmniOS you must first update to next long term stable/ lts and then newest stable so the way is 024 stable -> 030 lts -> 036 stable

Problems than can occur
- An application or service is not available in next ips repository
In this case (your case), you must first uninstall (omniti-perl)
You may also need to uninstall older gcc versions like gcc48 that are no longer supported

- In OmniOS 151028 there was a switch from Sun SSH to Open SSH.
You may need to modify ssh settings (napp-it menu services > ssh)

see http://www.napp-it.org/doc/downloads/setup_napp-it_os.pdf

Probably it is faster and easier to
- export datapool and save settings (write down users and their uid/gid)
- save napp-it settings (/var/web-gui/_logs/*)

- install OmniOS 151036
- install napp-it per wget
- restore users with same uid/gid and napp-it settings
- import datapool

In current napp-it pro you can save/restore all settings (incl users, Comstar, Cluster, napp-it) in Jobs > Backup to datapool
 
Back
Top