Thank you Martin,
you are absolutely right. I have tried to make a fake .gz file but missed completely the removing of the pid file. Privoxy is running again.
Is my timezone correct now ?
Regards
Le samedi, 31 mai 2003, � 02:08 US/Pacific, Martin Costabel a �crit :


Jean-maurice Le Clech wrote:
Fink purge privoxy failed with this output:
...
Suppression de privoxy ...
rm: /sw/var/log/privoxy/*.gz: No such file or directory
dpkg : erreur de traitement de privoxy (--purge) :
le sous-processus pre-removal script a retourn� une erreur de sortie d'�tat 1
Des erreurs ont �t� rencontr�es pendant l'ex�cution :
privoxy
### execution of dpkg failed, exit code 1
Failed: can't purge package privoxy

I think you found a bug in the privoxy package description. It shouldn't use an unqualified rm command to remove files that may be absent, it should use rm -f. I am CCing the maintainer.


There is another bug in the prermscript that prevents removing privoxy: It tries to kill a process that is probably not running.

What you can do to work around these bugs is the following:

sudo touch /sw/var/log/privoxy/foo.gz
sudo rm /sw/var/run/privoxy.pid
sudo dpkg --purge privoxy

Then you can "fink reinstall" it. Next time you want to remove it, you'll have to jump through the same hoop.

--
Martin
PS. Jean-Maurice: While we are on bugs: your timezone is wrong, your messages are arriving 9 hours in the future.




J-M



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to