OESF Portables Forum
General Forums => General Discussion => Topic started by: dninja on September 25, 2005, 11:49:47 am
-
I'm trying to install apps on my 5500, oz with opie. I've managed an ipkg update/upgrade which ran fine but now when I try to install packages the file gets downloaded and then the process gets "Terminated" e.g.
root@trapspringer:/media/card/home/root# ipkg install xmms-embedded
Installing xmms-embedded (20040327-r3) to root...
Downloading http://openzaurus.org/official/unstable/3....0327-r3_arm.ipk (http://openzaurus.org/official/unstable/3.5.3/feed/opie/xmms-embedded_20040327-r3_arm.ipk)
Terminated
This happens with any package I choose, so far I've tried at least bash, xmms and vim.
Can anyone help?
-
That's rather odd, can you try with the -V flag to make it more verbose.
Could it be that you're running out of memory and ipkg is being terminated? Does this happen on Linux?
Si
-
Ok, that kind of helped, it seems to be a problem with gunzip...
root@trapspringer:/var/tmp/ipkg-cvwq84# ipkg install -V 3 xmms-embedded_20040327-r3_arm.ipk
ipkg: *** Couldnt kill old gunzip process *** aborting
root@trapspringer:/var/tmp/ipkg-cvwq84# ps aux | grep gun
2358 root 460 S grep gun
root@trapspringer:/var/tmp/ipkg-cvwq84# ps aux | grep zip
2360 root 460 S grep zip
But as you can see, gunzip isn't running. I've tried gunzip from the command line and it seems to work.
As for memory, I'd guess I have enough:
root@trapspringer:/var/tmp/ipkg-cvwq84# cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 30883840 24948736 5935104 0 643072 12525568
Swap: 0 0 0
MemTotal: 30160 kB
MemFree: 5796 kB
I'm booting from sd card so disk space shouldn't be a problem:
root@trapspringer:/var/tmp/ipkg-cvwq84# df -h
Filesystem Size Used Available Use% Mounted on
/dev/loop0 14.1M 13.5M 676.0k 95% /media/realroot
/dev/mmcda1 473.0M 300.9M 147.7M 67% /media/card
/dev/loop0 141.9M 29.5M 105.0M 22% /
/dev/mtdblock6 31.0M 37.0k 29.3M 0% /media/ram
tmpfs 14.7M 196.0k 14.5M 1% /var
Any more ideas?
-
Are the ipks actually tar.gz files, or have they been gunzip'ed by your browser - I seem to remember hearing about this message when the ipks weren't in the correct format.
Si
-
All I'm doing is:
ipkg install bash
or whatever package. My feeds are set to the OZ site so the files are in whatever format they come off there from. I've also tried installing from a downloaded package and that didn't work either.
-
The files from the oz.org feed are in ar format so I don't know what the gunzip message is all about.
What version of ipkg are you using?
Si
-
I'm gonna jump in on this thread, cuz I'm having similar type issues ipkg-ing also.
Downloaded qtopia-brightness, qtopia-cardmon, qtopia-irda, and qtopia-battery, but add/remove wont see them. So through the console I see that I get a message saying:
"not in qzip format"
Anyone have a suggestion?
Thanks.
-
I've found out what the problem is!
For some reason the file download part of ipkg doesn't work, it calls wget with the correct params but, on my machine, takes ages and doesn't actually download much. It then seems to time out but still tries to process the partial file, it then fails and gives up.
This is why it still failed when I tried it with a local file rather than one from the net, the file was corrupt. If I do the wget myself the files download at correct speed then install fine. I've now got bash installed and running quite happily.
Does this need raising as a bug in OZ or somewhere else?
-
What version of ipkg are you using?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=97105\"][{POST_SNAPBACK}][/a][/div]
I'm using...
ipkg -v
ipkg version 0.99.148
-
For some reason the file download part of ipkg doesn't work, it calls wget with the correct params but, on my machine, takes ages and doesn't actually download much. It then seems to time out but still tries to process the partial file, it then fails and gives up.
This is why it still failed when I tried it with a local file rather than one from the net, the file was corrupt. If I do the wget myself the files download at correct speed then install fine. I've now got bash installed and running quite happily.
Does this need raising as a bug in OZ or somewhere else?
Interesting, though if it were a bug I'd have thought someone else would have noticed it...
Are you behind a proxy?
Si
-
No, direct net connection.
The odd thing is that the exact same wget line the ipkg debug prints out works if I run it from the command line.
I'm all happy I've now got vim and bash on there but disapointed that I've now hit dependancy problems with xmms and opie media player!
-
The odd thing is that the exact same wget line the ipkg debug prints out works if I run it from the command line.
Any chance there are mulitple versions of wget on your system? Or possibly the target partition is close to full?
John
-
Any chance there are mulitple versions of wget on your system? Or possibly the target partition is close to full?
There are 2 wgets on there but the first isn't in the path.
find . -name wget
./media/realroot/usr/bin/wget
./usr/bin/wget
And the target has 144M left, plenty of room for the 300K download I'm trying to get.
-
This gets stranger....
I thought that I'd give ipkg another chance to work from the net and it installed a package fine, next one failed so I resorted to runnign wget myself, that started failing, stalling and running slow.
To check if it was at my end or the feed end I did the same get from my desktop, the file came down instantly. I then tried scp'ing the file across and that started stalling as well.
I've tried different network cables and different network ports, doesn't seem to affect it. ssh runs fine, i haven't notice anything wrong but then speed isn't usually an issue with ssh.
I thought about trying a proxy but that wouldn't help with scp being slow.
I'll keep diging, any help or suggestions appreciated.
-
Reading the above thread led me to check into something.
I had been downloading my ipk's onto a Mac and then transferring to a CF.
I decided to download onto my winXP machine insteead. Download took longer, and all of a sudden I could install the ipk's.
Something to keep in mind.