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 May 10, 2006, 09:54:59 am
-
I can update my packages lists fine. Both from the console, and the package manager. But as soon as it's done downloading the package lists, it sits forever "reading the package lists". I let it sit overnight, and it was still doing it in the morning. I just got a wireless card, so this is the first time I've done this.
-
How much free space do you have on / ?
I wonder if you're running out and ipkg is giving up.
You might also try running ipkg with the verbose (-V iirc) switch to see if it produces any useful output.
Si
-
I think it's something like 14MB total, apperantly it's got 2.0MB free space. I think I picked the 32-32 image though. Maybe I'm missing something in how OZ flashes?
-
noone knows?
-
The memory layout shouldn't make any difference (the 32-32 split in the kernel.)
What does it produce when you make it more verbose?
Si
-
I'm using the graphical client, what do I need to run at the command line for more verbose? ipkg -v <somthing here>. I'm used to debians apt-get, but I don't know the commands for ipkg, and there aren't any man pages.
-
Try running ipkg without any arguments and it will print out help.
Iirc, you need something like '-V 3'
Si
-
when I tried to install firefox by running
ipkg -V 3 install firefox
it seemed like it was working, but it just sits at
Downloading http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4/fee/x11/firefox_1.0.6-r0_arm.ipk
But no light is blinking on my card, it's just sitting there
-
Can you wget that file using the Zaurus?
Sounds like you may have a network problem (either at your end, or it's slow at the other end.)
You could try installing something smaller (to see if it's just a slow network.) Iirc, wget shows the download progress when you run ipkg in verbose mode.
Si
-
pinging google.com works. I'm pretty sure it's not on my end, because I can update my debian install, so it shouldn't be that. Is there another repositories elsewhere?
I tried the wget and it gave me an error about not having enough space. Where does the packages manager download to? Is there a way to download the packages themselves to sd, and then install to sd, and then remove the packages?
-
They should be downloaded to /var or /tmp (either way, it should be a RAM-disk).
It would appear that the 'no space' thing is your problem. I wonder if this is an effect of using the 32-32 split? It might be helped if you make sure nothing else is running at the same time.
Can anyone else with only 32MB of RAM to play with (sl5000D, sl5600 or c700 users, or sl5500 users using the 32-32 split) install this file? Is it a case of it being too large for the RAM-disk to expand to fit it in?
Si
-
why would firefox be so big? On the PC it's only like a 7 MB download. When I ran wget, it downloaded it to the directory I was in, which was the home directory. It stopped after about 25% of the download, saying it was out of space. My / is only allocated 14MB. Is this normal?
-
My / is only allocated 14MB. Is this normal?
This is all the flash space any 5500 has (so you may have issues if you try to install firefox there.) You have used a 32-32 split, so you also have /media/ram (32MB) to which you can install stuff.
why would firefox be so big? On the PC it's only like a 7 MB download. When I ran wget, it downloaded it to the directory I was in, which was the home directory. It stopped after about 25% of the download, saying it was out of space.
On OpenZaurus, rather than downloading temporary files to the rootfs (which wouldn't work for you anyway as a fresh install on a 5500 only has ~2Mb free), the files are downloaded to /tmp (iirc) which is located under /var which is a tmpfs (this is a ram filesystem that can shrink and grow as required.)
If the file (and possibly it also requires space to uppack it - I'm not sure) is larger that the tmpfs' maximum size (it's not allowed to just grow to fill the available RAM otherwise the whole system might grind to a halt) then it will fail with an out of memory error.
Iirc, the tmpfs is allowed to grow to 1/2 the RAM size, which for you will be 16Mb, assuming there's enough free memory to allow this.
If you're happy to install stuff to SD, I'd flash a 64-0 kernel (no need to reflash the rootfs (initrd.bin)) and see if it works then. If you want to stick with that you have, saving the output of 'df' during the install might show you how large the tmpfs is growing, and whether it's large enough.
Si
-
I'm not sure if this is related, but Package Manager is also broken out of the box on Akita under Opie. It downloads its package lists to a directory in /usr rather than /var/tmp/ipkg/whatever, and you have to futz with a line in ipkg.conf to tell it to put the lists in the place Package Manager expects them before you can access your "Available" packages list.
I mention this because by default ipkg puts package lists in nonvolatile storage for some reason under Akita's default install. FYI.
-
Could you add a bug for that please?
Cheers,
Si
-
I'm not sure if this is related, but Package Manager is also broken out of the box on Akita under Opie. It downloads its package lists to a directory in /usr rather than /var/tmp/ipkg/whatever, and you have to futz with a line in ipkg.conf to tell it to put the lists in the place Package Manager expects them before you can access your "Available" packages list.
I mention this because by default ipkg puts package lists in nonvolatile storage for some reason under Akita's default install. FYI.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127125\"][{POST_SNAPBACK}][/a][/div]
Well, Opies package manager needs some TLC badly. It is a shame to see such a (otherwise) nice application beeing the reason for countless crashes, freezes and annoyances.
For the time beeing I recommend switching to the older opie-aqpkg, which has its own share of problems but at least doesn't crash.
-
Could you add a bug for that please?
Cheers,
Si
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=127150\")
Done. [a href=\"http://opie-bugs.oszine.de/view.php?id=1785]http://opie-bugs.oszine.de/view.php?id=1785[/url]
-
so how is the fact that it hangs whenever it's supposed to be reading the package lists related to lack of space. Is there any way I can fix this? I suppose I could reflash, if that'll fix it, but I'd rather not.
-
so how is the fact that it hangs whenever it's supposed to be reading the package lists related to lack of space. Is there any way I can fix this? I suppose I could reflash, if that'll fix it, but I'd rather not.
From your description, it sounded like the hang occurred when it tried to download the firefox ipk, which would be related to space.
Try installing something small (nano?) and see whether it works correctly.
Si
-
ok, I ran the command
ipkg -V 3 install nano
it downloaded ncurses and nano just fine, and started installing just fine. Configured both packages, and then sat when it said
Configuring nano
Running script /media/card/packages//usr/lib/ipkginfo/nano.postinst
Configuring ncurses
Running script /media/card/packages//usr/lib/ipkg/info/ncurses.postinst
writing status file
and it just sits there. Suggestions?
-
How much space do you have on root now?
Try 'df'
Not being able to write the status file is not a good thing (and it usually happens when you run out of space - though to tell the truth, I'd thought ipkg had been fixed so this couldn't happen.)
Si
-
Some builds (though not the 5500's, afaik) have a "bug" in which opie-packagemanager expects packages to be updated in /var/whateveritis, but ipkg puts the lists in /usr/somethingorother instead. Really all this means is that opie-packagemanager is useless until you have ipkg and opie-packagemanager "in sync" with each other, but I don't know - it could relate.
-
it's not opie though, I'm running GPE. according to df -h, I've got 2MB left on my / "partition" for lack of a better word. It seems as though nano installed, but it gives me an error about some library item not being found. I suppose I could manually download every package I want, but that's not very convenient. Suggestions?
-
It seems as though nano installed, but it gives me an error about some library item not being found.
It probably has dependencies, if you had a working internet connection, and could install from the feed, these would be handled and installed automatically.
One option you have is to create a local feed (e.g. on a CF/sd card or via nfs on your desktop box)
according to df -h, I've got 2MB left on my / "partition" for lack of a better word.
Wierd. I'm not sure why the status list couldn't be written in that case.
Sorry,
Si
-
yeah, it installed all dependencies, but I eventually shut it down by flipping the batter switch, because it had hung. I tried the GUI again last night, and when I left for school this morning, it was still sitting there. Does the OPIE package manager work?
-
nobody has any ideas? This is kind of frustrating. I purchased a wifi card explicitly so I'd be able to surf with it, and now I can't get a browser installed.
-
bump
-
Have you tried removing a few packages?
Would be nice if we had "ipkorphan" so we could find things that nothing depends on. Hrm.
Where does the status file get written in your configuration?
-
Status file should be somewhere under:
/usr/lib/ipkg/
Si
-
ok, there's been a status change. I tried to flash to pdaxrom, and turns out, there is no pdaxrom for 5500. So I redownloaded the stuff for OZ/GPE, but I messed up and pulled the battery. Now it won't flash, none of the lights turn on. I'm pretty sure I haven't bricked it, but I need a way to fix it. Any ideas? I downloaded the 64-0 image, with plans to install to SD.
-
So I redownloaded the stuff for OZ/GPE, but I messed up and pulled the battery. Now it won't flash, none of the lights turn on.[div align=\"right\"][a href=\"index.php?act=findpost&pid=130869\"][{POST_SNAPBACK}][/a][/div]
Can you retry the installation procedure? Connecting to power, switching the battery lid, pressing C and D etc.
-
I've got OZ installed, I forgot about this thread, sorry. Yes, OZ/GPE 3.5.4 installed, running the 64-0 install. The GUI manager still hangs, but I've been able to use the command line in order to install the packages I want to a 1GB SD card. Now I'm trying to figure out how to use X11 forwarding, so I can resize sylpheed, and be able to download e-mail to the Z. Thanks for everything.