|
2010-05-07
, 17:04
|
Posts: 92 |
Thanked: 17 times |
Joined on Feb 2010
|
#382
|
|
2010-05-07
, 17:33
|
Posts: 92 |
Thanked: 17 times |
Joined on Feb 2010
|
#384
|
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
The Following 4 Users Say Thank You to Reeby For This Useful Post: | ||
|
2010-05-10
, 20:02
|
|
Posts: 844 |
Thanked: 521 times |
Joined on Jan 2009
@ UK southampton
|
#385
|
|
2010-05-10
, 23:41
|
Posts: 9 |
Thanked: 2 times |
Joined on Mar 2010
@ Mexico
|
#386
|
|
2010-05-11
, 05:30
|
Posts: 92 |
Thanked: 17 times |
Joined on Feb 2010
|
#387
|
|
2010-05-11
, 08:46
|
Posts: 156 |
Thanked: 18 times |
Joined on Feb 2010
|
#388
|
|
2010-05-11
, 09:27
|
Posts: 156 |
Thanked: 18 times |
Joined on Feb 2010
|
#389
|
|
2010-05-11
, 17:06
|
Posts: 67 |
Thanked: 11 times |
Joined on Mar 2010
|
#390
|
That finally worked, you are My-Hero-For-The-Day!
At least for today.