Wednesday 6 March 2013

Cannot do a "pkg update" on a new machine

"pkg update" kept telling me that there were no later packages for me in the repository. This seemed strange because after some googling I knew my packages weren't the latest.

Eventually I figured out the problem.

The default repository anybody who installs Solaris has access to. However, my machine came pre-installed and they had used the support repository. So my "pkg update" needed the support suppository to update. Follow this link to change to the support repository: https://pkg-register.oracle.com/help/ (Valid Oracle Support contract needed)


BEFORE
# pkg publisher
PUBLISHER                             TYPE     STATUS   URI
solaris                               origin   online http://pkg.oracle.com/solaris/release/
# pkg list entire
NAME (PUBLISHER)                                  VERSION                    IFO
entire                                            0.5.11-0.175.0.0.0.2.0     i--

AFTER
# pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
solaris                     origin   online F https://pkg.oracle.com/solaris/support/
# pkg list entire
NAME (PUBLISHER)                                  VERSION                    IFO
entire                                            0.5.11-0.175.1.4.0.5.0     i--

No comments:

Post a Comment

Note: only a member of this blog may post a comment.