Troubles with opkg.org repo
Risto H. Kurppa
risto at kurppa.fi
Sun Mar 8 14:30:36 CET 2009
On Sat, Mar 7, 2009 at 10:09 AM, Tobias Kündig <tobias.kuendig at gmail.com> wrote:
> This is a little summary of what I do: http://www.opkg.org/repo.html
At #openmoko tried to figure out what's wrong. Someone pointed out
that ftp uses ascii mode by default - I suppose you're uploading at
least the Packages -ascii file. How about packages.gz. Man ftp says
that ascii upload of binary files might corrupt it -> this might be
the problem - using binary format shouldn't corrupt the .gz
Another find was that 22 packages out of 93 were other than Debian
Binary when checked with file *ipk. The list file types listed below:
DEBIAN BINARY – CORRECT!!!
So things seem to fail because:
- Empty file is an empty file, not much to discuss about that. Only
need to find out the reason for that: did the authors really upload an
empty package or did the upload fail but an empty file was created?
- ar isn't able to extract gzip files so all files recognized as gzip
will not get listed properly in the Packages file. Again the reason
for the wrong file type should be found: did the packages package it
wrong or did the type/mime/something get corrupted along the way,
during the upload or on the server?
So if YOU reader have packaged some of the packages not recognized as
debian binary please make sure that the package you upload is
recognized as debian binary with the command 'file packagename.ipk'
and then upload it again..
Now we only need to find out a way to contact all packagers...
| risto h. kurppa
| risto at kurppa dot fi
More information about the community