Brian Ruthven - Solaris Network Sustaining - Sun UK wrote:
Shawn Walker wrote:
Brian Ruthven - Solaris Network Sustaining - Sun UK wrote:
I was trying to image-update to b129, and I wasn't going to be put
off by the request to upgrade the pkg command:
$ pfexec pkg image-update -nv
Creating Plan - WARNING: pkg(5) appears to be out of date, and should
be updated before
running image-update. Please update pkg(5) using 'pfexec pkg install
SUNWipkg' and then retry the image-update.
However, I didn't expect the following command to begin downloading
everything:
$ pfexec pkg install -v SUNWipkg
Creating Plan -
[ many lines elided ]
Actuators:
restart_fmri:
svc:/application/desktop-cache/pixbuf-loaders-installer:default
restart_fmri: svc:/application/desktop-cache/gconf-cache:default
restart_fmri:
svc:/application/desktop-cache/input-method-cache:default
restart_fmri: svc:/system/rbac:default
restart_fmri: svc:/application/font/fc-cache:default
restart_fmri: svc:/system/manifest-import:default
reboot-needed: true
DOWNLOAD PKGS FILES XFER (MB)
SUNWgnome-a11y-libs 316/662 6310/10506
146.5/329.8^C
Is this expected?
Whilst in my case this update is a prelude to an image-update anyway,
I did not expect to have to wait for all 300Mb to download simply to
update the pkg command.
By the looks of it, your system isn't properly constrained (missing
the "entire" package perhaps?). You're right that you shouldn't
expect this large of a download for just SUNWipkg. I'd have to see
the lines you elided to say exactly what happened.
It would also be helpful to see the output of:
pkg info entire ips-incorporation
...and the output of "pkg publisher".
Cheers,
I don't believe I ever manually installed "entire", although it shows as
installed. Here's what you asked for:
$ pfexec pkg info entire ips-incorporation
Name: entire
Summary: Build 128 entire incorporation
Description: This package constrains package versions to those for
build 128.
WARNING: Proper system update and correct package selection
depend on the presence of this incorporation. Removing this
package will result in an unsupported system.
State: Installed
Publisher: opensolaris.org
Version: 0.5.11
Build Release: 5.11
Branch: 0.128
Packaging Date: November 25, 2009 5:17:47 AM
Size: 0.00 B
FMRI:
pkg://opensolaris.org/[email protected],5.11-0.128:20091125T051747Z
pkg: info: no packages matching the following patterns you specified are
installed on the system. Try specifying -r to query remotely:
ips-incorporation
$ pfexec pkg publisher
PUBLISHER TYPE STATUS URI
opensolaris.org (preferred) origin online
http://ipkg.sfbay/dev/
contrib origin online
http://pkg.opensolaris.org/contrib/
extra origin online
http://ipkg.sfbay/extra/
punchin origin online
http://righthook.east:10000/
I've attached a (gzipped) typescript of the install. I interrupted it
rather than letting it run to completion, as I wasn't sure it would
create me a new BE and install to that (rather than simply upgrading
everything in my current BE!).
This looks like a possibly nasty install bug.
Can you please open a bug at defect.opensolaris.org under development ->
pkg and attach the file you sent here?
Can you also attach the output of "pkg contents -m entire" ?
Cheers,
--
Shawn Walker
_______________________________________________
opensolaris-discuss mailing list
[email protected]