OpenOffice.org: Upgrade from 2.02 to 2.2

From MEPIS Documentation Wiki

Jump to: navigation, search

!!! Warning! The info contained in this article pertains to older versions of MEPIS !!!
Replacing OO.org 2.0.2 with OO.org 2.2 in MEPIS 6.5 (32bit and 64bit)

Acknowledgement: Our thanks to Pavel Janik of the OpenOffice.org project for creating these generic OpenOffice.org 2.2.0 Debian packages.

Contents

Introduction

In order to replace your current OpenOffice.org 2.0.2 version with the new OpenOffice.org 2.2.0, you should be aware that:

  • You will have to add a new MEPIS contrib source and enable it temporarily while disabling the standard sources. You will make a backup copy of your current repo list (/etc/apt/sources.list) since you need to restore it at the end.
  • Your current OO.org 2.0.2 must be completely removed first (removed + purged).
  • If you have beta or alien-installed OO.org versions in addition to OO.org 2.0.2 on your machine, they will need to be removed prior to starting the upgrade process.
  • The replacement process involves downloading and installing some 150-180 MB of packages if you decide to install all components.
  • This OpenOffice 2.2 installs quite differently than previous versions. These are non-standard and unofficial Debian packages, and will be located under /opt/openoffice2.2.
  • Some (empty) menu entries for OO.org 2.0.2 may still exist afterwards. You can manually remove them after installing OO.org 2.2 by right-clicking on any menu item and choosing "Edit Menu".



For 32-bit MEPIS version 6.5 (most MEPIS users)

Kpackage method for 32-bit MEPIS 6.5

1 : Remove OpenOffice.org 2.0.2

  • Fire up Kpackage, and make sure (Settings --> Configure Kpackage --> Apt:Debian --> Location of Packages) that only standard repositories are enabled: ubuntu, mepis, and medibuntu (if used).
  • On the main menu bar, select Special --> Apt: Debian --> Update, to refresh the package list.
  • Now click on the Installed tab. Type into the search box:
openoffice.org-

to show the list of installed OO.org 2.0.2 packages that we are going to uninstall and purge. But not all at once, because that may cause problems.

  • Begin by selecting only these files:
openoffice.org-java-common
openoffice.org-l10n-common
openoffice.org-kde

Make sure that "Purge Config Files" is enabled and uninstall those 3 packages. You are returned to the main Kpackage screen after pressing "Done".

  • Now select
python-uno

Uninstall it, again making sure that Purge is enabled. This will also remove/purge openoffice-writer

  • Select
openoffice.org-l10n-en-us

Purge and uninstall it. This will remove and purge calc, common, core, draw, impress and math as well.

NOTE: Don't worry about the dpkg-warnings that appear about 'directories not being empty'. (You won't need them as 2.2 installs in a different location)

2 : Preparation of new package sources

Now that the old packages have been removed, you need to create a new /etc/apt/sources.list with only the new MEPIS-contrib repository that has the OO.org 2.2.0 packages.

  • Disable old sources:
  1. Open Kpackage and provide the root password when prompted.
  2. Select Settings
  3. Select Configure kpackage
  4. Choose and Press (.deb) location of packages
  5. Disable all repositories (=unmark)
  • Add new source with this line:
 deb http://apt.mepis.org/contrib32-6.5/ mepis main
  1. Enable only that line
  2. Press Save and update the package list (Special -> Apt:Debian -> Update)
  • Reload to see 2.2.0 packages

3 : Install the new OpenOffice.org 2.2.0

  • First we have to make sure one more time that ONLY the following NEW repository (which holds the version 2.2 packages) is enabled in /etc/apt/sources.list
deb http://apt.mepis.org/contrib32-6.5/ mepis main

Again: make sure that all OTHER repos are DISABLED.

  • Ready to go? With Kpackage open, reload, so that the package list is refreshed.
  • Select New and type in the Search area:
openoffice.org-

A list of all available new OO.org 2.2 packages should appear.

  • Select, mark and install ONLY this package at the top of the list:
openoffice.org-base 

NOTE; with the openoffice.org-base package several core packages (01 through 08) will be installed as well.

  • Now select, mark and install these:
openoffice.org-core09 
openoffice.org-core10 
openoffice.org-pyuno 
openoffice.org-javafilter
  • Once that is done, select, mark and install these:
openoffice.org-calc 
openoffice.org-debian-menus 
openoffice.org-draw 
openoffice.org-impress
openoffice.org-kde-integration
openoffice.org-math
openoffice.org-writer
  • Installation is done! OO.org 2.2 is now installed under /opt/openoffice2.2

