View Single Post
pedrocoba's Avatar
Posts: 118 | Thanked: 7 times | Joined on Jan 2011 @ indonesia
#16
Originally Posted by admiral0 View Post
@pedro

edit /var/lib/dpkg/info/callerx.prerm and /var/lib/dpkg/info/callerx.prerm to look like

Code:
#!/bin/sh
echo "Hi"
Then try to
Code:
dpkg -r callerx
Did i say that i hate debs? No option to disable scriptlets....
Still can not uninstall? I've followed your way, what might be there another way?

~ $ root


BusyBox v1.18.5 (Debian 1.18.5power3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# dpkg -r callerx
dpkg: error processing callerx (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
callerx
Nokia-N900:~#