I tried to install it via Xterm and an error occurs, whether it is still something wrong?
~ $ sudo gainroot
Root shell enabled
BusyBox v1.18.5 (Debian 1.18.5power3) built-in shell (ash)
Enter 'help' for a list of built-in commands.
/home/user # cd MyDocs
/home/user/MyDocs # dpkg -i callerx_0.97.0_armel.deb
Selecting previously deselected package callerx.
(Reading database ... 30217 files and directories currently installed.)
Preparing to replace callerx 0.97.0 (using callerx_0.97.0_armel.deb) ...
Stopping: Callerx Daemon
process 3441: arguments to dbus_message_set_destination() were incorrect, assertion "destination == NULL || _dbus_check_is_valid_bus_name (destination)" failed in file dbus-message.c line 2895.
This is normally a bug in some application using the D-Bus library.
Not enough memory
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Stopping: Callerx Daemon
process 3444: arguments to dbus_message_set_destination() were incorrect, assertion "destination == NULL || _dbus_check_is_valid_bus_name (destination)" failed in file dbus-message.c line 2895.
This is normally a bug in some application using the D-Bus library.
Not enough memory
dpkg: error processing callerx_0.97.0_armel.deb (--install):
subprocess new pre-removal script returned error exit status 1
sh: invalid number 's99'
sh: invalid number 'k10'
System startup links for /etc/init.d/callerx already exist.
Starting: Callerx Daemon
/etc/init.d/callerx: line 41: callerxd: not found
Errors were encountered while processing:
callerx_0.97.0_armel.deb
/home/user/MyDocs #
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:~#
I have a feature suggestion: add the possibility to include a comment or name besides a blocked number, that way it will be easier to identify the entries in a blocked list and re enable (if needed) any of them.