Here's how I have to manually remove db2exc 9.5 from gutsy (and when I use it with hardy too) - I can't believe i'm still having problems with this.
sudo aptitude remove db2exc (package cannot be removed, it is broken) sudo vim /var/lib/dpkg/info/db2exc.postrm comment out the following lines as shown: # rm $instDir/cfg/installcopy.cfg > /dev/null 2>&1 # rm $instDir/default.env > /dev/null 2>&1 # rm $instDir/profiles.reg > /dev/null 2>&1 # rmdir $instDir/cfg > /dev/null 2>&1 # rmdir $instDir > /dev/null 2>&1 # rmdir /opt/ibm/db2exc > /dev/null 2>&1 # /usr/sbin/update-rc.d -f db2 remove > /dev/null 2>&1 # rm /etc/init.d/db2 > /dev/null 2>&1 then... sudo aptitude remove db2exc (now it works). Now delete the db2inst1, dasadm1, and db2fenc1 users from /home and 'userdel' them. Then reinstall at your leisure. What a pain! -- postrm script fails https://bugs.launchpad.net/bugs/191656 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
