Author Topic: Package Manager Hanging  (Read 7267 times)

microsoft/linux

  • Full Member
  • ***
  • Posts: 237
    • View Profile
    • http://
Package Manager Hanging
« 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.
C3200(exiguitas) Angstrom Beta(version not designated)/GPE
SL-5500(immotus) OpenZaurus 3.5.4/GPE, OpenZaurus 3.5.4/Opie(loopmount)
1GB SD Card
128MB CF Card/8MB CF Card
Gentoo/Windows XP Home SP2

Numbers rule the Universe.
        --The Pythagoreans

Microsoft/Linux

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Package Manager Hanging
« Reply #1 on: May 11, 2006, 07:07:47 am »
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
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

microsoft/linux

  • Full Member
  • ***
  • Posts: 237
    • View Profile
    • http://
Package Manager Hanging
« Reply #2 on: May 11, 2006, 09:56:50 am »
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?
C3200(exiguitas) Angstrom Beta(version not designated)/GPE
SL-5500(immotus) OpenZaurus 3.5.4/GPE, OpenZaurus 3.5.4/Opie(loopmount)
1GB SD Card
128MB CF Card/8MB CF Card
Gentoo/Windows XP Home SP2

Numbers rule the Universe.
        --The Pythagoreans

Microsoft/Linux

microsoft/linux

  • Full Member
  • ***
  • Posts: 237
    • View Profile
    • http://
Package Manager Hanging
« Reply #3 on: May 12, 2006, 04:51:49 pm »
noone knows?
C3200(exiguitas) Angstrom Beta(version not designated)/GPE
SL-5500(immotus) OpenZaurus 3.5.4/GPE, OpenZaurus 3.5.4/Opie(loopmount)
1GB SD Card
128MB CF Card/8MB CF Card
Gentoo/Windows XP Home SP2

Numbers rule the Universe.
        --The Pythagoreans

Microsoft/Linux

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Package Manager Hanging
« Reply #4 on: May 13, 2006, 06:39:43 am »
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
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

microsoft/linux

  • Full Member
  • ***
  • Posts: 237
    • View Profile
    • http://
Package Manager Hanging
« Reply #5 on: May 13, 2006, 10:35:08 am »
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.
C3200(exiguitas) Angstrom Beta(version not designated)/GPE
SL-5500(immotus) OpenZaurus 3.5.4/GPE, OpenZaurus 3.5.4/Opie(loopmount)
1GB SD Card
128MB CF Card/8MB CF Card
Gentoo/Windows XP Home SP2

Numbers rule the Universe.
        --The Pythagoreans

Microsoft/Linux

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Package Manager Hanging
« Reply #6 on: May 13, 2006, 11:34:31 am »
Try running ipkg without any arguments and it will print out help.

Iirc, you need something like '-V 3'


Si
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

microsoft/linux

  • Full Member
  • ***
  • Posts: 237
    • View Profile
    • http://
Package Manager Hanging
« Reply #7 on: May 13, 2006, 12:14:21 pm »
when I tried to install firefox by running
Code: [Select]
ipkg -V 3 install firefoxit seemed like it was working, but it just sits at
Code: [Select]
Downloading http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4/fee/x11/firefox_1.0.6-r0_arm.ipkBut no light is blinking on my card, it's just sitting there
C3200(exiguitas) Angstrom Beta(version not designated)/GPE
SL-5500(immotus) OpenZaurus 3.5.4/GPE, OpenZaurus 3.5.4/Opie(loopmount)
1GB SD Card
128MB CF Card/8MB CF Card
Gentoo/Windows XP Home SP2

Numbers rule the Universe.
        --The Pythagoreans

Microsoft/Linux

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Package Manager Hanging
« Reply #8 on: May 14, 2006, 10:24:37 am »
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
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

microsoft/linux

  • Full Member
  • ***
  • Posts: 237
    • View Profile
    • http://
Package Manager Hanging
« Reply #9 on: May 14, 2006, 01:21:45 pm »
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?
« Last Edit: May 14, 2006, 01:51:39 pm by microsoft/linux »
C3200(exiguitas) Angstrom Beta(version not designated)/GPE
SL-5500(immotus) OpenZaurus 3.5.4/GPE, OpenZaurus 3.5.4/Opie(loopmount)
1GB SD Card
128MB CF Card/8MB CF Card
Gentoo/Windows XP Home SP2

Numbers rule the Universe.
        --The Pythagoreans

Microsoft/Linux

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Package Manager Hanging
« Reply #10 on: May 14, 2006, 04:53:36 pm »
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
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

microsoft/linux

  • Full Member
  • ***
  • Posts: 237
    • View Profile
    • http://
Package Manager Hanging
« Reply #11 on: May 14, 2006, 07:24:20 pm »
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?
C3200(exiguitas) Angstrom Beta(version not designated)/GPE
SL-5500(immotus) OpenZaurus 3.5.4/GPE, OpenZaurus 3.5.4/Opie(loopmount)
1GB SD Card
128MB CF Card/8MB CF Card
Gentoo/Windows XP Home SP2

Numbers rule the Universe.
        --The Pythagoreans

Microsoft/Linux

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Package Manager Hanging
« Reply #12 on: May 15, 2006, 05:50:15 am »
Quote
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.

Quote
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
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

starkruzr

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Package Manager Hanging
« Reply #13 on: May 15, 2006, 11:06:40 am »
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.
SL-C1000 Akita running OZ 3.5.4.1 with GPE
Ambicom WL1100C-CE Wifi Card
Sandisk 1GB SD Card

Looking for advice as to how to get snes9x and dgen-sdl running!

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Package Manager Hanging
« Reply #14 on: May 15, 2006, 01:03:11 pm »
Could you add a bug for that please?

Cheers,


Si
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