Active Topics

 


Reply
Thread Tools
Posts: 207 | Thanked: 31 times | Joined on Apr 2008
#1
I use rootfs on SD.
Do anybody know rigth way to remove busybox and install GNU utilities?
 
GeneralAntilles's Avatar
Posts: 5,478 | Thanked: 5,222 times | Joined on Jan 2006 @ St. Petersburg, FL
#2
You'd have to set up a chroot. Removing busybox and replacing it with GNUtils will result in an un-bootable system.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#3
I installed coreutils on my N800 but it was a bit buggy (seg faults with mv and ls -la)

But anyway, first you will want to install bash:
http://www.nitapps.com/

If you really do want coreutils despite the bug I said above, reply again.

(BTW, keep busybox installed. Just replace it with coreutils & bash. I've managed to install coreutils on my N800 fine but ended up reverting back to busybox. Coreutils has bugs.)
 
Posts: 207 | Thanked: 31 times | Joined on Apr 2008
#4
When i try install coreutils i got msg:
Building dependency tree... Done
The following extra packages will be installed:
libacl1 libattr1
The following packages will be REMOVED:
bluez-utils busybox dnsmasq hal ke-recv libconbtui0 lsb-base netbase
omweather osso-af osso-applet-device osso-applet-languageregional
osso-applet-location osso-applet-memory osso-bluez-compat osso-connectivity
osso-connectivity-ui osso-connectivity-ui-btsettings
osso-connectivity-ui-conndlgs osso-connectivity-ui-connmgr
osso-connectivity-ui-gwsettings osso-connectivity-ui-gwwizard
osso-connectivity-ui-iapsettings osso-connectivity-ui-statusbar osso-core
osso-core-busybox osso-dsm osso-filemanager osso-ic osso-startup-wizard ppp
The following NEW packages will be installed:
coreutils libacl1 libattr1
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
busybox
0 upgraded, 3 newly installed, 31 to remove and 3 not upgraded.
Need to get 2629kB of archives.
After unpacking 7000kB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
?]
----------------------------------------------------------------------------------------------------
The same problem with bash

Last edited by svs57; 2008-04-14 at 07:52.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#5
Yes, you need to remove the conflict before you can install.

Open /var/lib/dpkg/status with leafpad/vi whatever and search for coreutils. Find the busybox section and where it says coreutils for conflicts and replaces, remove the word coreutils.

Save the file.

apt-get install libacl1 libattr1

You need to find a deb file for coreutils. I used one from maemo repo.

dpkg -i --force-all coreutils<versionetc>.deb

The bash of that website works fine.

Last edited by qwerty12; 2008-04-14 at 09:55.
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#6
The easiest way may be to just modify the coreutils package to install its binaries in /usr/local/bin/, then there wont' be any conflict. Then you modify your $PATH in .profile or something and off you go. That's how I have manually installed a few GNU alternatives to busybox.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 

The Following User Says Thank You to TA-t3 For This Useful Post:
Posts: 2 | Thanked: 1 time | Joined on Dec 2010
#7
To get rid of the annoyances of busybox without removing it altogether.
For n900 at this time [PR1.3], become root, then:

apt-get install bash3
apt-get install coreutils-gnu
echo 'PATH=/usr/bin/gnu:$PATH' >>/root/.profile


If you're normal perhaps you only need the last line above


There are several other -gnu packages like findutils-gnu tar-gnu coreutils-gnu diffutils-gnu sed-gnu grep-gnu as well as mmv that would make your tablet much more gnuish ...

Last edited by Delfas; 2010-12-17 at 16:28.
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:56.