[resolu]Perl et Debian

Perl et Debian [resolu] - Logiciels - Linux et OS Alternatifs

Marsh Posté le 31-10-2004 à 15:54:08    

Bonjour à tous,  
 
J'ai a disposition un server(Debian Woody) sur lequel à été installé perl.
 
Perl n'a pas été installé en utilisant apt-get, mais installé à partir des  sources puis compiler...  
 
Ayant un problème avec :

Code :
  1. sd312:/usr/share/perl# apt-get upgrade rrdtool
  2. Reading Package Lists... Done
  3. Building Dependency Tree... Done
  4. 0 packages upgraded, 0 newly installed, 0 to remove and 0  not upgraded.
  5. 1 packages not fully installed or removed.
  6. Need to get 0B of archives. After unpacking 0B will be used.
  7. Do you want to continue? [Y/n] Y
  8. debconf: Perl may be unconfigured (Can't locate Debconf/Log.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at (eval 1) line 4.
  9. BEGIN failed--compilation aborted at (eval 1) line 4.
  10. ) -- aborting
  11. Setting up iptables (1.2.6a-5.0woody1) ...
  12. Can't locate Debconf/Db.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at /usr/share/debconf/frontend line 22.
  13. BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 22.
  14. dpkg: error processing iptables (--configure):
  15. subprocess post-installation script returned error exit status 2
  16. Errors were encountered while processing:
  17. iptables
  18. E: Sub-process /usr/bin/dpkg returned an error code (1)

 
 
Je désirais enlevé l'install et faire une install "propre" avec apt-get.  
Y a t-il des précautions à prendre ? Par où commencer et comment faire ?  
 
Merci


Message édité par opgang le 31-10-2004 à 20:07:47

---------------
Allez viens :p http://www.eurotchat.info  
Reply

Marsh Posté le 31-10-2004 à 15:54:08   

Reply

Marsh Posté le 31-10-2004 à 16:46:47    

j'avais eu ce problème en compilant perl 5.8.1
finalement, je l'avais solutionné en faisant un dpkg -i du package perl du CD debian
 
je sais pas trop si c'est la "bonne" solution hein  ;)


Message édité par apt-get le 31-10-2004 à 16:48:14
Reply

Marsh Posté le 31-10-2004 à 17:39:42    

Malheureusement, ça ne fait rien.  
 
Après un

Code :
  1. sd312:/var/lib/dpkg# dpkg -i /var/cache/apt/archives/libappconfig-perl_1.52-5_all.deb
  2. Selecting previously deselected package libappconfig-perl.
  3. (Reading database ... 20676 files and directories currently installed.)
  4. Unpacking libappconfig-perl (from .../libappconfig-perl_1.52-5_all.deb) ...
  5. dpkg: dependency problems prevent configuration of libappconfig-perl:
  6. libappconfig-perl depends on perl (>= 5.6.0-16); however:
  7.   Package perl is not installed.
  8. dpkg: error processing libappconfig-perl (--install):
  9. dependency problems - leaving unconfigured
  10. Errors were encountered while processing:
  11. libappconfig-perl


et un après ça

Code :
  1. sd312:/var/lib/dpkg# apt-get -f install perl
  2. Reading Package Lists... Done
  3. Building Dependency Tree... Done
  4. You might want to run `apt-get -f install' to correct these:
  5. Sorry, but the following packages have unmet dependencies:
  6.   perl: Depends: perl-modules (>= 5.6.1-8.7) but it is not going to be installed
  7. E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
  8. sd312:/var/lib/dpkg# apt-get -f install
  9. Reading Package Lists... Done
  10. Building Dependency Tree... Done
  11. Correcting dependencies... Done
  12. The following extra packages will be installed:
  13.   perl perl-modules
  14. The following NEW packages will be installed:
  15.   perl perl-modules
  16. 0 packages upgraded, 2 newly installed, 0 to remove and 0  not upgraded.
  17. 2 packages not fully installed or removed.
  18. Need to get 2444kB of archives. After unpacking 10.9MB will be used.
  19. Do you want to continue? [Y/n] Y
  20. Get:1 ftp://ftp.fr.debian.org stable/main perl-modules 5.6.1-8.7 [1285kB]
  21. Get:2 ftp://ftp.fr.debian.org stable/main perl 5.6.1-8.7 [1160kB]
  22. Fetched 2444kB in 0s (7515kB/s)
  23. debconf: Perl may be unconfigured (Can't locate Debconf/Log.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at (eval 1) line 4.
  24. BEGIN failed--compilation aborted at (eval 1) line 4.
  25. ) -- aborting
  26. Selecting previously deselected package perl-modules.
  27. (Reading database ... 20702 files and directories currently installed.)
  28. Unpacking perl-modules (from .../perl-modules_5.6.1-8.7_all.deb) ...
  29. Selecting previously deselected package perl.
  30. Unpacking perl (from .../perl_5.6.1-8.7_i386.deb) ...
  31. Setting up iptables (1.2.6a-5.0woody1) ...
  32. Can't locate Debconf/Db.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at /usr/share/debconf/frontend line 22.
  33. BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 22.
  34. dpkg: error processing iptables (--configure):
  35. subprocess post-installation script returned error exit status 2
  36. Setting up perl (5.6.1-8.7) ...
  37. Setting up perl-modules (5.6.1-8.7) ...
  38. Setting up libappconfig-perl (1.52-5) ...
  39. Errors were encountered while processing:
  40. iptables
  41. E: Sub-process /usr/bin/dpkg returned an error code (1)


 
Je ne sais pas par où attaquer... :fou:


---------------
Allez viens :p http://www.eurotchat.info  
Reply

Marsh Posté le 31-10-2004 à 18:37:56    

J'ai attaquer en désinstallant les paquetages de debian mais rien à faire.


---------------
Allez viens :p http://www.eurotchat.info  
Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed