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

desinstaller un package -mal- installe



Bonsoir a tous,


J'ai voulu installer un package qui ne pouvait manifestement pas
s'installer sur une woody sur mon ultrasparc. J'ai telecharge le .deb et
fait un dpkg -i package.deb

L'install ne s'est pas bien passe (le postinst plante) et des que je veux installer /
mettre a jour / supprimer un package (par dpkg, dselect ou apt-get
upgrade) :

thething:/tmp# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
E: The package plgrenouille-0.6 needs to be reinstalled, but I can't find an archive for it.

Je ne sais pas comment le desinstaller, j'ai essaye de reinstaller
mais rien a faire. Je ne sais pas quoi faire et je suis bien embete,
toute aide est fortement appreciee - meme un RTFM, si quelqu'un peut
m'orienter vers le bon FM ;)


Cordialement,
Nathanael Camelot



Infos diverses


thething:~# cat /proc/version
Linux version 2.4.19 (root@hopper) (gcc version egcs-2.92.11 19980921 (gcc2 ss-980609 experimental)) #1 Fri Oct 4 18:36:11 EDT 2002


J'ai installe ce package : ftp://blade.concept-micro.com/plgrenouille_0.61-6_all.deb


thething:/tmp# dpkg -r plgrenouille-0.6
dpkg: error processing plgrenouille-0.6 (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 plgrenouille-0.6

 
thething:/tmp# dpkg -i plgrenouille-0.6_1-1_all.deb
Selecting previously deselected package plgrenouille-0.6.
(Reading database ... 31145 files and directories currently installed.)
Preparing to replace plgrenouille-0.6 1-1 (using plgrenouille-0.6_1-1_all.deb) ...
Stopping plgrenouille-0.6: dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Stopping plgrenouille-0.6: dpkg: error processing plgrenouille-0.6_1-1_all.deb (--install):
 subprocess new pre-removal script returned error exit status 1
Voulez-vous (re)configurer plgrenouille maintenant? [Y] Y

         @..@
        (\--/)               plgrenouille 0.6 pour linux
       (.>__<.)
       ^^^  ^^^

gettimeofday failed: Invalid argument at ./plgrenouille.pl line 105.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 plgrenouille-0.6_1-1_all.deb


thething:/tmp# dpkg --force-remove-reinstreq -r plgrenouille-0.6
dpkg - warning, overriding problem because --force enabled:
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
(Reading database ... 31145 files and directories currently installed.)
Removing plgrenouille-0.6 ...
Stopping plgrenouille-0.6: dpkg: error processing plgrenouille-0.6 (--remove):
 subprocess pre-removal script returned error exit status 1
Voulez-vous (re)configurer plgrenouille maintenant? [Y]

         @..@
        (\--/)               plgrenouille 0.6 pour linux
       (.>__<.)
       ^^^  ^^^

gettimeofday failed: Invalid argument at ./plgrenouille.pl line 105.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 plgrenouille-0.6


Le package en lui meme :

thething:/tmp# dpkg -I plgrenouille-0.6_1-1_all.deb
 new debian package, version 2.0.
 size 22888 bytes: control archive= 2295 bytes.
      43 bytes,     2 lines      conffiles
     541 bytes,    14 lines      control
     579 bytes,     8 lines      md5sums
    2174 bytes,    80 lines   *  postinst             #!/bin/sh
    1100 bytes,    44 lines   *  postrm               #!/bin/sh
     846 bytes,    39 lines   *  preinst              #!/bin/sh
    1299 bytes,    49 lines   *  prerm                #!/bin/sh
 Package: plgrenouille-0.6
 Version: 1-1
 Section: net
 Priority: optional
 Architecture: all
 Depends: perl-base (>= 5.004.04), libnet-perl, net-tools, perl5
 Installed-Size: 103
 Maintainer: Pierre Etchemaite <petchema@concept-micro.com>
 Description: "grenouille"-compliant broadband link monitoring client
  plgrenouille is a "grenouille" client for Linux, implemented in Perl.
  This is a daemon that benchmarks broadband links periodically and reports
  results to www.grenouille.com for comparison.
  .
  See http://www.grenouille.com/ for details



Ce qui a ete installe :

thething:/etc/rc2.d# find / -name '*grenouille*' -print
/var/lib/dpkg/info/plgrenouille-0.6.prerm
/var/lib/dpkg/info/plgrenouille-0.6.list
/var/lib/dpkg/info/plgrenouille-0.6.conffiles
/var/lib/dpkg/info/plgrenouille-0.6.md5sums
/var/lib/dpkg/info/plgrenouille-0.6.postinst
/var/lib/dpkg/info/plgrenouille-0.6.postrm
/var/lib/dpkg/info/plgrenouille-0.6.preinst
/var/log/plgrenouille.log
/var/spool/plgrenouille
/etc/init.d/plgrenouille
/etc/grenouillerc
/usr/sbin/plgrenouille.pl
/usr/share/doc/plgrenouille-0.6
/usr/share/man/man1/plgrenouille.1.gz
/usr/share/doc-base/plgrenouille-0.6
find: /proc/31670/fd: No such file or directory



thething:~# apt-cache search plgrenouille
plgrenouille-0.6 - "grenouille"-compliant broadband link monitoring client


thething:~# apt-cache showpkg plgrenouille-0.6
Package: plgrenouille-0.6
Versions:
1-1(/var/lib/dpkg/status)
Reverse Depends:
Dependencies:
1-1 - perl-base (2 5.004.04) libnet-perl (0 (null)) net-tools (0 (null)) perl5 (0 (null))
Provides:
1-1 -
Reverse Provides:


thething:~# apt-get -v
apt 0.5.4 for linux sparc compiled on Aug 19 2001 04:22:59
Supported Modules:
*Ver: Standard .deb
*Pkg:  Debian dpkg interface (Priority 30)
 S.L: 'deb' Standard Debian binary tree
 S.L: 'deb-src' Standard Debian source tree
 Idx: Debian Source Index
 Idx: Debian Package Index
 Idx: Debian dpkg status file



--
mail : c.nath@free.fr




Reply to: