Author Topic: Upgrading busybox in 3.5.1  (Read 4024 times)

Pyrates

  • Full Member
  • ***
  • Posts: 198
    • View Profile
    • http://www.pipsfrank.de
Upgrading busybox in 3.5.1
« 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
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
\" ... and the Vogon will do things to you that you wish you\'d never been born, or, if you\'re a clearer minded thinker, that the Vogon had never been born.\"

papercrane

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • http://reversefold.com
Upgrading busybox in 3.5.1
« Reply #1 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.

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Upgrading busybox in 3.5.1
« Reply #2 on: October 15, 2004, 06:30:20 pm »
ipkg -force-overwrite install busybox
ipkg -force-overwrite install makedevs modutils

fixed in OE
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

markk

  • Newbie
  • *
  • Posts: 10
    • View Profile
Upgrading busybox in 3.5.1
« Reply #3 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?
SL-5500 | OE selfbuilt GPE (64/0) | 128MB Impact SD | 128MB Lexar CF | Linksys WCF12 Wifi CF

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Upgrading busybox in 3.5.1
« Reply #4 on: October 21, 2004, 01:05:40 pm »
Generally I strongly advise against using ipkg to upgrade busybox. Better extract and overwrite it manually.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Upgrading busybox in 3.5.1
« Reply #5 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.
« Last Edit: October 21, 2004, 08:53:35 pm by zenyatta »
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

papercrane

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • http://reversefold.com
Upgrading busybox in 3.5.1
« Reply #6 on: October 22, 2004, 03:08:48 pm »
Thanks much, that fixed it.

markk

  • Newbie
  • *
  • Posts: 10
    • View Profile
Upgrading busybox in 3.5.1
« Reply #7 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  
SL-5500 | OE selfbuilt GPE (64/0) | 128MB Impact SD | 128MB Lexar CF | Linksys WCF12 Wifi CF

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Upgrading busybox in 3.5.1
« Reply #8 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.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

markk

  • Newbie
  • *
  • Posts: 10
    • View Profile
Upgrading busybox in 3.5.1
« Reply #9 on: October 26, 2004, 11:30:16 am »
Thanks Mickey. cp didn't work, but untarring on the zaurus did.
SL-5500 | OE selfbuilt GPE (64/0) | 128MB Impact SD | 128MB Lexar CF | Linksys WCF12 Wifi CF