1
Yleistä keskustelua / Vs: db2exc
« : 30.11.09 - klo:17.55 »
Gutsya ja Hardya vaivannut ikävä ongelma rikkinäisestä db2exc. Ratkaisu löydety!
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!
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!