![]() |
Re: [Announce] I am here - Request GPS position and more with SMS
Thanks mauron85!
I just put these lines in xterm, right? touch /etc/init.d/imhere-0.3.uninstall apt-get remove --purge imhere-0.3 And..is the name "version sensitive"? I mean, I've got 0.3.1 version. |
Re: [Announce] I am here - Request GPS position and more with SMS
Actually I analyzed imhere-0.3_0.3-1maemo0_armel.deb, which I guess is version 0.3.1 (as name suggest).
I've updated previous post for uninstall instructions (just added killall command). |
Re: [Announce] I am here - Request GPS position and more with SMS
Thanks for your help, mauron85!
I've installed it from the app manager. Here's the result I got when I did the commands as per your post: Nokia-N900-42-11:~# apt-get remove --purge imhere-0.3 Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: imhere-0.3* 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded. After this operation, 291kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 29123 files and directories currently installed.) Removing imhere-0.3 ... dpkg: error processing imhere-0.3 (--purge): subprocess pre-removal script returned error exit status 1 Errors were encountered while processing: imhere-0.3 E: Sub-process /usr/bin/dpkg returned an error code (1) Nokia-N900-42-11:~# and this is what I got for dpkg - l imhere* ~ $ dpkg -l imhere* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ pi imhere-0.3 0.3.1-1maemo0 A customizable application, that can be cont ~ $ |
Re: [Announce] I am here - Request GPS position and more with SMS
There are two file in repository:
http://repository.maemo.org/extras-d.../i/imhere-0.3/ I've analyzed imhere-0.3_0.3-1maemo0_armel.deb (package version: 0.3-1maemo0), but as use see in dpkg output you have imhere-0.3_0.3.1-1maemo0_armel.deb (package version: 0.3.1-1maemo0). According to dpkg output the package name is imhere-0.3 for both version, which means the apt-get remove imhere-0.3 will work no matter which version of those you have. Edit: The uninstallation procedure should be same for both version as they are checking for presence of same /etc/init.d/imhere-0.3.uninstall file. So again invoke following commands: Code:
killall imhere-0.3 |
Re: [Announce] I am here - Request GPS position and more with SMS
Quote:
Also tried to update it (found it hanging in the app manager updates) and to repeat the steps all over again - same result. Strange(( Think a downgrade might help? |
Re: [Announce] I am here - Request GPS position and more with SMS
I hope someone can help ...
I set this app up and set the first password to be password1 the second one to be password2 the third one to be password3 i then sent a message saying password1 the config menu appeared again and i clicked through it i then send another message saying password2 to activate sms only then i sent password1 then i sent config (config menu did not appear) then i sent numerous password1, password2 and password3 and i cant get the config menu up and i cant un install from menu (yes i did untick the box for it in config) i want to get the config box back up, tick the box so i can uninstall then try again one day when i have more time ....any ideas anyone? |
Re: [Announce] I am here - Request GPS position and more with SMS
Quote:
I don't know ho to help you,, you need the maintainer (; |
Re: [Announce] I am here - Request GPS position and more with SMS
Reeby you can also try:
Code:
dpkg --purge --force-remove-reinstreq imhere-0.3 Before proceeding with dpkg remove/purge post here result of: Code:
cat /var/lib/dpkg/info/imhere-0.3.prerm Code:
rm /var/lib/dpkg/info/imhere-0.3.prerm |
Re: [Announce] I am here - Request GPS position and more with SMS
mauron85, here is the result of the command (I'll wait for your reply to go any furher. Thanks again for your help!)
Nokia-N900-42-11:~# cat /var/lib/dpkg/info/imhere-0.3.prerm #!/bin/sh # prerm script for imhere # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <prerm> `remove' # * <old-prerm> `upgrade' <new-version> # * <new-prerm> `failed-upgrade' <old-version> # * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> # * <deconfigured's-prerm> `deconfigure' `in-favour' # <package-being-installed> <version> `removing' # <conflicting-package> <version> # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in upgrade|remove|failed-upgrade|deconfigure) UNINSTALL_NAME='/etc/init.d/imhere-0.3.uninstall' if [ -f $UNINSTALL_NAME ]; then PROGRAM_NAME='/usr/bin/imhere-0.3' ps ax | grep -v grep | grep $PROGRAM_NAME > /dev/null if [ $? -eq 0 ]; then killall 'imhere-0.3' fi else echo "remove/upgrade not enabled \`$1'" >&2 exit 1 fi ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. exit 0 Nokia-N900-42-11:~# |
Re: [Announce] I am here - Request GPS position and more with SMS
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 Code:
killall imhere-0.3 |
All times are GMT. The time now is 07:29. |
vBulletin® Version 3.8.8