![]() |
Problem with path removing apps in root session
1 Attachment(s)
Hi guys, during a root terminal session to remove tweaker app, I had problem with path. Please see my screenshot to understand.
How can I solve it? Thank you :) |
Re: Problem with path removing apps in root session
what does "echo $PATH" as root say?
did you try to just reopen a shell as root, maybe it was just your current session that messed up $PATH. root's path gets set via the file "/root/.profile". you should have these two lines there: Code:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 |
Re: Problem with path removing apps in root session
How does apt-get purge differ from a normal apt-get remove?
|
Re: Problem with path removing apps in root session
Quote:
without --purge, package-specific stuff under f.ex. /etc will not be deleted. |
Re: Problem with path removing apps in root session
@SubCore:
thank you for your reply :) Code:
$ echo $PATHIf your string is a complete tipical root path I append it to my .profile ;) Please confirm me it Thank you |
Re: Problem with path removing apps in root session
Quote:
although for a user it's the correct path :) and yes, the lines i quoted came directly from my /root/.profile, which has been unaltered. |
Re: Problem with path removing apps in root session
Here's the full content of /root/.profile
Code:
# ~/.profile: executed by Bourne-compatible login shells. |
Re: Problem with path removing apps in root session
how do you add preenv. iv tried this code
sudo gainroot apt-get install preenv when i hit enter, it comes up E: could not find package preenv. help regards frozen |
Re: Problem with path removing apps in root session
Quote:
|
Re: Problem with path removing apps in root session
Quote:
;) |
Re: Problem with path removing apps in root session
Quote:
|
Re: Problem with path removing apps in root session
Quote:
I'm not teaching you how to enable that repo since you only want preenv(it's for your own good. Users who doesn't know how to enable that repo is best to stay away from it) so.... Hotlink: Warning: Installing extras-devel apps/games is extremely dangerous to your device's health. :p http://repository.maemo.org/extras-d....1.1_armel.deb |
| All times are GMT. The time now is 05:11. |
vBulletin® Version 3.8.8