Author Topic: [SOLVED]Install Zentyal through shell  (Read 3553 times)

robb

  • Guest
[SOLVED]Install Zentyal through shell
« on: May 26, 2011, 09:03:57 pm »
I am trying to install zentyal on a VPS running Ubuntu 10.04 64.

On a fresh install I add the zentyal and zarafa repositories as mentioned in the installation guide on TRAC

My /etc/apt/sources.list looks like:
Code: [Select]
deb http://archive.ubuntu.com/ubuntu lucid main
deb http://security.ubuntu.com/ubuntu lucid-security main
deb http://ppa.launchpad.net/zentyal/2.0/ubuntu lucid main
deb http://archive.canonical.com/ubuntu lucid partner
deb http://ppa.launchpad.net/zentyal/2.0-contrib/ubuntu lucid main

Are there any other repositories I should add?

When installing zentyal by giving the command: 'aptitude install -f zentyal'
I get the following responses:

Code: [Select]
root@vps1075:~# sudo aptitude install -f zentyal
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
[b]The following packages are BROKEN:
  ebox libebox perl[/b]
The following NEW packages will be installed:
  anacron{a} apache2{a} apache2-mpm-prefork{a} apache2-utils{a} apache2.2-bin{a}
  apache2.2-common{a} cvs{a} ebox-software{a} fontconfig-config{a} gettext{a} info{a}
  install-info{a} libapache2-mod-perl2{a} libapache2-reload-perl{a} libapr1{a}
  libaprutil1{a} libaprutil1-dbd-sqlite3{a} libaprutil1-ldap{a} libapt-pkg-perl{a}
  libbsd-resource-perl{a} libchart-perl{a} libclone-perl{a} libcroco3{a}
  libdevel-stacktrace-perl{a} libdevel-symdump-perl{a} liberror-perl{a}
  libfile-copy-recursive-perl{a} libfont-afm-perl{a} libfontconfig1{a} libgd-gd2-perl{a}
  libgd2-xpm{a} libgomp1{a} libhtml-format-perl{a} libhtml-parser-perl{a}
  libhtml-tagset-perl{a} libhtml-tree-perl{a} libintl-perl{a} libjpeg62{a}
  liblog-log4perl-perl{a} libmailtools-perl{a} libnet-ip-perl{a} libperl5.10{a} libpq5{a}
  libreadonly-perl{a} libreadonly-xs-perl{a} liburi-perl{a} libwww-perl{a}
  libxml-namespacesupport-perl{a} libxml-parser-perl{a} libxml-sax-expat-perl{a}
  libxml-sax-perl{a} libxml-simple-perl{a} libxpm4{a} libyaml-tiny-perl{a} postgresql{a}
  postgresql-8.4{a} postgresql-client-8.4{a} postgresql-client-common{a}
  postgresql-common{a} ssl-cert{a} ttf-dejavu-core{a} update-inetd{a} zentyal
The following packages will be upgraded:
  libssl0.9.8 perl-base
2 packages upgraded, 65 newly installed, 0 to remove and 42 not upgraded.
Need to get 23.4MB of archives. After unpacking 75.1MB will be used.
The following packages have unmet dependencies:
  perl: Depends: perl-base (= 5.10.1-8ubuntu2) but 5.10.1-8ubuntu2.1 is to be installed.
  libebox: Depends: liblog-dispatch-perl which is a virtual package.
           Depends: libhtml-mason-perl which is a virtual package.
           Depends: libfile-slurp-perl which is a virtual package.
           Depends: libperl6-junction-perl which is a virtual package.
           Depends: libmail-rfc822-address-perl which is a virtual package.
           Depends: libsoap-lite-perl which is a virtual package.
           Depends: libjs-scriptaculous which is a virtual package.
           Depends: libjs-prototype which is a virtual package.
           Depends: libdata-validate-domain-perl which is a virtual package.
  ebox: Depends: libapache-singleton-perl which is a virtual package.
        Depends: libsys-cpu-perl which is a virtual package.
        Depends: libsys-cpuload-perl which is a virtual package.
        Depends: libproc-process-perl which is a virtual package.
        Depends: libdbd-pg-perl which is a virtual package.
        Depends: libnet-jabber-perl which is a virtual package.
        Depends: libfilesys-df-perl which is a virtual package.
        Depends: libfile-mmagic-perl which is a virtual package.
        Depends: libxml-rss-perl which is a virtual package.
        Depends: libjson-perl which is a virtual package.
        Depends: libstring-shellquote-perl which is a virtual package.
        Depends: liblinux-inotify2-perl which is a virtual package.
        Depends: libredis-perl which is a virtual package.
        Depends: redis-server which is a virtual package.
        Depends: libauthen-simple-pam-perl which is a virtual package.
The following actions will resolve these dependencies:

Keep the following packages at their current version:
ebox [Not Installed]
ebox-software [Not Installed]
libebox [Not Installed]
zentyal [Not Installed]

Upgrade the following packages:
perl [5.10.1-8ubuntu2 (lucid, now) -> 5.10.1-8ubuntu2.1 (lucid-security)]
perl-modules [5.10.1-8ubuntu2 (lucid, now) -> 5.10.1-8ubuntu2.1 (lucid-security)]

Score is 286

Accept this solution? [Y/n/q/?]

Any suggestions how to fix the 'broken' ebox libebox perl packages?
« Last Edit: May 26, 2011, 11:33:39 pm by robb »

robb

  • Guest
Re: Install Zentyal through shell
« Reply #1 on: May 26, 2011, 10:55:46 pm »
It seems to be the problem of the sources.list

The packages needed were in the 'universe' repositories.

I added those repositories and all went fine. Maybe something to check and put in the wiki to add the universe repo's !

regards,
Rob

/edit 1 problem further: I installed zentyal through shell and try to log into the webinterface. It asks for user and password, but neither my account (with sudo rights), nor root can log into the webinterface.
I follow the instruction on the FAQ. then I get the following response: adduser: The group `admin' does not exist

Ok, tried the following:
created the group 'admin' and added a user with sudo rights to it. Then logged in with those credentials and all worked fine!

Seems the 'admin' group is NOT being created when isntalling zentyal through the shell (sudo aptitude install zentyal)
« Last Edit: May 26, 2011, 11:33:08 pm by robb »

Escorpiom

  • Zen Hero
  • *****
  • Posts: 897
  • Karma: +25/-1
    • View Profile
Marcus' Rule:
Blanks & capitals = avoid it and you'll avoid problems...