[Kolab-devel] Doing it for the Pi

Julian Cloos julian at halifax.rwth-aachen.de
Tue Mar 26 20:11:49 CET 2013


Hi Daniele,

thank you for the very nice installation instructions :-)

I got after the third batch the following errors when I try to run the command 
"apt-get -f install"

---
root at raspberrypi:/home/pi# apt-get -f install
Reading package lists... Done
Building dependency tree        
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 137 not upgraded.
8 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up php5-common (5.4.4-14) ...
dpkg: error processing php5-common (--configure):
 subprocess installed post-installation script returned error exit status 132
dpkg: dependency problems prevent configuration of php5-cli:
 php5-cli depends on php5-common (= 5.4.4-14); however:
  Package php5-common is not configured yet.

dpkg: error processing php5-cli (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libapache2-mod-php5:
 libapache2-mod-php5 depends on php5-common (= 5.4.4-14); however:
  Package php5-common is not configured yet.
                                                                                                                                                                                                                                                   
dpkg: error processing libapache2-mod-php5 (--configure):                                                                                                                                                                                          
 dependency problems - leaving unconfigured                                                                                                                                                                                                        
dpkg: dependency problems prevent configuration of php5-ldap:                                                                                                                                                                                      
 php5-ldap depends on phpapi-20100525+lfs; however:
  Package phpapi-20100525+lfs is not installed.
  Package libapache2-mod-php5 which provides phpapi-20100525+lfs is not 
configured yet.
  Package php5-cli which provides phpapi-20100525+lfs is not configured yet.
 php5-ldap depends on php5-common (= 5.4.4-14); however:
  Package php5-common is not configured yet.

dpkg: error processing php5-ldap (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php-pear:
 php-pear depends on php5-common (>= 5.4.4-14); however:
  Package php5-common is not configured yet.
 php-pear depends on php5-cli; however:
  Package php5-cli is not configured yet.

dpkg: error processing php-pear (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php-net-ldap:
 php-net-ldap depends on php-pear; however:
  Package php-pear is not configured yet.
 php-net-ldap depends on php5-ldap; however:
  Package php5-ldap is not configured yet.

dpkg: error processing php-net-ldap (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5:
 php5 depends on libapache2-mod-php5 (>= 5.4.4-14) | libapache2-mod-php5filter 
(>= 5.4.4-14) | php5-cgi (>= 5.4.4-14) | php5-fpm (>= 5.4.4-14); however:
  Package libapache2-mod-php5 is not configured yet.
  Package libapache2-mod-php5filter is not installed.
  Package php5-cgi is not installed.
  Package php5-fpm is not installed.
 php5 depends on php5-common (>= 5.4.4-14); however:
  Package php5-common is not configured yet.

dpkg: error processing php5 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of smarty3:
 smarty3 depends on php5 | php5-cgi | php5-cli; however:
  Package php5 is not configured yet.
  Package php5-cgi is not installed.
  Package php5-cli is not configured yet.

dpkg: error processing smarty3 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 php5-common
 php5-cli
 libapache2-mod-php5
 php5-ldap
 php-pear
 php-net-ldap
 php5
 smarty3
E: Sub-process /usr/bin/dpkg returned an error code (1)
---

I am using the current Raspberry Pi image:
http://downloads.raspberrypi.org/images/raspbian/2013-02-09-wheezy-
raspbian/2013-02-09-wheezy-raspbian.zip

regards
Julian


Am Freitag, 22. März 2013, 22:18:36 schrieb daniele+kolab at gobbetti.name:
> julian at halifax.rwth-aachen.de ha scritto:
> >Hi Daniele,
> >
> >do you get Kolab 3 working on the Raspberry Pi? Which version do you
> >have of the Raspberry Pi with 256MB or 512MB of RAM?
> 
> Hi Julian, hi all,
> 
> apologize for the long overdue answer, but issues with my ADSL at home
> prevented me from having decent connectivity.
> Anyways, of course I am willing to share the packages I built :)
> 
> Please be aware that:
> - I am a long time debian user but first time package
> builder
> - the packages are not signed, they are provided as is. I merely built them
> without touching the original sources, but you have to take my word for
> this. - the process has some rough edges that I tried to document, but some
> steps may be missing, don't proceed if you're a beginner!
> - The packages are built from the source repository of kolab[1], and not the
> git repositories, with the notable exception of syncrotron, that is built
> from the git repo because it wasn't working
> - I built also 389 from source, but it should be identical to the one
> available on raspian repos, however I didn't try it.
> 
> Having said that, the packages are available here:
> https://daniele.gobbetti.name/kolab-debs/
> 
> Please follow the directions contained in this file:
> https://daniele.gobbetti.name/kolab-debs/00-kolab-installation.txt
> It contains both the installation order (dpkg -i cannot solve dependencies
> on its own) as well as some steps you'll have to perform after
> installation.
> 
> A few words about performances:
> -web interfaces work well, both roundcube and the webadmin.
> - I don't know if it will work on 256Mb PIs because on
> mine it's constantly above 300Mb of RAM usage
> - clamav and freshclam are HUGE beasts, it took almost one minute for a mail
> to go from the sender to the recipient (both on the same PI). Unfortunately
> these packages are configured as dependencies, and I think this needs to be
> changed in order to get kolab3 working good on the raspi.
> 
> Calendar and contacts works really well through syncrotron (that's my use
> case scenario) on android.
> >Regards
> >Julian
> 
> Best Regards,
> Daniele
> 
> [1] I used this repo configuration:
> deb-src
> http://mirror.kolabsys.com/pub/debian/kolab-3.0/ wheezy development updates
> 
> --
> 
> >Zitat von "Julian Cloos" <julian at halifax.rwth-aachen.de>:
> >> Hi Daniele,
> >> 
> >> I also tried to compile and build packages for the Raspberry Pi. But
> >
> >I have
> >
> >> not much time to do this therefore I am lucky to hearing that you get
> >
> >Kolab 3
> >
> >> running on the Raspberry Pi.
> >> Can you share the packages so that I can try out how kolab 3 runs on
> >
> >my
> >
> >> Raspberry Pi with only 256MB :-D
> >> 
> >> kind regards
> >> Julian
> >> 
> >> Am Donnerstag, 7. März 2013, 14:14:09 schrieb
> >
> >daniele+kolab at gobbetti.name:
> >>> daniele+kolab at gobbetti.name writes:
> >>> > I'm a long time debian user but never built "real" packages hence
> >
> >I
> >
> >>> > still don't know what the outcome will be, but I'll share the debs
> >
> >with
> >
> >>> > whomever is interested in them.
> >>> 
> >>> Milestone reached: I managed to compile all the dependencies for
> >
> >kolab3! :D
> >
> >>> The only two source packages that weren't needed as dependencies
> >
> >are:
> >>> idm-console-framework
> >>> jss
> >>> 
> >>> Does this sound right?
> >>> 
> >>> The debs are ~25MB, I'll try to install them to a spare Pi that I
> >
> >borrowed
> >
> >>> from a friend and let you know how it works out.
> >>> 
> >>> The process was flawless, huge congrats to the people who created
> >
> >the source
> >
> >>> packages! I only had to symlink /usr/sbin/apache2 to
> >>> /usr/sbin/apache2.worker in order to build 389-admin
> >>> 
> >>> Regards,
> >>> Daniele
> >>> 
> >>> --
> >>> 
> >>> _______________________________________________
> >>> Kolab-devel mailing list
> >>> Kolab-devel at kolab.org
> >>> https://www.intevation.de/mailman/listinfo/kolab-devel
> >> 
> >> _______________________________________________
> >> Kolab-devel mailing list
> >> Kolab-devel at kolab.org
> >> https://www.intevation.de/mailman/listinfo/kolab-devel




More information about the devel mailing list