Page MenuHomePhorge

Can not install Kolab on Debian 9 or Ubuntu 18
Closed, ResolvedPublic

Description

Hello,

I've tried to install Kolab on a fresh and new Debian 9, and Ubuntu 18.04LTS installation, both amd64 architecture, following these instructions step by step:
https://docs.kolab.org/installation-guide/debian-9.html
https://docs.kolab.org/installation-guide/ubuntu-18.04.html

But every time I run "aptitude -y install kolab", it ends up with a non-(or half?)-installed Kolab. :-(
I've also tried it with Ubuntu 18.10, same result.

When I try to install Kolab with the normal apt-get command afterwards, I get this error messages:

$ apt-get install kolab
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 kolab : Depends: kolab-webclient but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

... and ...

$ apt-get install kolab kolab-webclient
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 kolab-webclient : Depends: aspell-fi but it is not installable
E: Unable to correct problems, you have held broken packages.

Seems that some dependencies (aspell-fi) are broken or no longer available in Debian and its derivates...
Anybody knowing a quick fix?

Thank You and Greetings! :-)
Nuke9

Details

Ticket Type
Task

Event Timeline

Yeah, there is no aspell-fi at all in Debian.
Maybe this helps even with a "new" installation.

I solved this by recompiling kolab-webclient for an already deployed kolab installation...

cd /usr/local/src/
apt-get build-dep kolab-webclient
apt-get source kolab-webclient
cd kolab-16.0.1
nano debian/changelog

Change the first line from "kolab (16.0.1-15) unstable; urgency=low" to "kolab (16.0.1-15a) unstable; urgency=low".
With this change you raise the version of your package higher than the one from kolab repo > 16.0.1-15a.

nano debian/control

Search for the line containing "aspell-fi" (there is only one) and remove the complete line.

dpkg-buildpackage -tc

This will recompile the main kolab package.
After this you will have...
kolab-imap_16.0.1-15a_all.deb
kolab-ldap_16.0.1-15a_all.deb
kolab-mta_16.0.1-15a_all.deb
kolab-ucs_16.0.1-15a_all.deb
kolab-webclient_16.0.1-15a_all.deb
...in your parent folder.

Install only kolab-webclient...

dpkg -i ../kolab-webclient_16.0.1-15a_all.deb

Of cource apt/dpkg will cry about missing dependencies, BUT kolab-webclient will be now in the install pipeline.

Now try...

aptitude -y install kolab

Hope this helps, Otherwise maintainers should fix this ASAP.

Regards
Darius

Thank you for this detailed instructions! :-D
I'll give it a try...

Greetings
Nuke9

Yes it helped, the kolab installation is running through now! :-)

Thank you again!
Nuke9

nuke9 rescinded a token.
nuke9 awarded a token.
vanmeeuwen claimed this task.
vanmeeuwen moved this task from Backlog to Maintenance on the Bug Reports board.
vanmeeuwen subscribed.

The aspell-fi and aspell-pl dependencies have been dropped from kolab-webclient.