Vous n'êtes pas identifié(e).
Pages : 1
Bonjour voila j'ain soucis avec proftpd sur un debianx64
Je n'arrive pas à le supprimer.
Voila se que cela me marque quand j'essaye de le désinstaller:
""""Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
proftpd proftpd-common
0 upgraded, 0 newly installed, 2 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 1171kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 17612 files and directories currently installed.)
Removing proftpd-common ...
Removing proftpd ...
invoke-rc.d: unknown initscript, /etc/init.d/proftpd not found.
dpkg: error processing proftpd (--remove):
subprocess pre-removal script returned error exit status 100
update-rc.d: /etc/init.d/proftpd: file does not exist
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
proftpd
E: Sub-process /usr/bin/dpkg returned an error code (1)"""""""
Alors j'ai essayer pas de mal chose mais je coince grave!
j'ai essayer ca aussi:
apt-get remove --purge proftpd
apt-get install -f
# dpkg --configure -a
# apt-get dist-upgrade
# apt-get clean
# apt-get install proftpd
apt-get install --reinstall proftpd
et en dernier j'ai essayer ca aussi
j'ai essayer de chnager le debut du script set -e par set -x /var/lib/dpkg/info/proftpd.postrm
mais le soucis c'est que dans se scripte ca commence pas commence pas comme ca chez moi.
Quelqu'un aurais une idée car la je flenche.
merci
Hors ligne
Deux choses à te proposer :
touch /etc/init.d/proftpd && apt-get remove proftpd
sinon méthode bourrine :
Faire une sauvegarde de /var/lib/dpkg/available
Editer ce fichier et supprimer toute la partie proftpd (c'est la base de données des packages installés)
et supprimer proftpd à la main
---
Malekal_morte
- http://www.malekal.com -
Hors ligne
Ou peut-être essayer
# dpkg -C
pour un diagnostique de ce qui peut coincer.
Hors ligne
Merci pour vos aides!
Je suis un noob dans le monde de linux c'est presque une drogue non?
J'adore!
Sinon pour mon soucis alors j'ai essayer ça: """touch /etc/init.d/proftpd && apt-get remove proftpd""""
et voila la réponse :
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
proftpd
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 799kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 17620 files and directories currently installed.)
Removing proftpd ...
invoke-rc.d: unknown initscript, /etc/init.d/proftpd not found.
dpkg: error processing proftpd (--remove):
subprocess pre-removal script returned error exit status 100
update-rc.d: /etc/init.d/proftpd: file does not exist
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
proftpd
E: Sub-process /usr/bin/dpkg returned an error code (1)
Par contre pour la commande suivante dpkg -C
j'ai cette réponse ca veux dire quoi?
The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
proftpd Versatile, virtual-hosting FTP daemon
Et quand je fais ca dpkg --configure proftpd j'ai cette reponse
dpkg: dependency problems prevent configuration of proftpd:
proftpd depends on proftpd-common (= 1.2.10-15sarge1); however:
Package proftpd-common is not installed.
dpkg: error processing proftpd (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
proftpd
Merci de m'aider.
Hors ligne
et si tu tentes un apt-get install proftpd-common && dpkg --configure proftpd && apt-get remove proftpd
ça donne quoi ?
---
Malekal_morte
- http://www.malekal.com -
Hors ligne
Ca donne ca:
Reading Package Lists... Done
Building Dependency Tree... Done
proftpd-common is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up proftpd (1.2.10-15sarge1) ...
update-rc.d: /etc/init.d/proftpd: file does not exist
dpkg: error processing proftpd (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
proftpd
E: Sub-process /usr/bin/dpkg returned an error code (1)
Encore merci pour vos aides.
Hors ligne
Et pourquoi pas mettre un exit 0 dans le script /var/lib/dpkg/info/proftpd.postrm ?
LeDub qui trouve très sympa la possibilité de faire un "message rapide" !!!
« Ne doutez pas qu'un petit nombre de personnes déterminées puisse changer le monde. En fait, ça a même toujours marché comme ça.»
Margaret Mead
---
VeoSearch est un moteur de recherche solidaire qui permet de financer des projets associatifs de développement durable par vos recherches Internet. Utilisez-le !!!
Hors ligne
Ouai mais ça ferais quoi de special?
Hors ligne
Ouais mais ça ferait quoi de spécial?
"exit 0" est la sortie sans erreur d'un script donc de ton proftpd.postrm !!!
LeDub qui devrait plutôt ranger son bureau !!!!
« Ne doutez pas qu'un petit nombre de personnes déterminées puisse changer le monde. En fait, ça a même toujours marché comme ça.»
Margaret Mead
---
VeoSearch est un moteur de recherche solidaire qui permet de financer des projets associatifs de développement durable par vos recherches Internet. Utilisez-le !!!
Hors ligne
Pages : 1