Re: [iPAQ] ipkg FUBARed my iPAQ :-(

From: Joe Chott <verxion.a.t.yahoo.com>
Date: Wed Jul 10 2002 - 00:41:22 EDT

Just a note on doing backups. If you want to do a complete
backup to CF, you can simply do this:

dd if=/dev/mtdblock/1 of=/path/to/cf/card/someimage.jffs2

Then (using a recent bootldr), you can actually write the image
back to flash, and have your system back up and running in
literally a couple of minutes!

I wrote up the process on the wiki if that wasn't sufficient.

-Joe Chott

--- Tels <perl_dummy@bloodgate.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>
> Moin,
>
> wanted to install konqueror with ipkg (can't look at ipkg
> version anymore,
> but was pretty new) since I needed it for some presentation.
>
> Unfortunately, konqueror needs libjpg - so I installed that
> to. Well, tried.
>
> My iPAQ didn't have a proper internet connection, so I scp'ed
> the two ipk
> files manually and tried to install them.
>
> ipkg always complained about the need to download libc (which
> is apparently
> needed for libjpg - but I already had libc installed!) and
> failed with "no
> route to host". After a few fruitless tries with
> -force-depends I just gave
> in (seems that -force-depends just doesn't work anymore - it
> tries to
> download the dependecies anyway).
>
> So I configured the connection. Which was bad. I thought it
> wouldn't harm,
> since libc was already installed!
>
> ipkg then procedded to download libc and then promptly told me
> it would
> upgrade libc from 2.2.5-6 to 2.2.3 :-(
>
> It also told me it removed a lot of *.o files - and since this
> was clearly
> all wrong, I aborted it and was left immidiately with an
> unusable ipkg. It
> did not even find pwd, ls, ipkg or chdir anymore - doesn't
> boot, kernel
> panic. Grrr.... :-(
>
> Now where is the backup when you need one? (After a few
> frustrating hours I
> know now how to make a backup of the flash to an CF card -
> seems that the
> copy command of bootldr is nowhere mentioned except at one
> page, which
> gets its parameters totally wrong, you need a (newer) bootldr,
> a VFAT
> partition (no, fat 16 is not okay), AND the file you want to
> write to has
> to exist (?). And I didn't even check whether the backup
> worked or how I can
> access the jffs file or to repair my / system...but thats
> another story...)
>
> Seems to be me that ipkg should:
>
> * not download packages if I specify -force-depends
> * not "upgrade" to older versions
> * have some sort of "ask me whether to upgrade or not" mode
> * ask me when upgrading critical packages in any case
> * do the upgrade in some sort of safe way, not just blindly
> deleting system
> libraries and then hope it is able to replace them
> afterwards
>
> Thanx for listening,
>
> Te"Frustration is now my middle name"ls
>
>
> - --
> "Why do you go so slowly? Do you think this is some kind of
> game?"
> PGP key available on http://bloodgate.com/tels.asc or via
> email.
> perl -MDev::Bollocks -e'print Dev::Bollocks->rand(),"\n"'
> competently orchestrate slick solutions
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir
> cevinpl.
>
>
iQEVAwUBPSu4s3cLPEOTuEwVAQFMxwf8CKBPl/5n1LtCaRFa93chUOhUFMPvKCoi
>
ukUtpzf71YqNm9mWZzsjo1we5PuXuOvhS6+Fiu2de5uCZcy5vYs9rPjDV0PzvDjo
>
MoT3I+bGTHTaPS0iy/AVdNPAMpHD0gxpIgJqvYHPf+ra826YCO1/2YH6O5AwpHsN
>
OxMdS26Dmo63jFM/KFFmeQlx47jNyWm+aYXmZEIYlf9YOdeSEpr3hzBj/mH5v7VF
>
V9NHAMTR5EfHsoI4MNng6/28GPuTJDmO0RCQZmjWZgvaOT91/GjpwJo/pzxN+4/R
> TxQe/49f473xFOOBVB5GL/Ck1GZJ1O5xvYqF0F2Nw1e+pInihdPFXg==
> =Y4RI
> -----END PGP SIGNATURE-----
> _______________________________________________
> Open Source Software for Compaq iPAQ Handhelds.
> iPAQ mailing list
> iPAQ@handhelds.org
> http://handhelds.org/mailman/listinfo/ipaq
> irc://irc.openprojects.net #ipaq

__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
Received on Wed Jul 10 04:41:56 2002

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:53 EDT