[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IMP/horde : upgrade impossible



Jean Charles Delepine a écrit :

> /var/lib/dpkg/info/horde.postinst:
> [...]
> 
> # Now let's create the horde.php3 file needed by HORDE
> cat > /etc/horde/horde.php3 <<EOF
> <?php
> 
> /*            DO NOT EDIT           */
> /*   AUTOMATICALLY GENERATED FILE   */
> /* Edit /etc/horde/horde.php3.in and then */
> /* use update-horde to generate this file */
> 
> \$default->horde_root_url       = '$horde_root_url';
> [...]
> EOF
> 
> Je ne vois pas d'où peut venir ce "command not found"...
> 
> On a bien le même horde.postinst ?

Oui, j'ai bien ça dans ce fichier (ligne 305) :
  \$default->horde_root_url       = '$horde_root_url';
 
> Que contient /etc/horde/horde.php3 après l'erreur ?

xxxxxxxx:~# cat /etc/horde/horde.php3
<?php
 
/*            DO NOT EDIT           */
/*   AUTOMATICALLY GENERATED FILE   */
/* Edit /etc/horde/horde.php3.in and then */
/* use update-horde to generate this file */
 
$default->horde_root_url        = '/horde';
$default->horde_graphics_url    = '/horde/graphics';
$default->faq_url               = 'http://faq.horde.org/';
$default->horde_include_dir     = './templates';
 
/* Path to sendmail */
$default->path_to_sendmail      = '/usr/sbin/sendmail';
 
/* Problem Reporting */
$default->problem_email         = 'root@localhost';
$default->problem_reporting     = true;
 
/* Account Signup */
$default->signup_email          = 'root@localhost';
$default->signup                = false;
 
?>

> Ce horde_root_url est initialisé précédemment par :
> 
> # Read in template
> . /etc/horde/horde.php3.in
> 
> Que contient ce fichier ?

Apparemment, ça vient de là :

xxxxxxxx:~# . /etc/horde/horde.php3.in
bash: horde_root_url: command not found
bash: horde_graphics_url: command not found
bash: faq_url: command not found
bash: horde_include_dir: command not found
bash: path_to_sendmail: command not found
bash: problem_email: command not found
bash: problem_reporting: command not found
bash: signup_email: command not found
bash: signup: command not found

xxxxxxxx:~# cat /etc/horde/horde.php3.in
#!/bin/sh
# Template file for horde.php3
#
# Do not edit anything above this line
# Run update-horde to have your changes take effect
#
# Horde URLs
horde_root_url          ="/horde";
horde_graphics_url      ="/horde/graphics";
faq_url                 ="http://faq.horde.org/";;
horde_include_dir       ="./templates";
# Path to sendmail
path_to_sendmail        ="/usr/sbin/sendmail";
# Problem Reporting
problem_email           ="root@localhost";
problem_reporting       ="true";
# Account Signup
signup_email            ="root@localhost";
signup                  ="false";

>                Jean Charles

Yann

-- 
Yann Forget, System administrator, http://www.ynternet.org
Non profit organization serving young social entrepreneurs
Portal & cybercenters for developing countries
Tel.: +41-21-3113047



Reply to: