I finally got OOo 2.0.3 installed on my Sun Ultra-30, but the process
was less than straight-forward. Solaris 8, with all recommended
patches. The installed product seems to work fine, but the pkgadd
process suggests to me issues with the packaging of the code.
Short story, and path to success:
# pkgrm `pkginfo | grep openoffice | sed -e 's/application//' \
-e 's/ *.*$//'`
# rm -rf /opt/openoffice.org2.0
# pkgadd /var/tmp/OOo/OOC680_m7_native_packed-1_en-US.9044/packages
answering y to all y/n questions, and ignoring all warnings.
Check installation; writer at least works fine and tells me its version
is 2.0.3
Donald.
Long story, condensed a bit, with essential gruesome details:
Install target was /opt/openoffice.org2.0 This directory had a copy of
OOo 2.0.2 installed already.
$ gzcat [downloadedfile].tar.gz | (cd /var/tmp/OOo; tar xf -)
su -
....
# pkgadd /var/tmp/OOo/OOC680_m7_native_packed-1_en-US.9044/packages
...
many instances of "this appears to be an attempt to install a package
which is already installed and working properly; do you want to
overwrite?" To which I invariably answer yes. At the end, I get the
message "24 packages successfully installed", but none of the files in
/opt/openoffice.org2.0 are changed.
# pkginfo | grep openoffice
I get a listing of the 24 packages, so I decided to pkgrm them.
# pkgrm `pkginfo | grep openoffice | sed -e 's/application//' \
-e 's/ *.*$//'`
I look in /opt/openoffice.org2.0 and everything is still there. But
pkginfo | grep openoffice shows nothing, so I'll try the 2.0.3 install
again.
# pkgadd /var/tmp/OOo/OOC680_m7_native_packed-1_en-US.9044/packages
same results as previously! But I dutifully answer y to all y/n
questions and ignore all warnings about dependencies not met (e.g.
-core01 required by -base; that's fine, I know I'll be installing
-core01 shortly.) But the real surprises start arriving later, after
all the -core packages are installed, and the dependency check is still
failing for -core01. pkginfo -q openofficeorg-core01 sets $? to 0 and
pkginfo openofficeorg-core01 shows it installed. It also complained
about SUNWcsu not being installed. That's _really_ hard to do.
when it's all done, I go look in /opt/openoffice.org2.0 and discover
that once again, all the old files are still there, haven't been
updated, haven't been changed, haven't been overwritten. So I decided
to get all the old stuff out of the way.
# rm -rf /opt/openoffice.org2.0
Go look, sure enough, no more /opt/openoffice.org2.0
# pkgadd /var/tmp/OOo/OOC680_m7_native_packed-1_en-US.9044/packages
same set of messages and responses as previously but without the
"attempt to overwrite" messages. (I did this in a shell in emacs, and
compared the two sessions) Answer all the y/n messages with y, and when
it's all done, /opt/openoffice.org2.0 exists, has the new code, and it
all works.
Now I'll go look at the package scripts and see if I can provide a clue
to the packagers.
Donald.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]