Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1376 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Logiciels

  [Debian] Installation postgresql > cassé ?

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[Debian] Installation postgresql > cassé ?

n°337609
Evadream -​jbd-
Posté le 11-10-2003 à 15:06:27  profilanswer
 

Hello tout le monde !
 
J'ai un petit soucis pour installer postgresql sur une debian stable (ca fait la même chose sur une testing d'ailleurs) :
 


Unpacking postgresql (from .../postgresql_7.3.2r1-5_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/postgresql_7.3.2r1-5_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 128
Errors were encountered while processing:
 /var/cache/apt/archives/postgresql_7.3.2r1-5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


 
Un petit coup de google m'amène ici :
 
http://lists.debian.org/debian-use [...] 00972.html
 


This is a bit complicated
since it is the preinstallation script that is failing and it is only in
the deb:
# mkdir /tmp/pg
# cd /tmp
# ar x /var/cache/apt/archives/postgresql_7.3.2r1-5_i386.deb control.tar.gz
# cd /tmp/pg
# tar xzf ../control.tar.gz
# vi ./preinst
Add the line "set -x" at line 2 of the script and file it.
# tar czf ../control.tar.gz .
# cd ..
# ar r /var/cache/apt/archives/postgresql_7.3.2r1-5_i386.deb control.tar.gz
# dpkg -i /var/cache/apt/archives/postgresql_7.3.2r1-5_i386.deb


 
Ce que je fais ... Et ca me donne ceci :
 


dpkg -i /var/cache/apt/archives/postgresql_7.3.2r1-5_i386.deb
(Reading database ... 21670 files and directories currently installed.)
Unpacking postgresql (from .../postgresql_7.3.2r1-5_i386.deb) ...
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/tmp.ci/preinst install 7.2.1-2                          woody2
dpkg: error processing /var/cache/apt/archives/postgresql_7.3.2r1-5_i386.deb (--                          install):
 subprocess pre-installation script returned error exit status 128
Errors were encountered while processing:
 /var/cache/apt/archives/postgresql_7.3.2r1-5_i386.deb
skydome:/tmp/pg#


 
Je n'ai pas de répertoire /var/lib/dpkg/tmp.ci/, est ce que ca pourrait venir de là ?
 


++ exec /usr/share/debconf/frontend /var/lib/dpkg/tmp.ci/preinst install 7.2.1-2  


Une idée ? Je vais faire suivre sur la liste...
 
@+


Message édité par Evadream -jbd- le 11-10-2003 à 15:16:35
mood
Publicité
Posté le 11-10-2003 à 15:06:27  profilanswer
 

n°337807
Evadream -​jbd-
Posté le 11-10-2003 à 18:57:54  profilanswer
 

Personne n'est inspiré? ;)

n°337903
CSCMEUH
Posté le 11-10-2003 à 22:40:50  profilanswer
 

Evadream -jbd- a écrit :

Personne n'est inspiré? ;)


Euuh tu est sur que ca viens d'un package en stable?
Si c'est le cas prend a la main une autre version du package postgresql. (sans passer par apt, dl direct sur le site de debian :) )


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Logiciels

  [Debian] Installation postgresql > cassé ?

 

Sujets relatifs
installation d'une clé usb sous linux mandrake 9.1[SendMail] niveau de difficulté d'installation... vos expériences.
installation wxgtk qui marche pasInstallation distrib. Trinux
installation de kernelPackages debian
Pb pour installation de themes kde [lib Qt]Installation modem ADSL Sagem 908 (Free) sous Linux
installation des pilotes nforce2 sur une debian (2.4.18) 
Plus de sujets relatifs à : [Debian] Installation postgresql > cassé ?


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR