Updating OpenOffice

OpenOffice is not included in the base installation of OpenSolaris 2008.05 (there's only so much we can fit on a CD), however, it is available via the Package Manager, which I have gone ahead and installed. I know I have the latest version of OpenOffice (according to the Package Manager) because the Latest Version column is empty:


However, when running an OpenOffice application, such as Impress, it informs me that there's even a newer version available:

So naturally I click the icon to start the download and learn that version 2.4.1 is available:


And then click the Download button:


Once the download completes, I click the Install button, which first tells me it's going to shut down OpenOffice 2.4 before installing the update:

But here's where things go south, as the update process fails:

My guess here is that OpenOffice is trying to update itself using the traditional SVR4 packaging and doesn't know how to deal with packages installed using the new Image Packaging System (IPS).

So, in the steps that follow I will uninstall the OpenOffice IPS package and run the OpenOffice installer that was just downloaded. This means that OpenOffice will no longer be under the supervision of the Package Manger. That's OK with me because OpenOffice seems to do a good job of managing itself.

Open a terminal to uninstall OpenOffice. At the prompt enter:

bleonard@opensolaris:$ pfexec pkg uninstall openoffice
PHASE ACTIONS
Removal Phase 4268/5320
Warning - directory var/sadm/pkg/openofficeorg-desktop-integratn not empty - contents preserved in /var/pkg/lost+found/var/sadm/pkg/openofficeorg-desktop-integratn-2008-06-25+09:42:57

Warning - directory usr/share/gnome/mime-info not empty - contents preserved in /var/pkg/lost+found/usr/share/gnome/mime-info-2008-06-25+09:42:57

Warning - directory usr/share/gnome/application-registry not empty - contents preserved in /var/pkg/lost+found/usr/share/gnome/application-registry-2008-06-25+09:42:57
Removal Phase 5320/5320
bleonard@opensolaris:$

Now we can successfully run the installer for OpenOffice 2.4.1. CD into the directory where the OpenOffice files were downloaded and extracted...

cd Desktop/OOo_2.4.1_Solarisx86_install_wJRE_en-US

Then launch the installer (note, I had to pass it the path to Java, because the installer could not locate it on its own)...

bleonard@opensolaris:~/Desktop/OOo_2.4.1_Solarisx86_install_wJRE_en-US$ pfexec ./setup -j /usr/bin/java
Using /usr/bin/java
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)

Running installer
/usr/bin/java -DHOME=/export/home/bleonard -jar JavaSetup.jar
System locale: en_US
Root privileges
OS: SunOS
Mode: installation
Path to packages: /export/home/bleonard/Desktop/OOo_2.4.1_Solarisx86_install_wJRE_en-US/packages/



Complete the installation of OpenOffice (I just selected all of the defaults).

Log out and back in again for the icons to appear in the Applications menu:


You are now current with OpenOffice and I would suspect future update notifications from OpenOffice will from now on install successfully.

Comments:

Hello,

Thank you very much for your useful contribution.

OpenOffice is shipped both by OpenSolaris and the update repository in a version which menus are English speaking and cannot be shifted to French or whatever other langage.

I've described a turnaround: http://forums.opensolaris.com/thread.jspa?messageID=543&#543

I hope it will help.

Best regards,

Hervé

Posted by Herrib on June 29, 2008 at 08:57 AM GMT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

The Observatory is a blog for users of Oracle Solaris. Tune in here for tips, tricks and more as we explore the Solaris operating system from Oracle.

Connect with Oracle Solaris:


Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today