OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: waalkman on September 29, 2004, 05:16:35 am

Title: Problems with ipkg
Post by: waalkman on September 29, 2004, 05:16:35 am
So I download ipk's from both stable and unstable from the pdaXrom site. I make sure to get the "Packages" files as well.

I setup my package manager to use the directories that I downloaded the ipk's to as the feed and told ipkg to update.

ipkg found the directories as they should, but it returned the error message "Unsupported scheme".

Googling for the error came up with a few references to the same problem with wget.

Has anyone else seen this problem, or knows what's going wrong?


Thanks,

John
Title: Problems with ipkg
Post by: Mag1c on September 29, 2004, 07:36:32 am
Hi,

if you want to use a feed, you have to make it available for http access. So either

a: set up a local http server
b: install the packages without feed (ipkg install ...)
c: use the original feed from web

Greets
Mag1c
Title: Problems with ipkg
Post by: waalkman on September 30, 2004, 05:22:56 am
Actually, pdaXrom's package manager allows you to setup a local feed, and remove the network one as well if you like. Looking at the contents of /etc/ipkg.conf confirms this.

BTW, adding "set -x" somewhere near the top of /usr/bin/ipkg (ipkg is actually just a wrapper for wget) will cause ipkg to print out debug information (I put it just above the "set -e" line). Then running ipkg install foo.ipk will show that the error actually comes from wget.

Now on to why wget doesn't like these files...


Thanks,

John

P.S. apparently the new version of ipkg (http://handhelds.org/moin/moin.cgi/Ipkg) that's compiled, not a scipt. Has anyone had any experience with it?
Title: Problems with ipkg
Post by: lardman on September 30, 2004, 05:30:02 am
I installed the ipkg package from OZ3.3.5 over the pdaXrom one.

I started a thread about this somewhere a while back.

It performs far better (more stable, better error recovery, ipkg-link), but it trips over some of the pdaXrom packages as it's more strict about the layout of the control file. ymmv.


Si
Title: Problems with ipkg
Post by: waalkman on October 01, 2004, 02:34:40 am
Quote
It performs far better (more stable, better error recovery, ipkg-link), but it trips over some of the pdaXrom packages as it's more strict about the layout of the control file. ymmv.

That was something else I had noticed, that the package installer would complain about the control.tar.gz file and not install it. Unpacking the file shows that it's just a text file, why should that stop the installer?

Running ipkg from the command line on the same file will go ahead and install it, but only to /


Thanks,

John
Title: Problems with ipkg
Post by: lardman on October 01, 2004, 05:29:03 am
It parses the file. Things like empty lines upset it (which is a bug I suppose, or a method of making people write good control files? ;-), and I think something about the filename field may also cause troubles (just a gut feeling, I looked at this a long time ago).


Si
Title: Problems with ipkg
Post by: waalkman on October 02, 2004, 04:17:36 am
Quote
It parses the file. Things like empty lines upset it (which is a bug I suppose, or a method of making people write good control files? ;-),

Yeah, that's it, obviously a feature


Quote
and I think something about the filename field may also cause troubles (just a gut feeling, I looked at this a long time ago).


Si

Hmmm, I'll have to compare a good one with a bad one and see if I can spot the difference.

Thanks,


John