OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: Pyrates on October 14, 2004, 02:14:24 pm

Title: Upgrading busybox in 3.5.1
Post by: Pyrates on October 14, 2004, 02:14:24 pm
Hi all!

I'm trying to keep my 3.5.1 up to date, using "ipkg upgrade". Every time, it wants to upgrade busybox (is probably right about that), but I get the error messages:

Quote
root@collie:~# ipkg upgrade
Upgrading busybox on root from 1.00-rc3-r2 to 1.00-rc3-r10...
Downloading http://openzaurus.org/official/unstable/3....rc3-r10_arm.ipk (http://openzaurus.org/official/unstable/3.5.1/upgrades/busybox_1.00-rc3-r10_arm.ipk)
Package busybox wants to install file /sbin/lsmod
        But that file is already provided by package modutils
Package busybox wants to install file /sbin/rmmod
        But that file is already provided by package modutils
Package busybox wants to install file /sbin/modprobe
        But that file is already provided by package modutils
Package busybox wants to install file /sbin/makedevs
        But that file is already provided by package makedevs
Package busybox wants to install file /sbin/insmod
        But that file is already provided by package modutils
Successfully done.

What should I do about that? I don't think I should "ipkg remove modutils", so... dunno, anybody knows about that?

Cheers
Philipp
Title: Upgrading busybox in 3.5.1
Post by: papercrane on October 15, 2004, 06:17:18 pm
I tried forcing the upgrade and Opie no longer booted. Maybe I just had to reboot again, not sure. Anyway, I'd say wait for a better answer before trying this upgrade.
Title: Upgrading busybox in 3.5.1
Post by: Hrw on October 15, 2004, 06:30:20 pm
ipkg -force-overwrite install busybox
ipkg -force-overwrite install makedevs modutils

fixed in OE
Title: Upgrading busybox in 3.5.1
Post by: markk on October 21, 2004, 06:35:20 am
I tried Hrw's suggestion to -force-overwrite and the Zaurus failed to wake from suspend. Also failed to reboot - one message I saw go past was a usage error regarding makedevs.

So I'll be sticking with busybox 1.00-rc3-r2 for the moment. Anyone actually succeeded with this upgrade?
Title: Upgrading busybox in 3.5.1
Post by: Mickeyl on October 21, 2004, 01:05:40 pm
Generally I strongly advise against using ipkg to upgrade busybox. Better extract and overwrite it manually.
Title: Upgrading busybox in 3.5.1
Post by: zenyatta on October 21, 2004, 08:51:33 pm
I had to re-flash 3.5.1 several times and I developed this busybox-upgrade script:

Code: [Select]
ipkg update
ipkg upgrade --force-overwrite
ipkg remove modutils
ipkg install --force-overwrite modutils
ipkg remove makedevs
ipkg install --force-overwrite makedevs

Works beautifully. One thing to note is that the old busybox has the command "wget" broken which makes FTP feeds inaccessible, so I think upgrading is quite worth it.

z.
Title: Upgrading busybox in 3.5.1
Post by: papercrane on October 22, 2004, 03:08:48 pm
Thanks much, that fixed it.
Title: Upgrading busybox in 3.5.1
Post by: markk on October 26, 2004, 09:26:05 am
Quote
Generally I strongly advise against using ipkg to upgrade busybox. Better extract and overwrite it manually.
Mickey, how exactly do I do this? I've done:
Code: [Select]
ar xvfz busybox_1.00-rc3-r10_arm.ipk
tar xvfz data.tar.gz
But how do I overwrite the extracted busybox binary to the Zaurus? I've tried scp but just get:
Code: [Select]
$ scp busybox root@zaurus:/bin/
scp: /bin//busybox: Text file busy

Thanks for any help  
Title: Upgrading busybox in 3.5.1
Post by: Mickeyl on October 26, 2004, 10:33:00 am
Either you do the extraction right on your Zaurus or you copy it into /tmp and then cp directly on the Z.
Title: Upgrading busybox in 3.5.1
Post by: markk on October 26, 2004, 11:30:16 am
Thanks Mickey. cp didn't work, but untarring on the zaurus did.