View Single Post
Posts: 92 | Thanked: 17 times | Joined on Feb 2010
#384
Originally Posted by mauron85 View Post
Ok. This is the file I have analyzed yesterday. It's pre-remove script, which is invoked just before removing the package itselft. You don't have to be a programmer to understand what's inside. Basicaly it's just check for presence of file defined in $UNINSTALL_NAME variable (the old famous /etc/init.d/imhere-0.3.uninstall file :-)

If it not exists then exit 1 - which means failure = error code(1). You already seen this error: E: Sub-process /usr/bin/dpkg returned an error code (1).
As result uninstallation will fail. If that file exists than packages should be uninstalled normaly (my case).

This was just boring introduction how deb(s) works. I don't understand why you cannot uninstall package the way I mentioned before, anyway you can try at you risk.

Code:
rm /var/lib/dpkg/info/imhere-0.3.prerm
rm /var/lib/dpkg/info/imhere-0.3.postinst
dpkg --purge --force-remove-reinstreq imhere-0.3
Probably it would be good idea to kill process imhere-0.3 before:
Code:
killall imhere-0.3
You are genius, bro mauron85! Thanks a lot - finally got it out my device.
Wonder what's next...any news on a debugged version?
Thanks again and again)))
 

The Following 4 Users Say Thank You to Reeby For This Useful Post: