← Back to team overview

canonical-partner-dev team mailing list archive

[Bug 373941] Re: Unable to uninstall package db2exc

 

I am having somewhat the same problem..
I installed db2 and it failed saying
 Setting up db2exc (9.7.1-3hardy1) ...
 * Setting DB2 library path...                                           [ OK ]
 * Registering installation in the DB2 global registry...                [ OK ]
 * Creating new group and user for Database Administration Server...     [ OK ]
 * Creating Database Administration Server...                                   ERROR: Could not create default instances. Aborting Configuration...
dpkg: error processing db2exc (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 db2exc
E: Sub-process /usr/bin/dpkg returned an error code (1)

And since then i am not able to install/update anything. It always retrns an error "E: db2exc: subprocess installed post-installation script returned error exit status 1".And I am using ubuntu 10.04 lts..32 bit..
I do not know anything about the postrm or postint files and what to do with them.. But a post suggested to do some changes in the /var/lib/dpkg/info/db2exc.postrm file.
https://bugs.launchpad.net/ubuntu/+source/db2exc/+bug/191656
Patch : http://launchpadlibrarian.net/11930183/db2.ubuntu.patch
But nothing happened even after that.
Please suggest something.

-- 
You received this bug notification because you are a member of Canonical
Partner Developers, which is subscribed to db2exc in Ubuntu.
https://bugs.launchpad.net/bugs/373941

Title:
  Unable to uninstall package db2exc