Dear user list members, I am experiencing some trouble with completely removing the package postgresql-python-py22. (system OS X 10.2.6, beige G3, PostgreSQL 7.3.4-1)
1. Checking the package installation with "apt-get -f install" gives a message about the erroneously installed package, and no other binary package may be installed that way: E: The package postgresql-python-py22 needs to be reinstalled, but I can't find an archive for it. 2. Installing with fink update, results in the following error messages: Preparing to replace postgresql-python-py22 7.3.4-1 (using .../postgresql-python-py22_7.3.4-1_darwin-powerpc.deb) ... Unpacking replacement postgresql-python-py22 ... shell-init: could not get current directory: getcwd: cannot access parent directories: Permission denied droplang: language "plpython" is not installed in database template1 dpkg: warning - old post-removal script returned error exit status 1 dpkg - trying script from the new package instead ... shell-init: could not get current directory: getcwd: cannot access parent directories: Permission denied droplang: language "plpython" is not installed in database template1 dpkg: error processing /sw/fink/dists/unstable/main/binary-darwin-powerpc/database/postgresql-python-py22_7.3.4-1_darwin-powerpc.deb (--install): subprocess new post-removal script returned error exit status 1 shell-init: could not get current directory: getcwd: cannot access parent directories: Permission denied droplang: language "plpython" is not installed in database template1 dpkg: error while cleaning up: subprocess post-removal script returned error exit status 1 Errors were encountered while processing: /sw/fink/dists/unstable/main/binary-darwin-powerpc/database/postgresql-python-py22_7.3.4-1_darwin-powerpc.deb ### execution of dpkg failed, exit code 1 Failed: can't install package postgresql-python-py22-7.3.4-1 3. Trying to remove the package by "fink remove postgresql-python-py22" gives the following message: WARNING: postgresql-python-py22 is not installed, skipping. Nothing removed 4. Nevertheless, removing the package with "dpkg --remove --force-depends postgresql-python-py22", gives: dpkg: error processing postgresql-python-py22 (--remove): Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. Errors were encountered while processing: postgresql-python-py22 Any ideas how to remove definitively the entry from the package database? Thanks for any advice Guido Lorenz ------------------------------------------------------- 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