haoyangw / terminal-ide

Automatically exported from code.google.com/p/terminal-ide
0 stars 0 forks source link

Since v. 2.02 update links to busybox functions are missing #82

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  Update to newest T-IDE with system 2.0
2.  Open terminal
3.  Try to execute touch, less, tar, etc.

What is the expected output? What do you see instead?
Not found is the result.
"busybox tar" will work

What version of the product are you using? On what operating system?
T-IDE 2.02, system 2.0, Android 2.3.4, kernel 2.6.32.9

Please provide any additional information below.

Any other data from my home folder except the system folder and an empty tmp 
folder was deleted with the update. 
The .vimrc, .bashrc, etc. were gone. That's not so bad, cause I haven't made 
any modifications but I had to copy them manually from the system folder to 
make the bash work as expected again.
I think this problem has the same origin as the busybox problem.

Original issue reported on code.google.com by Minecraf...@gmail.com on 5 Mar 2013 at 8:14

GoogleCodeExporter commented 9 years ago
Hmm.. I can't reproduce that error..

I would try reinstalling the app. Select Overwrite All.

When you install the system, even if overwrite is selected, nothing should be 
deleted.

I have made changes to the PATH variable in .init and .bashrc so that might 
have affected something.

Original comment by spartacu...@gmail.com on 22 Mar 2013 at 12:08

GoogleCodeExporter commented 9 years ago
I reinstalled terminal ide. My home dir is still broken and busybox functions 
are still missing!?!? I wrote an update-bb.sh shell-script which updates the 
busybox functions. I took the bashrc and .vim folder from the system folder. 
Now everything works fine for me but I'm afraid that my hone dir breaks again 
after new update. Maybe this has something to do with the lack of disk space on 
my device!?!?

Original comment by Minecraf...@gmail.com on 23 Mar 2013 at 1:11

GoogleCodeExporter commented 9 years ago
How much space is there ?

Original comment by spartacu...@gmail.com on 23 Mar 2013 at 6:45

GoogleCodeExporter commented 9 years ago
Now:
total: 420 MB
used: 387 MB
free: 33 MB

But for the update I made about 200 MB available by uninstalling updates from 
system installed apps (e.g. YouTube, Facebook, Google+, etc.)

Original comment by Minecraf...@gmail.com on 23 Mar 2013 at 6:55

GoogleCodeExporter commented 9 years ago
I am also having this issue. I just tried the reinstall and it's not working. 
Minecraft.. do you still have that update-bb.sh script + can you send me?

Original comment by backun...@gmail.com on 15 Apr 2015 at 1:01

GoogleCodeExporter commented 9 years ago
I do not have the script any more but have a look at the manpage of busybox: 
http://linux.die.net/man/1/busybox

<quote>
For example, entering

ln -s /bin/busybox ls
./ls

will cause BusyBox to behave as 'ls' (if the 'ls' command has been compiled 
into BusyBox). Generally speaking, you should never need to make all these 
links yourself, as the BusyBox build system will do this for you when you run 
the 'make install' command.
</quote>

As Terminal IDE does not seem to include those symlinks when updating you may 
create them manually. You may use the output of busybox --list to create the 
symlinks.

Original comment by Minecraf...@gmail.com on 15 Apr 2015 at 8:13