On Tue, Jul 1, 2008 at 7:08 PM, <[EMAIL PROTECTED]> wrote: >> Well, that's what I was ranting(*) about in the first place. How can I know >> what version to install? It's not very well documented. And if I have >> 2008.05 based on snv_86 then isn't [EMAIL PROTECTED] the version delivered >> with that from the beginning? Or are you reusing the version numbers after >> an upgrade? > > We're not reusing the version numbers per-se but rather we're changing > the timestamp which is the lowest part of the version number. This > allows us to publish a version of a package for an earlier build. In > the case of SUNWipkg, this is relatively simple to do. > > With respect to determining which version of SUNWipkg you have, usually > I would suggest running "pkg list SUNWipkg" and see whether the command > reports that an update is available - look for a 'u' character under > the UFIX field. Unfortunately, this command will report an update is > available even if the only update is one with a higher build number. > However, you can always just rerun > > $ pfexec pkg install SUNWipkg@<version> > > where <version> is the version printed by "pkg list SUNWipkg" and if > there is a newer timestamped version, it will update to that.
but what does a new user do with this ? he gets the CDROM .. installs it .. blinks twice and then flounders madly to figure out how to update it. -bash-3.2# pkg list SUNWipkg NAME (AUTHORITY) VERSION STATE UFIX SUNWipkg 0.5.11-0.86 installed u--- okay .. so thanks to this advice I see that an update is available. -bash-3.2# pkg refresh -bash-3.2# pkg install -v -n [EMAIL PROTECTED] Before evaluation: UNEVALUATED: +pkg:/[EMAIL PROTECTED],5.11-0.86:20080620T101700Z After evaluation: pkg:/[EMAIL PROTECTED],5.11-0.86:20080426T174940Z -> pkg:/[EMAIL PROTECTED],5.11-0.86:20080620T101700Z None OKay .. so there is a slight rev up for the SUNWipkg package. Do I take that or look further ? What revs are available ? -bash-3.2# wget --output-document=pkg_status http://pkg.opensolaris.org/status --19:29:25-- http://pkg.opensolaris.org/status => `pkg_status' Resolving pkg.opensolaris.org... 72.5.123.21 Connecting to pkg.opensolaris.org|72.5.123.21|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] 0K ...... 312.86 KB/s 19:29:26 (312.86 KB/s) - `pkg_status' saved [417050] -bash-3.2# grep SUNWipkg pkg_status | grep -v gui | cut -f2,3 -d\: | sort /[EMAIL PROTECTED],5.11-0.75:20071031T175339Z /[EMAIL PROTECTED],5.11-0.75:20071114T202952Z /[EMAIL PROTECTED],5.11-0.75:20080205T151051Z /[EMAIL PROTECTED],5.11-0.75:20080423T061913Z /[EMAIL PROTECTED],5.11-0.75:20080428T105324Z /[EMAIL PROTECTED],5.11-0.79:20080205T160845Z /[EMAIL PROTECTED],5.11-0.79:20080423T061943Z /[EMAIL PROTECTED],5.11-0.79:20080428T105333Z /[EMAIL PROTECTED],5.11-0.86:20080422T214950Z /[EMAIL PROTECTED],5.11-0.86:20080426T174940Z /[EMAIL PROTECTED],5.11-0.86:20080529T103045Z /[EMAIL PROTECTED],5.11-0.86:20080613T183415Z /[EMAIL PROTECTED],5.11-0.86:20080620T101700Z /[EMAIL PROTECTED],5.11-0.89:20080527T164546Z /[EMAIL PROTECTED],5.11-0.90:20080604T143532Z /[EMAIL PROTECTED],5.11-0.90:20080613T183353Z /[EMAIL PROTECTED],5.11-0.90:20080620T101731Z /[EMAIL PROTECTED],5.11-0.91:20080613T182326Z /[EMAIL PROTECTED],5.11-0.91:20080620T101740Z -bash-3.2# woo hoo ! piles of revs are available .. let's take the latest ? -bash-3.2# pkg install -v -n [EMAIL PROTECTED] Before evaluation: UNEVALUATED: +pkg:/[EMAIL PROTECTED],5.11-0.91:20080620T101740Z After evaluation: pkg:/[EMAIL PROTECTED],5.11-0.86:20080426T174940Z -> pkg:/[EMAIL PROTECTED],5.11-0.91:20080620T101740Z None As a new user, if I were just John Doe out there in the Linux world or God forbid the Windows world then this would scare the daylights out of me. Dennis _______________________________________________ indiana-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
