On Mar 23, 2004, at 6:46 AM, Guido Lorenz wrote:
-----Forwarded Message-----
From: Guido Lorenz <[EMAIL PROTECTED]>
To: Alexander K.Hansen <[EMAIL PROTECTED]>
Subject: Re: [Fink-users] install / uninstall errors with postgresql-python-py22
Date: 23 Mar 2004 08:45:27 -0300
On Mon, 2004-03-22 at 22:50, Alexander K.Hansen wrote:Commands are executed from within home directory, did you mean that?On Mar 22, 2004, at 7:26 PM, Guido Lorenz wrote: <snip>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
sudo dpkg --remove --force-remove-reinstreq postgresql-python-py22
This should take care of it.
-- Alexander K. Hansen Fink Documentarian Day Job: Levitated Dipole Experiment http://www.psfc.mit.edu/LDX
Thank you for the immediate answer. I tried it out, resulting in the following error:
dpkg --remove --force-remove-reinstreq postgresql-python-py22 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 ... 123911 files and directories currently installed.) Removing 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: error processing postgresql-python-py22 (--remove): subprocess post-removal script returned error exit status 1 Errors were encountered while processing: postgresql-python-py22
Guido Lorenz
Is your terminal window pointed to some strange directory?
-- Alexander K. Hansen Fink Documentarian Day Job: Levitated Dipole Experiment http://www.psfc.mit.edu/LDX
Guido Lorenz
That's indeed what I meant. I was wondering about that "shell-init: could not get current directory: getcwd: cannot access parent directories: Permission denied" error.
-- Alexander Hansen Fink Documentarian [Day Job] Levitated Dipole Experiment http://www.psfc.mit.edu/LDX
------------------------------------------------------- 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
