Author Topic: Unable to install Zentyal 3.0 on an Ubuntu 12.04 (x64) server.  (Read 12608 times)

knura9

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Unable to install Zentyal 3.0 on an Ubuntu 12.04 (x64) server.
« on: September 28, 2012, 12:35:01 pm »
I am trying to install Zentyal 3.0 on a base Ubuntu 12.04 (x64) server.

I have followed the instructions outlined here:

http://trac.zentyal.org/wiki/Documentation/Community/Installation/InstallationGuide

under the "Zentyal 3.0 packages" section.  I have added the Zentyal repo and installed the Zentyal key + apt-get update.

I am able to add/remove other Ubuntu packages with this setup.

However, I am unable to add install the Zentyal packages.

Has anyone installed Zentyal 3.0 on top of an Ubuntu 12.04 server successfully?

"apt-get install zentyal" fails

I have tried "apt-get install zentyal-core"  or "apt-get install zentyal-common" without any success.

I have tried "apt-get check" and "apt-get -f install" to fix the package management files.  I get a '0' (zero) return code, from both, suggesting that my DEB package management files are fine.

Any idea what could be wrong?

Quote

$ sudo apt-get install zentyal
[sudo] password for sysadmin:
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:
 zentyal : Depends: zentyal-core but it is not going to be installed
           Depends: zentyal-software but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

« Last Edit: September 28, 2012, 12:38:29 pm by knura9 »

fox

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Unable to install Zentyal 3.0 on an Ubuntu 12.04 (x64) server.
« Reply #1 on: September 28, 2012, 06:19:10 pm »
Hi
There are some problem with the Zentyal package. I don't know how to resolve the issue but I was able to install Zentyal with the following metod.

1 - Install Ubuntu Server 12.04.1 LTS
2 - Add the repository for Zentyal as explained at http://trac.zentyal.org/wiki/Documentation/Community/Installation/InstallationGuide
3 - Do not install zentyal package ( sudo apt-get install zentyal )
4 - Install the following packages before configure Zentyal at the web interface ( zentyal-software zentyal-network zentyal-firewall )
5 - Configure Zentyal at the web interface as usual

Zentyal will be installed without problems

FarquahrWindsor

  • Guest
Re: Unable to install Zentyal 3.0 on an Ubuntu 12.04 (x64) server.
« Reply #2 on: September 28, 2012, 06:30:29 pm »
http://forum.zentyal.org/index.php/topic,12229.msg50149.html#msg50149

Looks like you are right.

Dunno why but i always install zentyal-common and software then build up with the network and that add later software.

There has been a big rush with new Samba releases of late and it looks like things has got a bit tangled.

My brains gone dead as I have done this about 10 times of the last couple of weeks.

Is it core or common and software just enough to get you going?
Then setup your network. I usually just install the network and then later add firewall dhcp and build up enabling the modules as I go.
Add samba and users and groups at the end as i make sure the host name and domain name and ldap settings seem ok before I enable.
Dunno why and wish I didn't or I would of found the error much earlier.
The ISO seems to have a couple of problems as well and it looks like we have missed them by always doing it this way.

:)

fox

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Unable to install Zentyal 3.0 on an Ubuntu 12.04 (x64) server.
« Reply #3 on: September 28, 2012, 08:25:17 pm »
Hi FarquahrWindsor

Did not noticed your post

Thanks

knura9

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Unable to install Zentyal 3.0 on an Ubuntu 12.04 (x64) server.
« Reply #4 on: October 01, 2012, 09:31:43 am »
SOLVED

Hi
There are some problem with the Zentyal package. I don't know how to resolve the issue but I was able to install Zentyal with the following metod.

1 - Install Ubuntu Server 12.04.1 LTS
2 - Add the repository for Zentyal as explained at http://trac.zentyal.org/wiki/Documentation/Community/Installation/InstallationGuide
3 - Do not install zentyal package ( sudo apt-get install zentyal )
4 - Install the following packages before configure Zentyal at the web interface ( zentyal-software zentyal-network zentyal-firewall )
5 - Configure Zentyal at the web interface as usual

Zentyal will be installed without problems

