![]() |
howto get rid of a broken program
Ok I should know how to do this, but. Using Ubuntu Jaunty. I have tried using dpkg --purge no joy :(
Code:
root@tux:~/ftp/pub/linux/multimedia/dj/campcaster# /usr/share/mc/extfs/deb run /root/ftp/pub/linux/multimedia/dj/campcaster/campcaster-station_1.4.0-3beta3_i386.deb INSTALL |
The long answer is to try to debug post-install and/or pre-remove scripts which can be found in /var/lib/dpkg/info.
Eg. campcaster-studio.prerm and campcaster-studio.postinst The quick and dirty option is: Code:
dpkg --purge --force-remove-reinstreq campcaster-studio Evo2. PS. Nine times out of ten these problems happen because of very badly made packages. Where did you get this one from? |
Quote:
|
Quote:
|
Quote:
Code:
root@tux:~# dpkg --purge --force-remove-reinstreq campcaster-libs Quote:
oh can give me clues as to how debug the scripts in .../info |
It seems to be failing because postresql is not installed. It is probably trying to clean up tables that it may have made inside the db, and bailing out when it can't.
If is a shell script, put "set -x" near the top line of the postrm script. Then run "dpkg --purge --force-remove-reinstreq campcaster-station" again. This will make the script echo every line to the terminal, from that you should be able to work out where the problem is. If you really can't work out what is going on, you can put "exit 0" near the top of the script to force it to exit cleanly. However in this case, whatever cleanup tasks the script was trying to perform will not be done. EVo2. |
Quote:
You taught me something!! Cheers your thumbs up/thanks is comming after this post. |
All times are GMT -5. The time now is 08:39 PM. |