OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: microsoft/linux on January 19, 2006, 07:55:57 pm

Title: Updating Via Desktop, Transferring To Z Over Usb?
Post by: microsoft/linux on January 19, 2006, 07:55:57 pm
Is there any way to update via a desktop computer, and transfer the packages over to the Z via USB? I don't yet have a wifi card for my 5500, so I'd like to update the packages another way. A script that would do this would be easiest, as I don't want to have to download individual packages....
Title: Updating Via Desktop, Transferring To Z Over Usb?
Post by: Hrw on January 20, 2006, 03:47:34 am
I usually setup network over USB and use scp to copy between Zaurus and desktop. Under MS Windows you can use WinSCP iirc, under Debian I use KDE fish://root@zaurus/
Title: Updating Via Desktop, Transferring To Z Over Usb?
Post by: microsoft/linux on January 20, 2006, 11:29:09 pm
that's all find and dandy, but How do I know which packages to install/update? Can I set up a script to check the Z, then download, then install on the Z? Other suggestions?
Title: Updating Via Desktop, Transferring To Z Over Usb?
Post by: microsoft/linux on January 22, 2006, 02:09:57 pm
anyone?
Title: Updating Via Desktop, Transferring To Z Over Usb?
Post by: lardman on January 22, 2006, 04:13:42 pm
What do you want to update?

If it's something like opie-calendar, then just do 'ipkg install opie-calendar' and it will install the newest version (removing any old versions) along with deps.

Ideally, you'd run 'ipkg upgrade'; however, running 'ipkg upgrade' on a 5500 is not recommended as you will run out of space on / (this is because jffs2 doesn't reclaim deleted files very quickly, and you already have little free space).


Si
Title: Updating Via Desktop, Transferring To Z Over Usb?
Post by: microsoft/linux on January 23, 2006, 12:27:26 am
I want to update everything, similar to 'apt-get dist-upgrade'. Can I install everything to a CF card? However, I can't run ipkg upgrade, because I don't have internet on my Z. My question is, is there a way to do this from the desktop, via usb?
Title: Updating Via Desktop, Transferring To Z Over Usb?
Post by: lardman on January 23, 2006, 05:30:28 am
Yes, you can setup a webserver or nfs/samba share on your desktop (as ipkg downloads either from local files or from a webserver) and setup the feeds as they are on the web.

Do bear in mind what I said though. It simply won't work if you try to do the whole lot in one go with 'ipkg upgrade'.


Si
Title: Updating Via Desktop, Transferring To Z Over Usb?
Post by: microsoft/linux on January 23, 2006, 07:11:11 pm
how big(storage wise) are the feeds? Is there a way to set it to 'ipkg upgrade' to the CF card, and not the / fs?
Title: Updating Via Desktop, Transferring To Z Over Usb?
Post by: lardman on January 24, 2006, 05:41:23 am
Quote
how big(storage wise) are the feeds?

Iirc they are something like 250MB, but I may be wrong (right order of magnitude though).

Quote
Is there a way to set it to 'ipkg upgrade' to the CF card, and not the / fs?

I don't think so.

What you really want is to be able to upgrade a couple of packages, then reboot and let jffs2 reclaim the space, then continue. You'd need to do this manually though I fear.


Si

P.S. 3.5.4 will be released soon...