Author Topic: Update Packages  (Read 8608 times)

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Update Packages
« Reply #15 on: June 11, 2005, 09:29:22 am »
Quote
I thought everything in flash would get erased once the device is rebooted.

No. Everything in RAM will be erased when you reboot, flash doesn't require power to keep its contents intact.

Quote
How do I remove useless stuff from flash?
I'm current using 64-0 image and a 512MB SD card. I thought that was the way I had to go if I had a large SD card like I do.

Yes, this is the way to go, just just have to make sure you install stuff to sd.

Also note that there's not much free space on the 5500, so things like the package lists take up valuable space. There's a thread around here explaining how to change where these lists are stored (they can be stored in /var which is a temporary RAM-disk) by making an alteration to /etc/ipkg.conf

As to removing useless stuff, perhaps by removing the package lists (as they are rather large). Iirc, they live somewhere under /usr/lib/ipkg/ though as I don't have my Z with me atm I can't tell you exactly, nor exactly what they will be called (don't go mad deleting stuff in there though as if you do ipkg will not be happy).

Edit: 'lists_dir ext /path/to/more/storage' is the line to add to ipkg.conf


Si
« Last Edit: June 11, 2005, 10:33:47 am by lardman »
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

PrOtOn

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
Update Packages
« Reply #16 on: June 11, 2005, 02:24:30 pm »
Thanks lardman.
Quote
No. Everything in RAM will be erased when you reboot, flash doesn't require power to keep its contents intact.
Omg, I can't believe I got confused with them. My Cisco teacher keep saying the same thing.
Quote
Yes, this is the way to go, just just have to make sure you install stuff to sd.
I install everything on sd. I even created a directory under "Documents" to store my musics.

 
Quote
There's a thread around here explaining how to change where these lists are stored (they can be stored in /var which is a temporary RAM-disk) by making an alteration to /etc/ipkg.conf
I've seen that thread you talking about it, I will search the forums and find it.
 I just didn't understand at first when I read, now I know. Thanks.

 So, I would have to add the new line into /ect/ipk.conf and then delete the ipkg lists from flash.
 
 Least but not last: What is
Quote
Si
at the end of your posts???
Zaurus SL-5500
CF SanDisk 128MB(for flashing)
Symbol CF Wireless Card
512MB Kingston SD Card
OpenZaurus 3.5.3 Opie 1.2.0

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
Update Packages
« Reply #17 on: June 11, 2005, 07:14:12 pm »
Quote
So, I would have to add the new line into /ect/ipk.conf and then delete the ipkg lists from flash.
Yes if it's not already there, edit it if it is and 'only' remove the package list... then run ipkg update.
Quote
Least but not last: What is
Quote
Si
at the end of your posts???
lol, it's his name... Simon.

Greg

PrOtOn

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
Update Packages
« Reply #18 on: June 11, 2005, 11:56:27 pm »
Thaks lardman and Greq2, I got it working.
 However a really odd thing happened.
 I was saying I didn't have space and even posted an error on this thread, but I checked the installed packages, and the ones that gave me an error when installing were installed successfully. So I just linked them.
 Also when browsing my zaurus, I realized that the applications I installed were not showing up on "Applicaitons" tab. I mean, no icons at all.... just the default ones. So after a few minutes, they were all showing again(WEIRD).

 Another step reached. Thanks to all.
Zaurus SL-5500
CF SanDisk 128MB(for flashing)
Symbol CF Wireless Card
512MB Kingston SD Card
OpenZaurus 3.5.3 Opie 1.2.0

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Update Packages
« Reply #19 on: June 12, 2005, 05:52:39 am »
Quote
Least but not last: What is
Quote
Si
at the end of your posts???

lol

Quote
Also when browsing my zaurus, I realized that the applications I installed were not showing up on "Applicaitons" tab. I mean, no icons at all.... just the default ones. So after a few minutes, they were all showing again(WEIRD).

You normally need to restart opie (from Settings > Shutdown) to refresh the icons. In the latest development images (the 3.5.4pre?? ones which you can build from OE directly) there is now an icon which simply refreshes the icons which will help avoid this problem.

Quote
Another step reached. Thanks to all.

Glad to help


Si(mon)
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