If you want you may install some or all of the still remaining packages: openoffice.org-emailmerge, openoffice.org-graphicfilter, openoffice.org-gnome-integration, openoffice.org-testtool and openoffice.org-xsltfilter. If OpenOffice.org does not appear in your KMenu, restart MEPIS and it should be where it belongs.

4 : Restore your original /etc/apt/sources.list

  1. Open Kpackage and provide the root password when prompted (unless you still have KPackage open.)
  2. Select Settings
  3. Select Configure kpackage
  4. Choose and Press (.deb) location of packages
  5. Enable all the 'standard' repos (ubuntu + mepis, and medibuntu if you need it) again and DISABLE the contrib32-6.5 mepis repo.
  6. DO NOT remove the contrib32-6.5 repo; just disable it in /etc/apt/sources.list. You may need it later on.
  7. DO NOT install updates for OpenOffice 2.0.2 packages from there later on, should such updates appear now that you have restored the regular Ubuntu re



Synaptic method for 32-bit MEPIS 6.5

1 : Remove OpenOffice.org 2.0.2

  • Fire up Synaptic, and make sure (Settings --> Repositories) that only standard repositories are enabled: ubuntu, mepis, and medibuntu (if used).
  • On the main menu bar, select Reload to refresh the package list.
  • Now click on Search and enter:
openoffice.org-

to show the list of OO.org packages. We are going to uninstall and purge all the installed OO.org 2.0.2 packages, but not all at once, because that may cause problems.

  • Begin by right-clicking and selecting "Mark for Complete Removal" only these 3 files:
openoffice.org-java-common
openoffice.org-l10n-common
openoffice.org-kde

Once all three have been marked for complete removal, uninstall them by clicking on Apply, then Apply to the dialogue box that pops up.

  • Now click on Search again and enter
python-uno

Uninstall it in the same way, again making sure that complete removal is being selected. This will also remove/purge openoffice-writer

  • Highlight your first search results again in the left-hand panel, and select
openoffice.org-l10n-en-us

Completely remove it in the same manner as before. This will remove and purge calc, common, core, draw, impress and math as well.

NOTE: Don't worry about the dpkg-warnings that appear about 'directories not being empty'. (You won't need them as 2.2 installs in a different location)

2 : Preparation of new package sources

Now that the old packages have been removed, you need to create a new /etc/apt/sources.list with only the new MEPIS-contrib repository that has the OO.org 2.2.0 packages.

  • Open Synaptic, then click Settings --> Repositories
  • Uncheck all repositories--make sure they are all blank!
  • Click Add, and add the following information in the appropriate blank (without the bracketed text):
[URL] http://apt.mepis.org/contrib32-6.5
[Distro] mepis
[Sections] main
  • Click OK, then back on the main screen click Reload.

3 : Install the new OpenOffice.org 2.2.0

  • First we have to make sure that ONLY the following NEW repository (which holds the version 2.2 packages) is enabled in /etc/apt/sources.list by checking Settings --> Repositories
deb http://apt.mepis.org/contrib32-6.5/ mepis main

Again: make sure that all other repos are UNCHECKED.

  • Ready to go? With Synaptic open, click Reload, so that the package list is refreshed.
  • Click the Search icon in the toolbar type in:
openoffice.org-

A list of all available new OO.org 2.2 packages should appear.

  • Select, mark, and install ONLY this package:
openoffice.org-base 

NOTE; with the openoffice.org-base package several core packages (01 through 08) will be installed as well.

  • Now select, mark, and install these:
openoffice.org-core09 
openoffice.org-core10 
openoffice.org-pyuno 
openoffice.org-javafilter
  • Once that is done, select, mark, and install these:
openoffice.org-calc 
openoffice.org-debian-menus 
openoffice.org-draw 
openoffice.org-impress
openoffice.org-kde-integration
openoffice.org-math
openoffice.org-writer
  • All done! OO.org 2.2 is now installed under /opt/openoffice2.2

If you want you may install some or all of the still remaining packages: openoffice.org-emailmerge, openoffice.org-graphicfilter, openoffice.org-gnome-integration, openoffice.org-testtool and openoffice.org-xsltfilter.

4 : Restore your original repositories

  • Check all the 'standard' repos (Ubuntu, MEPIS, and medibuntu if you need it) again and uncheck the contrib32-6.5 mepis repo.

