Revision as of 12:36, 11 November 2008 by Holgi (talk | contribs) (Updating Open-Xchange Server packages)

Updating Open-Xchange Server packages

This article describes how to update Open-Xchange Server packages from one service pack to another.

What is written here only applies to Open-Xchange Server Service Pack levels SP4 and newer!

What Service Pack do I have installed?

The service pack can be determined in checking the version number of the open-xchange package. The second digit relates to the SP version. The following table shows a list of package versions and the corresponding SP number:

Package version SP Version
6.4 SP3
6.6 SP4
6.8 SP5

If the second digit is an odd number (e.g. 6.3, 6.5 or 6.7), you have a beta or snapshot version installed.

How to determine the version number?

On Debian based distributions


$ dpkg -l open-xchange

The following output should appear:

| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name               Version            Description
ii  open-xchange       6.6.0-1            Open-Xchange server scripts and configuration

On RPM based distributions


$ rpm -q open-xchange

The following output should appear:


Installing Updates

A new service pack usually introduces new packages and requires configuration changes. To get all required new packages and configuration changes, the following must be done when installing updates.

On Debian based distributions

Cut and Paste the following command in a shell as root user:

cat<<EOF > /etc/apt/apt.conf.d/01oxupdater
DPkg::options {"--force-confold";};

Note: This command creates the file /etc/apt/apt.conf.d/01oxupdater with contend DPkg::options {"--force-confold";}; and needs to be executed only once for each installation

Then run

$ apt-get update
$ apt-get dist-upgrade

If you want to see, what apt-get is going to do without actually doing it, you can run:

$ apt-get dist-upgrade -s

On RPM based distributions



$ zypper up -y -t package

Note: package is not the name of a package, but an option, so just copy and paste the complete line.