2.2.0->2.2.2/Debian 4.0->5.0 upgrade problems, part 2
ITSEF Admin
itsef-admin at brightsight.com
Thu Jun 25 13:12:04 CEST 2009
Hi all,
As a source upgrade from a 32bit Kolab 2.2.0 installation on a 64bit Debian
4.0 to a 64bit Kolab 2.2.2 installation on a 64bit Debian 5.0 did not work
(see other mail and question), I also tried a different approach. Again, the
base is a working 32bit 2.2.0 installation, which is copied over from a
Debian 4.0 to a Debian 5.0 machine (both 64bit) (all Kolab-stuff is OpenPKG
based).
I then got the binary Debian 5.0 (32bit) packages from the kolab.org servers
and tried to use them instead of the source, hoping that I would avoid the
compiler problems that way. However, when I try the upgrade (i.e. running the
install-kolab.sh script), the upgrade fails (see log below). For some odd
reasons, openpkg *still* wants to compile something, despite all binary RPMs
being present.
To investigate, I tried to "manually" update at least the openpkg RPM itself,
by doing:
/kolab/bin/openpkg rpm -Uhv
openpkg-20071227-20071227_kolab1.ix86-debian5.0-kolab.rpm
The result:
Preparing... ########################################### [100%]
package openpkg-20071227-20071227_kolab1 is intended for a debian5.0
operating system
Huh? But this machine *is* running Debian 5.0:
# shtool platform --type=binary
amd64-debian5.0.1
Why does openpkg complain? Because the packages are not 64bit? Again, any
insights are much appreciated.
Regards,
Thomas
<log>
TMPDIR=/var/tmp sh install-kolab.sh 2>&1 |
tee /root/kolab-update-binary-ix86.log
Changing to temporary working
directory /var/tmp/install-kolab.18525.13924.24833.21526 ...
Kolab installation tag (TAG): kolab
Kolab installation prefix (PREFIX): /kolab
Kolab version (KOLAB_VERSION): 2.2.2
Kolab user name (USER): kolab
Kolab user base UID (KID): 19414
Kolab restricted UID (KID): 19415
Kolab non-priviledged UID (KID): 19416
Exclude following Kolab packages:
Received no instructions. Trying to determine required action...
Found an OpenPKG environment. Assuming upgrade...
----------- SETUP COMPLETED -----------
Now running:
/kolab/bin/openpkg
build -kKBuZ -r "/var/tmp/install-kolab.18525.13924.24833.21526" -p "ix86-debian4.0-kolab" -D
openldap::with_pth=no -D sasl::with_ldap -D sasl::with_login -D
sasl::with_ntlm -D postfix::with_sasl -D postfix::with_ssl -D
postfix::with_ldap -D imapd::with_kolab_nocaps
-Dkolabd::kolab_version=2.2.2
-Dkolab-webadmin::kolab_version=2.2.2
openpkg-tools openldap postfix kolabd kolab-webadmin kolab-fbview
kolab-webclient | sh
---------------------------------------
:::: /var/tmp/install-kolab.18525.13924.24833.21526/openpkg-20071227-20071227_kolab1.src.rpm ::::
error: cannot
open /var/tmp/install-kolab.18525.13924.24833.21526/openpkg-20071227-20071227_kolab1.src.rpm:
No such file or directory
</log>
--
------------------------------------------------------------------------------
Thomas Ribbrock, IT-Team brightsight
More information about the users
mailing list