Prashant Srinivasan wrote:
Hello,

I'm seeing the following pkg behavior on a 2008.11 system(it's an EC2 instance actually, but that probably doesn't matter). The instance runs snv_101b. It has SUNWruby18 (from b101) installed. I'd like to upgrade SUNWruby18 to the version in the dev repository( from snv_111) that has the latest versions of Ruby/Rubygems. I changed the preferred package authority to be http://pkg.opensolaris.org/dev and attempted to upgrade the package, but pkg does not spot any updates.

Can someone please point out what I'm doing wrong here? (if it turns out to be a bug, I'd be happy to file it as well).

pkg and your system is working as expected. SUNWruby18 is part of the entire incorporation. That means you can't take just that package forward, that's roughly equivalent to dim sum patching, which isn't allowed under IPS. You can either wait for the next release, image-update your system to b111, or publish your own version of SUNWruby18 against build 101.

Hope that helps clear things up,
Brock

What I'm doing:

r...@domu-12-31-39-00-b1-28:~# pkg install SUNWruby18
No updates available for this image.
The OS:
r...@domu-12-31-39-00-b1-28:~# uname -a
SunOS domU-12-31-39-00-B1-28 5.11 snv_101b i86pc i386 i86xpv Solaris

Pkg authorities:
r...@domu-12-31-39-00-b1-28:~# pkg authority
AUTHORITY                           URL
dev-repository (preferred)          http://pkg.opensolaris.org/dev/
opensolaris.org                     http://pkg.opensolaris.org/release/



Installed version of SUNWruby18 is:
r...@domu-12-31-39-00-b1-28:~# pkg info SUNWruby18
         Name: SUNWruby18
      Summary: Ruby & RubyGems
     Category: Development/Ruby
        State: Installed
    Authority: opensolaris.org
      Version: 1.8.6.287
Build Release: 5.11
       Branch: 0.101
Packaging Date: Wed Nov 19 22:56:11 2008
         Size: 14.17 MB
FMRI: pkg://opensolaris.org/[email protected],5.11-0.101:20081119T225611Z


The version in the dev repository is:
r...@domu-12-31-39-00-b1-28:~# pkg search -r ruby | grep SUNWruby18 | more description set Ruby pkg:/[email protected] info.classification set Development/Ruby pkg:/[email protected] basename dir usr/ruby pkg:/[email protected]


thanks
-ps



_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to