Author Topic: Package Manager Hanging  (Read 7280 times)

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Package Manager Hanging
« Reply #15 on: May 15, 2006, 01:52:54 pm »
Quote
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.
Webmaster of hentges.net & Embedded Linux Developer.

starkruzr

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Package Manager Hanging
« Reply #16 on: May 16, 2006, 08:25:15 pm »
Quote
Could you add a bug for that please?

Cheers,


Si
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Done.  [a href=\"http://opie-bugs.oszine.de/view.php?id=1785]http://opie-bugs.oszine.de/view.php?id=1785[/url]
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!

microsoft/linux

  • Full Member
  • ***
  • Posts: 237
    • View Profile
    • http://
Package Manager Hanging
« Reply #17 on: May 16, 2006, 11:35:24 pm »
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.
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 #18 on: May 17, 2006, 05:02:35 am »
Quote
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
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 #19 on: May 17, 2006, 07:32:45 pm »
ok, I ran the command
Code: [Select]
ipkg -V 3 install nanoit downloaded ncurses and nano just fine, and started installing just fine. Configured both packages, and then sat when it said
Code: [Select]
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?
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 #20 on: May 18, 2006, 05:40:08 am »
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
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 #21 on: May 18, 2006, 04:12:12 pm »
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.
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!

microsoft/linux

  • Full Member
  • ***
  • Posts: 237
    • View Profile
    • http://
Package Manager Hanging
« Reply #22 on: May 18, 2006, 05:45:49 pm »
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?
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 #23 on: May 19, 2006, 05:35:25 am »
Quote
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)

Quote
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
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 #24 on: May 19, 2006, 10:22:48 am »
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?
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 #25 on: May 27, 2006, 12:55:35 pm »
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.
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 #26 on: June 08, 2006, 07:26:23 pm »
bump
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

starkruzr

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Package Manager Hanging
« Reply #27 on: June 12, 2006, 02:21:46 am »
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?
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 #28 on: June 12, 2006, 11:21:58 am »
Status file should be somewhere under:

/usr/lib/ipkg/


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 #29 on: June 12, 2006, 01:03:52 pm »
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.
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