![]() |
2010-09-01
, 16:23
|
Posts: 4 |
Thanked: 1 time |
Joined on Jul 2010
@ Greece, Thessaloniki
|
#2
|
![]() |
2010-09-01
, 16:35
|
Posts: 889 |
Thanked: 537 times |
Joined on Mar 2010
@ scotland
|
#3
|
![]() |
2010-09-01
, 16:47
|
Posts: 4 |
Thanked: 1 time |
Joined on Jul 2010
@ Greece, Thessaloniki
|
#4
|
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.
Probably it would be good idea to kill process imhere-0.3 before: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
Code:killall imhere-0.3
![]() |
2010-09-01
, 17:28
|
Posts: 21 |
Thanked: 0 times |
Joined on Nov 2009
|
#5
|
Done some research (it's wise to use the search function or google)
From: http://talk.maemo.org/showpost.php?p...&postcount=384
run the 4 commands on the quote above, after you become a root.
I recently ordered a new simcard, What i didnt think of was that I had the "I'm here" application installed which will notify me if the phone get stolen....
However now to the problem.. How do I make it accept my new simcard? What was the default password off the application?
Ive tried uninstalling by running
killall imhere-0.3
touch /etc/init.d/imhere-0.3.uninstall
apt-get remove --purge imhere-0.3
but after I run killall imhere-0.3 i get "cannot kill pid 1209: Operation not permitted"
Any idea what to do to fix it ? Either by uninstalling and installing the app again or what is there to do?