Try using the --force-remove-reinstreq flag too:

(from 'man dpkg', under --force)

remove-reinstreq: Remove a package, even if it's broken and
marked to require reinstallation. This may, for example, cause
parts of the package to remain on the system, which will then be
forgotten by dpkg.


On Apr 16, 2004, at 10:43 AM, Kow Kuroda wrote:

Hi,

I'm having a trouble with broken PostgreSQL packages: I can't purge or remove postgresql-python-py23 and postgresql-tcl for PostgreSQQ 7.3.4-2 with 1.10.9 and fink 0.7.0.cvs (package manager 0.20.0). The following is the error message I get after having tried to purge the pacakges.

Any suggestions?

Thanks in advance

Kow

$ sudo dpkg -P -a --pending
dpkg: error processing postgresql-python-py23 (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
(Reading database ... 106195 files and directories currently installed.)
Removing postgresql-tcl ...
dpkg - warning: while removing postgresql-tcl, directory `/sw/lib/postgresql' not empty so not removed.
droplang: language "pltcl" is not installed in database template1
dpkg: error processing postgresql-tcl (--purge):
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
postgresql-python-py23
postgresql-tcl




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

--
Alexander K. Hansen
Associate Research Scientist, Columbia University
visiting MIT Plasma Science and Fusion Center
Levitated Dipole Experiment
175 Albany Street, NW17-219
Cambridge, MA  02139-4213



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to