Answer in english, sorry, the mailing list is english spoken.

The postinstall script has been commented and a small error slipped in.
A workaround would be to edit the file and comment the line 132 replacing
"else" by "#else".

Regards,

Le 24 septembre 2014 14:18, ATNObUG Jean-Yves Weirauch <
[email protected]> a écrit :

>  Bonjour à tous,
>
> Lors de la migration  de la 3.5.4 vers la 3.6.0 sur un serveur Debian
> stable sans fioriture ni bidouilles et à jour: J’obtiens le message suivant
> lors du "dpkg -i [...] "
>
>  *Paramétrage de dolibarr (3.6.0-3) ...*
> *Run the dolibarr config script*
> *Ask for web server to setup*
> *Run the dolibarr postinst script*
> */var/lib/dpkg/info/dolibarr.postinst: 147:
> /var/lib/dpkg/info/dolibarr.postinst: Syntax error: "fi" unexpected*
> *dpkg: erreur de traitement de dolibarr (--configure) :*
> * le sous-processus script post-installation installé a retourné une
> erreur de sortie d'état 2*
> *Des erreurs ont été rencontrées pendant l'exécution :*
> * dolibarr*
> *E: Sub-process /usr/bin/dpkg returned an error code (1)*
>
>
> J'ai pu cependant continuer le processus de migration via l'interface web
> et Je suis désormais bien sur la 3.6.0-3. Dolibarr fonctionne apparemment
> correctement dans les fonctions que j'ai utilisée.
>
> En revanche si j’exécute *apt-get upgrade*, je reviens systématiquement
> sur le message cité plus haut
>
> Quelqu'un aurait-il une piste pour supprimer ou contourner ce problème SVP
> ?
>
> Merci d'avance pour d'éventuelles pistes
>
> JY
>
>
>
>
> _______________________________________________
> Dolibarr-user mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/dolibarr-user
>



-- 
*Raphaël Doursenaud*
Directeur technique (CTO)
Expert certifié en déploiement Google Apps
<https://gpcsolutions.fr/raphael-doursenaud-google-apps-certified-deployment-specialist>
+33 (0)5 35 53 97 13 - +33 (0)6 68 48 20 10

-- 
 <http://gpcsolutions.fr>
http://gpcsolutions.fr
Technopole Hélioparc
2 avenue du Président Pierre Angot
64053 PAU CEDEX 9
SARL GPC.solutions au capital de 7 500 € - R.C.S. PAU 528 995 921
<https://www.google.com/a/partnersearch/#partner?partner_id=46687933_a0n60000000sqpWAAQ>
 
<http://wiki.dolibarr.org/index.php/Dolibarr_suppliers_France#GPC.solutions>
_______________________________________________
Dolibarr-user mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/dolibarr-user

Répondre à