HI
I've just come across this problem too, attempting to install the nxembedded thin client for openzaurus.
It turned out that the download was actually tarred rather than tar+gzipped.
So, I gzipped the file.ipk
& then rename file.ipk.gz to file.ipk again
& then it installed fine using ipkg.
HTH.