Help - Search - Members - Calendar
Full Version: Update Packages
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > Angstrom & OpenZaurus
PrOtOn
I added the line src/gz machine http://www.openzaurus.org/official/unstabl.../machine/collie to my 5500 and then I tried to updated the packages through the "package manager" and I got an error downloading packages or something like that.
Sorry for the mistake. I got the packages updated successfully now.
Also I change the path to another dir(I created one) to free space on my zaurus.(so I read).

However I can't install the upgrade packages or neither wellenreiter(see below).


Also I donwloaded the wellenreiter ipkg and put in my CF card. When I try to install to "root"(destination) I get the "An error ocurred. return value:22" "Perhaps you need to run ipkg update".
Where should I install the pkg? root, cf, sd or ram? I know for cf and sd, I need respective cards and link afterwards.

Thanks in advance.
lardman
QUOTE
Where should I install the pkg? root, cf, sd or ram?


Any should be fine (make sure you actually have a RAM dest on your machine if you plan on using that).

QUOTE
Also I donwloaded the wellenreiter ipkg and put in my CF card. When I try to install to "root"(destination) I get the "An error ocurred. return value:22" "Perhaps you need to run ipkg update".


First off, make sure you gave the path to the wellenreiter ipk (whether a full path or a ./ on the front of the filename).

Secondly, try making the output more verbose (run 'ipkg' and look at the options - I think it's something like -v 2)


Si
PrOtOn
Thanks lardamn, but I got most of the ipkg to work. I didn't know the packages would connect the internet in order to install. So I put my CF wireless card and all went good.
The only three I haven't been able to install are, Kismet , Opera and Dsniff. It hangs when trying to install them.

What do you mean by
QUOTE
"Any should be fine (make sure you actually have a RAM dest on your machine if you plan on using that)."

How do I do that?

Also, I think I found a bug, but I will post it in the right section.
Thanks for everything.
lardman
QUOTE
What do you mean by
QUOTE

"Any should be fine (make sure you actually have a RAM dest on your machine if you plan on using that)."


How do I do that?


Which memory configuration did you choose when you selected your zImage?

Some configurations split the main memory into memory & a RAM-disk. You can (obviously) only use the RAM-disk if you flashed the appropriate kernel (personally I don't use RAM-disks as I want as much memory as possible).


Si
PrOtOn
I'm using the 48-16, should I go with 64-0?
lardman
I would, but it's really up to you.

Do you have a storage card which you can format as ext2 and leave in the machine (you have a CF, but do you need to use the slot for wifi etc.?)?


Si
PrOtOn
Yes, I just got a SD 512MB(Kingston) card.
So, I will load the 64-0 opie image. And all applications should go on my sd card instead of ram, right?
And for installing ipkg, do I need internet or not? It seems it downloads off of the internet when using the package manager.
lardman
QUOTE
And all applications should go on my sd card instead of ram, right?


Yes, select SD for the destination when you use ipkg.

QUOTE
And for installing ipkg, do I need internet or not?


ipkg is installed already, it's what the GUI package-manger uses, however it appears that there are some minor issues with the GUI package-manager.

I always use ipkg from the command line.

QUOTE
It seems it downloads off of the internet when using the package manager.


ipkg does this, yes, if you have internet access, it means you don't need to carry the entire feed around with you, you can just access it at will.

You were trying to install wellenreiter - try running: 'ipkg update && ipkg install -d sd wellenreiter' (that said I don't know whether it's in the feed, but you'll find soon out).


Si
PrOtOn
Many thanks lardman.
I will start using the terminal to update and install ipkgs.
Now, what do I need to get the ipkg in the sd card?
I know I have to change the /ect/config, but don't know exactly the changes. Could you help me with that?
I think I have to edit for the ipkg new feed and for the sd location, so the zaurus will see everytime it boots up.

Many thanks again.
lardman
QUOTE
Now, what do I need to get the ipkg in the sd card?


You need to add the following line to /etc/ipkg.conf (if it's not there already):

dest sd /media/card


Si
PrOtOn
I have this:

QUOTE
dest root /
dest cf /media/cf/packages/
dest sd /media/card/packages/
dest ram /media/ram/packages/

I think that will do it, or I will have to take the "packages/" outta there?
Also I have to add the new feed link, right?
Thanks lardman, as I'm typing I'm updating my zaurus.
lardman
Those dest entries are fine (I forgot to add the packages to the end).

Regarding the feed link, look to see whether there's a conf file for it in /etc/ipkg/*.conf, if not copy and alter one of those to point to the new feed (make sure you change the name in front of the URL though - I forgot this and spent ages wondering why it wouldn't work).


Si
PrOtOn
Thanks.
I have those entries on my /ect/ipkg.conf
QUOTE

I guess this should do it.

Now, I'm running into another problem. Everytime I try to install something else, I get this:
QUOTE
root@collie:~# ipkg install -d sd opie-wellenreiter-help-en
Installing opie-wellenreiter-help-en (1.2.0-r0) to sd...
Downloading http://openzaurus.org/official/unstable/3....ie/opie-wellenr
Installing opie-help-en (1.2.0-r0) to sd...
Downloading http://openzaurus.org/official/unstable/3....ie/opie-help-en
Configuring opie-help-en
Configuring opie-wellenreiter-help-en
ipkg_conf_write_status_files: Can't open status file: //usr/lib/ipkg/status for
ipkg_conf_write_status_files: Can't open status file: /media/cf/packages//usr/li
ipkg_conf_write_status_files: Can't open status file: /media/ram/packages//usr/l
root@collie:~#

In that example, I was trying to install the wellenreiter help ipkg, as you can see.
I also tried to install the new theme ipkg made by some forum user(sorry, I forgot his name), and got a "no space available" message.
Even specifying the "tmp" location on my sd card, didn't work. It says "could not creat the specified directory" or something like that.
What is the best way to correct this error?

Thanks in advance.
lardman
Looks like your flash is full (/).

Try removing some stuff before you install anything else (you may need to do this by hand before ipkg will be able to work again).


Si
PrOtOn
I thought everything in flash would get erased once the device is rebooted.
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.
lardman
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
PrOtOn
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???
Greg2
QUOTE(PrOtOn @ Jun 11 2005, 02:24 PM)
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(PrOtOn)
Least but not last: What is
QUOTE
Si
at the end of your posts???

lol, it's his name... Simon.

Greg smile.gif
PrOtOn
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.
lardman
QUOTE
Least but not last: What is
QUOTE

Si

at the end of your posts???


lol smile.gif

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) wink.gif
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-2015 Invision Power Services, Inc.