[horde] Installing the RC

Simon Brereton simon.brereton at dada.net
Thu Mar 24 22:54:23 UTC 2011


> From: horde-bounces at lists.horde.org [mailto:horde-
> bounces at lists.horde.org] On Behalf Of Jan Schneider
> Zitat von Simon Brereton <simon.brereton at dada.net>:
> 
> >> From: horde-bounces at lists.horde.org [mailto:horde-
> >> bounces at lists.horde.org] On Behalf Of Jan Schneider Zitat von
> Simon
> >> Brereton <simon.brereton at dada.net>:
> >>
> >> > Hi
> >> >
> >> > I've tried this several time and failed every single time.
> >> > This is a (relatively) fresh Squeeze installation.  The steps
<SNIP>
> >> > 	cd /usr/share/horde4/config/
> >> >
> >> > And at this point I have a problem.  There is nothing in
> >> > /usr/share/horde4 other than the js folder...
> >> >
> >> > Can you tell me what I'm doing wrong?
> >>
> >> Not really. Everything look correct. I'm curious: what *is* in the
> >> js/ directory?
> >>
> >> You can see where the packages are installed with:
> >> pear list-files horde/horde
> >
> >
> > At the moment I can't tell you.  I just tried it again.
<SNIP>
> > root at jonty:~# pear list-files horde/horde `horde/horde' not
> installed
> >
> > So, now I'm really stuck.  Is there away to completely reset
> things?
> 
> Uninstall PEAR completely and start from scratch.
> 
> But first try:
> pear clear-cache
> pear channel-update horde
> 
> You seem to somehow really messed up your PEAR.

I try.

It seemed to work, but then it failed with the same error.

So then I tried to apt-get purge php-pear.  This complained that it could not remove all the directories so I removed them manually (one of them contained Horde.php and Horde.xml).

Then I reinstalled PEAR.  But when I ran pear upgrade it upgraded a few and complained about a lot of horde errors like:

Validation Error: File "js/syntaxhighlighter/scripts/shAutoloader.js" in directory "<dir name="/">" has invalid role "horde", should be one of cfg, data, doc, php, script, test, www
Validation Error: This package contains role "horde" and requires package "horde/Role" to be used

It did download a few horde packages though (this was strange because I hadn't added the channel yet).

So, then I added the channel (which was successful) and ran the install horde/horde_role-beta (which failed as being already installed).  So then I ran run-scripts horde/horde_role and that failed:

root at jonty:~# pear run-scripts horde/horde_role
Including external post-installation script "/usr/share/php/PEAR/Installer/Role/Horde/Role.php" - any errors are in this script

Warning: include_once(/usr/share/php/PEAR/Installer/Role/Horde/Role.php): failed to open stream: No such file or directory in PEAR/Task/Postinstallscript.php on line 289
PHP Warning:  include_once(/usr/share/php/PEAR/Installer/Role/Horde/Role.php): failed to open stream: No such file or directory in /usr/share/php/PEAR/Task/Postinstallscript.php on line 289

Warning: include_once(): Failed opening '/usr/share/php/PEAR/Installer/Role/Horde/Role.php' for inclusion (include_path='/usr/share/php') in PEAR/Task/Postinstallscript.php on line 289
PHP Warning:  include_once(): Failed opening '/usr/share/php/PEAR/Installer/Role/Horde/Role.php' for inclusion (include_path='/usr/share/php') in /usr/share/php/PEAR/Task/Postinstallscript.php on line 289
init of post-install script class "Horde_Role_postinstall" failed

So, short of trying to remove Pear again, I don't know what to do now.

Simon






More information about the horde mailing list