maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   How remove busybox? (https://talk.maemo.org/showthread.php?t=19099)

svs57 2008-04-14 06:38

How remove busybox?
 
I use rootfs on SD.
Do anybody know rigth way to remove busybox and install GNU utilities?

GeneralAntilles 2008-04-14 06:40

Re: How remove busybox?
 
You'd have to set up a chroot. Removing busybox and replacing it with GNUtils will result in an un-bootable system.

qwerty12 2008-04-14 06:41

Re: How remove busybox?
 
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.)

svs57 2008-04-14 06:57

Re: How remove busybox?
 
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

qwerty12 2008-04-14 07:01

Re: How remove busybox?
 
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.

TA-t3 2008-04-14 10:50

Re: How remove busybox?
 
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.

Delfas 2010-12-17 16:21

Re: How remove busybox?
 
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 :o


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 ...


All times are GMT. The time now is 19:52.

vBulletin® Version 3.8.8