OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: PrOtOn on May 31, 2005, 11:07:05 pm
-
I added the line src/gz machine http://www.openzaurus.org/official/unstabl.../machine/collie (http://www.openzaurus.org/official/unstable/3.5.3/feed/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.
-
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).
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
-
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 "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.
-
What do you mean by
"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
-
I'm using the 48-16, should I go with 64-0?
-
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
-
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.
-
And all applications should go on my sd card instead of ram, right?
Yes, select SD for the destination when you use ipkg.
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.
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
-
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.
-
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
-
I have this:
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.
-
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
-
Thanks.
I have those entries on my /ect/ipkg.conf
src/gz upgrades http://openzaurus.org/official/unstable/3.5.3/upgrades/ (http://openzaurus.org/official/unstable/3.5.3/upgrades/)
src/gz base http://openzaurus.org/official/unstable/3.5.3/feed/base/ (http://openzaurus.org/official/unstable/3.5.3/feed/base/)
src/gz libs http://openzaurus.org/official/unstable/3.5.3/feed/libs/ (http://openzaurus.org/official/unstable/3.5.3/feed/libs/)
src/gz console http://openzaurus.org/official/unstable/3.5.3/feed/console (http://openzaurus.org/official/unstable/3.5.3/feed/console)
src/gz devel http://openzaurus.org/official/unstable/3.5.3/feed/devel (http://openzaurus.org/official/unstable/3.5.3/feed/devel)
src/gz opie http://openzaurus.org/official/unstable/3.5.3/feed/opie (http://openzaurus.org/official/unstable/3.5.3/feed/opie)
src/gz machine http://www.openzaurus.org/official/unstabl...feed/machine/co (http://www.openzaurus.org/official/unstable/3.5.3/feed/machine/co)
I guess this should do it.
Now, I'm running into another problem. Everytime I try to install something else, I get this:
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 (http://openzaurus.org/official/unstable/3.5.3/feed/opie/opie-wellenr)
Installing opie-help-en (1.2.0-r0) to sd...
Downloading http://openzaurus.org/official/unstable/3....ie/opie-help-en (http://openzaurus.org/official/unstable/3.5.3/feed/opie/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.
-
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
-
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.
-
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.
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
-
Thanks lardman.
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.
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.
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 Si
at the end of your posts???
-
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.
Least but not last: What is Si
at the end of your posts???
lol, it's his name... Simon.
Greg
-
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.
-
Least but not last: What is
Si
at the end of your posts???
lol
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.
Another step reached. Thanks to all.
Glad to help
Si(mon)