Author Topic: Package Installation Broke Hentges  (Read 2351 times)

Storm

  • Full Member
  • ***
  • Posts: 156
    • View Profile
    • http://
Package Installation Broke Hentges
« on: September 10, 2005, 01:47:50 am »
Hi,

I just did a couple of package upgrades/installs and broke a few things. First thing I did was an ipkg upgrade yesterday, and it installed (among other things) ipkg-collateral...Which overwrote my /etc/ipkg.conf. So I had to regenerate it.

Tonight, I decided to install coreutils so I had access to things like locate. Once I did that, it broke pretty much everything, because it could not find [, test, and a bunch of other things. It was a nice catch-22, since I couldn't do an ipkg-link because of this, but packages wouldn't work until I did an ipkg link.

What is the best way to install coreutils? Install directly to ram? Don't install at all? Also, I reflashed, and now, opening a Konsole immediately closes again.

Thanks,
--Storm
Zaurus SL-5500/Hentges OZ 3.5.4.1
Ambicom WL1100-CF wireless card
Desktop: Debian/GNU Linux (unstable)

tombraider

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://atoah.com/zaurus/
Package Installation Broke Hentges
« Reply #1 on: September 10, 2005, 07:33:02 am »
Quote
Hi,

I just did a couple of package upgrades/installs and broke a few things. First thing I did was an ipkg upgrade yesterday, and it installed (among other things) ipkg-collateral...Which overwrote my /etc/ipkg.conf. So I had to regenerate it.

Tonight, I decided to install coreutils so I had access to things like locate. Once I did that, it broke pretty much everything, because it could not find [, test, and a bunch of other things. It was a nice catch-22, since I couldn't do an ipkg-link because of this, but packages wouldn't work until I did an ipkg link.

What is the best way to install coreutils? Install directly to ram? Don't install at all? Also, I reflashed, and now, opening a Konsole immediately closes again.

Thanks,
--Storm
[div align=\"right\"][a href=\"index.php?act=findpost&pid=95274\"][{POST_SNAPBACK}][/a][/div]

I installed Keyring and was trying to get it to work when I discovered my Opera didn't work anymore and my IQnotes "couldn't be found"...then...my Sandisk ConnectPlus card stopped working.  I gave up and have done a new Hentges install with the latest available files and my wifi card STILL doesn't work.

Seriously,  I'm about to give up on OZ.  I have to buy a new wifi card so I'll get one compatible with Sharp roms and install 3.13 on my backup Zaurus.  Sigh.
Learning Chinese?  Have a Mac?  Try Hanzi Master: Download for free

Tombraider's Zaurus C1000 Tips Web Site

SL-3200 from Conics.net: Sharp ROM| SL-C1000: Pdaxrom Beta 3

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Package Installation Broke Hentges
« Reply #2 on: September 10, 2005, 11:43:22 am »
Quote
Tonight, I decided to install coreutils so I had access to things like locate. Once I did that, it broke pretty much everything, because it could not find [, test, and a bunch of other things. It was a nice catch-22, since I couldn't do an ipkg-link because of this, but packages wouldn't work until I did an ipkg link.

Is coreutils a special build of busybox? This loss of basic commands sounds like an attempted busybox upgrade. If that is the case, I think there are a few posts around saying how to do that.

Quote
I installed Keyring and was trying to get it to work when I discovered my Opera didn't work anymore and my IQnotes "couldn't be found"...then...my Sandisk ConnectPlus card stopped working. I gave up and have done a new Hentges install with the latest available files and my wifi card STILL doesn't work.

Okay, so give us some info and we'll see if we can sort it out - the various cardctl outputs (status, infom, etc.), the output of lsmod with the card inserted and dmesg after the card has been inserted.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Storm

  • Full Member
  • ***
  • Posts: 156
    • View Profile
    • http://
Package Installation Broke Hentges
« Reply #3 on: September 12, 2005, 02:55:24 pm »
Quote
Is coreutils a special build of busybox? This loss of basic commands sounds like an attempted busybox upgrade. If that is the case, I think there are a few posts around saying how to do that.

Coreutils is converted from the Debian package and contains verions basic utilities:

Code: [Select]
/.
/bin
/bin/cat
/bin/chgrp
/bin/chmod
/bin/chown
/bin/cp
/bin/date
/bin/dd
/bin/df
/bin/dir
/bin/echo
/bin/false
/bin/ln
/bin/ls
/bin/mkdir
/bin/mknod
/bin/mv
/bin/pwd
/bin/readlink
/bin/rm
/bin/rmdir
/bin/vdir
/bin/sleep
/bin/stty
/bin/sync
/bin/touch
/bin/true
/bin/uname
/usr/bin/dircolors
/usr/bin/du
/usr/bin/install
/usr/bin/link
/usr/bin/mkfifo
/usr/bin/nohup
/usr/bin/shred
/usr/bin/stat
/usr/bin/unlink
/usr/bin/cksum
/usr/bin/comm
/usr/bin/csplit
/usr/bin/cut
/usr/bin/expand
/usr/bin/fmt
/usr/bin/fold
/usr/bin/head
/usr/bin/join
/usr/bin/nl
/usr/bin/od
/usr/bin/paste
/usr/bin/pr
/usr/bin/ptx
/usr/bin/sha1sum
/usr/bin/sort
/usr/bin/split
/usr/bin/sum
/usr/bin/tac
/usr/bin/tail
/usr/bin/tr
/usr/bin/tsort
/usr/bin/unexpand
/usr/bin/uniq
/usr/bin/wc
/usr/bin/basename
/usr/bin/dirname
/usr/bin/env
/usr/bin/expr
/usr/bin/factor
/usr/bin/id
/usr/bin/logname
/usr/bin/pathchk
/usr/bin/printenv
/usr/bin/printf
/usr/bin/seq
/usr/bin/tee
/usr/bin/test
/usr/bin/tty
/usr/bin/whoami
/usr/bin/yes
/usr/bin/hostid
/usr/bin/nice
/usr/bin/pinky
/usr/bin/users
/usr/bin/who
/usr/bin/groups
/usr/sbin
/usr/sbin/chroot
/usr/bin/touch
and a bunch of /usr/share/locale files

The problem, as far as I have been able to reconstruct, is that I installed coreutils to the sd card on Hentges/OZ, but I was unable to do an ipkg-link or anything else because it couldn't find /bin/[ or /bin/test. This caused any script that did any kind of comparison (all of the startup scripts, for example) to fail. Bootup was impossible, and I even tried to link and copy /media/card/packages/bin/[ and test to /bin. (BTW, how do you make a [ on the flip-down keyboard?)  The point that I don't understand is that the existing /bin/[ should have still pointed to busybox until the ipkg-link was complete. The link was broken immediately after the ipkg install. This is where things came apart. Any ideas?
Zaurus SL-5500/Hentges OZ 3.5.4.1
Ambicom WL1100-CF wireless card
Desktop: Debian/GNU Linux (unstable)