Notices


Reply
Thread Tools
Posts: 25 | Thanked: 0 times | Joined on Feb 2008 @ Minnesota
#11
$ cat /var/lib/dpkg/info/rootsh.prerm
#!/bin/sh

if [ -x /usr/sbin/gainroot.old ]
mv /usr/sbin/gainroot.old /usr/sbin/gainroot
fi

hope this helps... reason I am removing it I don't want software that I can't easily remove...
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#12
Add "; then" after the ] (without the quotes) then try to uninstall
 

The Following User Says Thank You to MohammadAG For This Useful Post:
Posts: 5,795 | Thanked: 3,151 times | Joined on Feb 2007 @ Agoura Hills Calif
#13
Originally Posted by T-unit View Post
$ cat /var/lib/dpkg/info/rootsh.prerm
#!/bin/sh

if [ -x /usr/sbin/gainroot.old ]
mv /usr/sbin/gainroot.old /usr/sbin/gainroot
fi

hope this helps... reason I am removing it I don't want software that I can't easily remove...
I'm not sure how I would access root without rootsh. I think you must be one of the very few who has ever tried to remove it.
 
Posts: 373 | Thanked: 56 times | Joined on Dec 2005 @ Ottawa, ON
#14
Originally Posted by geneven View Post
I'm not sure how I would access root without rootsh. I think you must be one of the very few who has ever tried to remove it.
There are a couple of ways:
http://wiki.maemo.org/Root_access

I prefer the openssh method but forgot the root password on one of the n900's I take care of. So I installed rootsh temporarily and I ran into the same issue.

Another good reason to remove it again is to avoid leaving passwordless root access around if all you needed root access for was to do something quick and don't normally need root on a regular basis. T-Unit is being very prudent IMHO.

Adding the ; ... to the end of the prerm script did the trick. However, this package should be fixed in the repos as this is a definite bug.
 
Posts: 1 | Thanked: 0 times | Joined on Dec 2010
#15
still cannot uninstall rootsh. Can someone give step by step process of how to uninstall for complete idiots please?
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#16
New version 1.8 which fixing uninstall bug was promoted to Extras-Testing. Vote for fixed version: http://maemo.org/packages/package_in...el/rootsh/1.8/
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#17
This thread is duplicate of http://talk.maemo.org/showthread.php?t=40813
 
Reply

Tags
remove

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:11.