Item 1 solved some idiosyncrasies I had been seeing in Ubuntu 12.04.  I have a base install of Ubuntu 12.04 server image (Qemu format for LKVM) that I copy and use for evaluating stuff; detection of network device was inconsistent.   I have now created a new 12.04.1 image and this problem has gone away (this is *not* a Zentyal problem).

After adding the Zentyal key, the repository info, and then apt-get update.

"apt-get install zentyal" was successful.

This provides the base for the Zentyal Web UI and from then on I have been able to add modules including the "Network Configurator"

fox - thanks for the suggestion to use Ubuntu 12.04.1  8)

Perhaps the installation wiki page:
http://trac.zentyal.org/wiki/Documentation/Community/Installation/InstallationGuide
should be updated with a Note:

                "For the base OS installation, please use Ubuntu 12.04.1 or a later version"

-- Arun Khan

Escorpiom

  • Zen Hero
  • *****
  • Posts: 897
  • Karma: +25/-1
    • View Profile
Re: Unable to install Zentyal 3.0 on an Ubuntu 12.04 (x64) server.
« Reply #5 on: October 01, 2012, 01:10:22 pm »
Good work!
Now for the -perhaps- dumb question: This applies to installing Zentyal on top of an already installed Ubuntu 12.04 server.
Is the Zentyal 3.0 iso (that comes with Ubuntu server) based on 12.0.4 or 12.0.4.1?

Cheers. 
Marcus' Rule:
Blanks & capitals = avoid it and you'll avoid problems...

knura9

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Unable to install Zentyal 3.0 on an Ubuntu 12.04 (x64) server.
« Reply #6 on: October 01, 2012, 08:27:29 pm »
Is the Zentyal 3.0 iso (that comes with Ubuntu server) based on 12.0.4 or 12.0.4.1?

I hope this is not a trick question  i.e. Zentyal 3.0 comes with 12.04.1 :)

Anyways, for me it was more important to get a functional Ubuntu 12.04.1 base server install image that I can use for other purposes in my KVM setup; Zentyal 3.0 being one of them.
« Last Edit: October 02, 2012, 10:05:20 am by knura9 »

Escorpiom

  • Zen Hero
  • *****
  • Posts: 897
  • Karma: +25/-1
    • View Profile
Re: Unable to install Zentyal 3.0 on an Ubuntu 12.04 (x64) server.
« Reply #7 on: October 03, 2012, 07:11:42 am »
No, absolutely not a trick question.
I have not looked at Zentyal 3.0 yet and before jumping on the train some small issues may be solved by the Zentyal team.
Reason I asked it is because some people install Ubuntu server and Zentyal separately, so just want to stress that they have to use the 12.04.1 installer to avoid issues like described in this topic.
On a side note, 12.04 on the Ubuntu releases page seems to link to 12.04.1 now.

Cheers. 
« Last Edit: October 03, 2012, 07:24:18 am by Escorpiom »
Marcus' Rule:
Blanks & capitals = avoid it and you'll avoid problems...

Marcus

  • Forum Moderator
  • Zen Samurai
  • *****
  • Posts: 395
  • Karma: +12/-0
    • View Profile
    • Professional IT Service
Re: Unable to install Zentyal 3.0 on an Ubuntu 12.04 (x64) server.
« Reply #8 on: October 04, 2012, 12:20:15 pm »
Hello,

First step following a fresh install is to always ensure that you have an up-to-date installation prior of installing anything else
Code: [Select]
sudo apt-get update && sudo apt-get upgrade(that will turn your few months old 12.04 CD install into a 12.04.1 install)

Then, if like me you aren't an en_US user, let's say a french canadian for exemple, make sure to install your language support pack (otherwise perl really won't like it).
Code: [Select]
sudo apt-get install language-pack-fr language-support-fr language-support-writing-fr
Then you may proceed with your Zentyal (and other nice to have softwares) installation.
Code: [Select]
sudo apt-get install -y python-software-properties && sudo add-apt-repository ppa:zentyal/3.0 && sudo apt-get update && sudo apt-get install zentyal-software
Hope it will help

Best,

Marcus