[pkg-horde] horde3 and turba2 installation problems

Roberto C. Sanchez roberto at connexer.com
Sun Oct 15 17:27:07 UTC 2006


On Sun, Oct 15, 2006 at 07:12:04PM +0200, Steffen Mutter wrote:
> Hi Roberto!
> 
> Thank you very much for your reply in lightning speed!
> 
> Roberto C. Sanchez typed:
> >
> >Intersting.  I don't recall Debian releasing a version called
> >Dapper/Drake.
> Sorry, my fault. I should have typed Ubuntu  a Debian/GNU based Linux  
> operation system - bou you got the clue anyway :-) 
> >  Perhaps you could check with the Ubuntu people?
> >  
> Oh, indeed I should have typed Ubuntu  a Debian/GNU based Linux  
> operation system which points you out as guilty for the mess :-))
> 
> Indeed apt-get show got pointed you(r team) as maintainer:
> root at styx:/usr/share/horde3/config# apt-cache show horde3
> Package: horde3
> Priority: optional
> Section: universe/web
> Installed-Size: 16364
> Maintainer: Horde Maintainers <pkg-horde-hackers at lists.alioth.debian.org>
> Architecture: all
> Version: 3.1.1-1
> 
Hmm.  We maintain the Debian versions, but AFAIK, don't have much of
anything to do with the Ubuntu versions beyond them grabbing the
packages out of Debian.

> 
> so far, so good.
> >>turba2 failed completely:
> >>
> >>The following packages have unmet dependencies:
> >> turba2: Depends: horde3 but it is not going to be installed
> >>E: Broken package
> >>    
> >Wow.  That is not enough tell anything other than that there in fact
> >*was* a problem.
> Okay, for me it looks quite existent.
> >  What is the complete error output?
> Not really much of use for me, otherwise I'd posted it in my mail to you:
> root at styx:/usr/share/doc/horde3# apt-get install turba2
> Reading package lists... Done
> Building dependency tree... 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.
> 
> Since you only requested a single operation it is extremely likely that
> the package is simply not installable and a bug report against
> that package should be filed.
> The following information may help to resolve the situation:
> 
> The following packages have unmet dependencies:
>  turba2: Depends: horde3 but it is not going to be installed
> E: Broken packages
> >  What command did
> >you use to install the package?
> First I tried a get it all in quick apt-get spell:
> apt-get install horde3 imp4 turba2
> (after cache searching for the packages)
> >  What is the output of `apt-cache policy
> >  
> okay, let's go:
> >horde3
>  Installed: 3.1.1-1
>  Candidate: 3.1.1-1
>  Version table:
> *** 3.1.1-1 0
>        500 http://archive.ubuntu.com dapper/universe Packages
>        100 /var/lib/dpkg/status
> > imp4 
>  Installed: 4.0.4-1
>  Candidate: 4.0.4-1
>  Version table:
> *** 4.0.4-1 0
>        500 http://archive.ubuntu.com dapper/universe Packages
>        100 /var/lib/dpkg/status
> 
> >turba2` ?
> >  
>  Installed: (none)
>  Candidate: 2.0.5-1
>  Version table:
>     2.0.5-1 0
>        500 http://archive.ubuntu.com dapper/universe Packages
> 
> See, all packages seem to suit but somehow they don't. Okay I am still 
> (quite) a newbie at least to package maintaining.

Odd. Try doing an `apt-get update` and then running the install command
again.  If it still fails, you really need to seek help from an Ubuntu
list or forum, as I cannot hepl diagnose problems with the ubuntu
repository.  BTW, is universe considered their stable or their unstable
repo?

> >>I followed the instructions given in 
> >>/usr/share/doc/horde3/README.Debian.gz but failed:
> >>
> >>The apache2 showed me this:
> >>
> >>
> >> A fatal error has occurred
> >>
> >>
> >>     Failed to import Horde configuration: Horde3 configuration
> >>     disabled by default because the administration/install wizard
> >>     gives the whole world too much access to the system. Read
> >>     /usr/share/doc/horde3/README.Debian.gz on how to allow access.
> >>
> >>
> >>which is not very funny, because I did exacty what was written in the 
> >>readme.
> >>
> >>    
> >You clearly did not, as it is the third sentence under "3. Configuring
> >Horde".
> >  
> Ha!
> You blame me not doing the right things?
> Okay, let's get through and you explain me what I've done wrong...
> 
> 3. Configuring Horde
> 
>   To configure horde3 use the web configuration wizard.
> ### I'd love to
> 
>   It is disabled
>   by default for security reasons. To enable it remove the exit (0) 
> directive
>   in /etc/horde/horde3/conf.php file.
> ###  that was  not very difficult.
> 
Did you also remove the line before it that prints out the message?
If not, you probably should.

>  To let the configuration wizard
>   write to the configuration files you have to change the owner
>   of the /etc/horde/horde3 dir and config files to be owned by www-data.
> ### chown -R www-data:www-data ./horde3
> which I did to:
> /etc/horde/horde3/
> because
> /usr/share/horde3/config is only a symlink to that directory.
> 
Good, but you want to run `chown -R www-data:www-data /etc/horde` so
that way the config files for imp4, horde3 and any other horde
applications you have are writeable.

>   If you do not do that you have to cut from the web configuration
>   program and paste into the config file yourself.
> ### paste WHAT? into WHICH configfile?

You go through the configuration process.  Then horde will fail to write
to the conf.php file and then it will tell you to copy the configuration
(which will be displayed on the page) and paste it into conf.php.

> let's see:
> root at styx:/usr/share/horde3/config# ls -la /etc/horde/horde3/ -la
> total 208
> drwxr-xr-x 2 www-data www-data   304 Oct 15 15:32 .
> drwxr-xr-x 4 www-data www-data    96 Oct 15 15:31 ..
> -rw-r--r-- 1 www-data www-data    14 Apr 13  2006 .htaccess
> -rw-r--r-- 1 www-data www-data  3355 Oct 15 15:32 conf.php
> -rw-r--r-- 1 www-data www-data 67223 Apr 13  2006 conf.xml
> -rw-r--r-- 1 www-data www-data 42009 Apr 13  2006 hooks.php
> -rw-r--r-- 1 www-data www-data 15499 Apr 13  2006 mime_drivers.php
> -rw-r--r-- 1 www-data www-data   280 Apr 13  2006 motd.php
> -rw-r--r-- 1 www-data www-data 24607 Apr 13  2006 nls.php
> -rw-r--r-- 1 www-data www-data 17336 Apr 13  2006 prefs.php
> -rw-r--r-- 1 www-data www-data 17054 Apr 13  2006 registry.php
> 
> This looks quite okay for me.
> What did I misunderstood in the README.Debian.gz?
> 
>   The reason why this is not the default option is, that allow writing
>   to configuration files without any authentication is a big
>   security hole, so you should reset the owner to root when you are done
>   with the configuration.
> ### basic-auth with .htpacces?
> 
>   You can now access Horde without a password,
> ### well I can't.

You should be able to.

> >Regards,
> >
> >-Roberto
> >  
> Steffen
> (thank you once more for your quick reply and I hope you may help me out 
> - I got stuck, really)
> 

Regards,

-Roberto

-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-horde-hackers/attachments/20061015/110fb39e/attachment.pgp


More information about the pkg-horde-hackers mailing list