Help - Search - Members - Calendar
Full Version: Package Installation Broke Hentges
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > Angstrom & OpenZaurus
Storm
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
tombraider
QUOTE(Storm @ Sep 10 2005, 05:47 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
*


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.
lardman
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
Storm
QUOTE(lardman @ Sep 10 2005, 11:43 AM)
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
/.
/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?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.