Problem upgrading OmniOS r151028 to r151030

nle

Member
Oct 24, 2012
200
11
18
I'm trying to update to R151030 LTS, but are having problems.

I've followed the guide for updating, and it sort of seems to work (except for beeing way to fast), but when I reboot I'm still running r151028.

This is the output when upgrading:
Code:
# pkg set-publisher -r -O https://pkg.omniosce.org/r151030/core omnios
# pkg set-publisher -r -O https://pkg.omniosce.org/r151030/extra extra.omnios
# pkg refresh --full
# pkg update -f -r --be-name=r151030
            Packages to update:   6
       Create boot environment: Yes
Create backup boot environment:  No

DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                                6/6         20/20      0.7/0.7  998k/s

PHASE                                          ITEMS
Removing old actions                           10/10
Installing new actions                         10/10
Updating modified actions                      23/23
Updating package state database                 Done
Updating package cache                           6/6
Updating image state                            Done
Creating fast lookup database                   Done
Updating package cache                           2/2

A clone of pre-r151030-fiksa-sslbug exists and has been updated and activated.
On the next boot the Boot Environment r151030 will be
mounted on '/'.  Reboot when ready to switch to this updated BE.

*** Reboot required ***
New BE: r151030

Updating package cache                           2/2

-------------------------------------------------------------------------------
Find release notes:                        https://omniosce.org/releasenotes
-------------------------------------------------------------------------------
Get a support contract:                    https://omniosce.org/support
Sponsor OmniOS development:                https://omniosce.org/patron
Contribute to OmniOS:                      https://omniosce.org/joinus
-------------------------------------------------------------------------------

# init 6
And when I reboot, I try to run: "pkg update -nv", I get:
Code:
# pkg update -nv
Creating Plan (Running solver): -
pkg update: No solution was found to satisfy constraints
No solution found to update to latest available versions.
This may indicate an overly constrained set of packages are installed.

latest incorporations:

  pkg://omnios/consolidation/osnet/osnet-incorporation@0.5.11,5.11-151030.0:20190426T224303Z
  pkg://omnios/entire@11,5.11-151030.0:20190426T211255Z
  pkg://omnios/incorporation/jeos/illumos-gate@11,5.11-151030.0:20190426T233344Z
  pkg://omnios/incorporation/jeos/omnios-userland@11,5.11-151030.0:20190426T211343Z

Dependency analysis is unable to determine the cause.
Try specifying expected versions to obtain more detailed error messages.
Any advice on how to solve this?

(I was originally coming from r151022, but when it did not work, I tried to upgrade to r151028. That worked, but something was wrong with the openssl package. I managed to fix that by using pkg fix. I figured it out from this post. r151028 works)
 

gea

Well-Known Member
Dec 31, 2010
2,500
842
113
DE
Read the comments at
omniosorg/Lobby, optionally ask there

btw
In the move between 151022 and 151028 there were many modifications.
I would do a clean reinstall of 151030.
 
  • Like
Reactions: nle

BullCreek

New Member
Jan 5, 2016
14
5
3
51
I got the same error when upgrading. There was an email on the omniosce mailing list that had the answer that worked for me:

$ pkg uninstall pkg://omnios/developer/gcc48@4.8.1-0.151014

Then retry the directions - it should work.
 
  • Like
Reactions: artbird309 and nle

ZoomLenz

New Member
Feb 10, 2016
1
0
1
50
Just another data point- I had a similar issue, but it went beyond the old gcc48 pkg. Checking with "pkg list" I had a lot of old cruft installed, going back to r151004!

Once I uninstalled all of the old packages the upgrade went smoothly.
 

AveryFreeman

ESXi + ( ILLUMOS / ZFS ) = HAPPY
Mar 17, 2017
165
19
18
39
Near Seattle
averyfreeman.com
Same for me, I think.

Not sure if you guys could upgrade to 151030, but I managed to get the core system upgraded, rebooted and then got the error message. I was pretty sure my userland hadn't been upgraded since it was only like 6 files.

I found the culprit to be this guy here:

Code:
developer/gcc6 (omnios)                           6.4.0-0.151026
After that, now I appear to be able to upgrade the userland. Solver found 461 packages so that makes more sense.

Still in the middle of the upgrade but it looks like it's going to work.
 
  • Like
Reactions: artbird309