NOTES

  1. DO NOT remove the contrib32-6.5 repo; just disable it in /etc/apt/sources.list. You may need it later on.
  2. DO NOT install updates for Openoffice 2.0.2 packages from there later on, should such updates appear now that you have restored the regular Ubuntu repos.




For 64-bit MEPIS version 6.5

Kpackage method for 64-bit MEPIS 6.5

1 : Remove OpenOffice.org 2.0.2

Review the Kpackage method for MEPIS 32. On a 64bit MEPIS system, the basic steps are a bit different:

  • Use only standard Ubuntu and MEPIS repositories.
  • Reload in Kpackage
  • Select and Remove/purge
openoffice.org-l10n-en-us 
openoffice.org-l10n-common

That will remove all openoffice.2.0.2 packages, except for two ia32 packages: ia32-libs-gtk and ia32-libs-openoffice.org. KEEP these packages!

2 : Preparation of new package sources

Now that the old packages have been removed, you need to create a new /etc/apt/sources.list with only the new MEPIS-contrib repository that has the OO.org 2.2.0 packages.

  • Disable old sources:
  1. Open Kpackage and provide the root password when prompted.
  2. Select Settings
  3. Select Configure kpackage
  4. Choose and Press (.deb) location of packages
  5. Disable all repositories (=unmark)
  • Add new source with this line:
 deb http://apt.mepis.org/contrib64-6.5/ mepis main
  1. Enable only that line
  2. Press Save and update the packagelist (Special -> Apt:Debian -> Update)
  • Reload to see 2.2.0 packages


3 : Install the new OpenOffice.org 2.2.0

  • Install
openoffice.org-base
  • Install
openoffice.org-core09 
openoffice.org-javafilter 
openoffice.org-pyuno
  • Install
openoffice.org-calc 
openoffice.org-draw 
openoffice.org-impress 
openoffice.org-kde-integration 
openoffice.org-math 
openoffice.org-writer 
openoffice.org-debian-menus
  • You may choose to select and install the remaining 2.2 packages: openoffice.org-emailmerge openoffice.org-graphicfilter openoffice.org-testtool and openoffice.org-xsltfilter.


4 : Restore your original /etc/apt/sources.list

  • Change /etc/apt/sources.list back to its original content:
    • Disable the MEPIS contrib64 repository (do not remove it) and
    • Enable all the regular Ubuntu and MEPIS repos again (look at the backup you made in the beginning if you're not sure).

All OO.org 2.2 packages can be found in the K-Menu under Office, and OO.org 2.2 is located under /opt/openoffice2.2



Synaptic method for 64-bit MEPIS 6.5

1 : Remove OpenOffice.org 2.0.2

Review the Synaptic method for MEPIS 32. On a 64bit MEPIS system, the basic steps are a bit different:

  • Use only standard Ubuntu and MEPIS repositories.
  • Reload in Synaptic
  • Select for complete removal
openoffice.org-l10n-en-us 
openoffice.org-l10n-common

That will remove all OpenOffice.2.0.2 packages, except for two ia32 packages: ia32-libs-gtk and ia32-libs-openoffice.org. KEEP these packages!

2 : Preparation of new package sources

Now that the old packages have been removed, you need to create a new /etc/apt/sources.list with only the new MEPIS-contrib repository that has the OO.org 2.2.0 packages.

  • Open Synaptic, then click Settings --> Repositories
  • Uncheck all repositories--make sure they are all blank!
  • Click Add, and add the following information in the appropriate blank (without the bracketed text):
[URL] http://apt.mepis.org/contrib64-6.5
[Distro] mepis
[Sections] main
  • Click OK, then back on the main screen click Reload.
  • Reload to see 2.2.0 packages


3 : Install the new OpenOffice.org 2.2.0

  • Install
openoffice.org-base
  • Install
openoffice.org-core09 
openoffice.org-javafilter 
openoffice.org-pyuno
  • Install
openoffice.org-calc 
openoffice.org-draw 
openoffice.org-impress 
openoffice.org-kde-integration 
openoffice.org-math 
openoffice.org-writer 
openoffice.org-debian-menus
  • You may choose to select and install the remaining 2.2 packages: openoffice.org-emailmerge openoffice.org-graphicfilter openoffice.org-testtool and openoffice.org-xsltfilter.


4 : Restore your original repositories

With Synaptic open, click Settings --> Repositories. Then:

    • Uncheck the MEPIS contrib64 repository (do not remove it) and
    • Enable all the regular Ubuntu and MEPIS repos again (look at the backup you made in the beginning if you're not sure).
  • Reload



Personal tools