[opkg] "Cannot install package package.tar.gz"

Gilles Ganault gilles.ganault at free.fr
Fri Jun 24 16:43:01 CEST 2011


On Fri, 24 Jun 2011 15:41:38 +0200, Gilles Ganault
<gilles.ganault at free.fr> wrote:
>=============
>var/tmp> ./opkg-cl install package.tar.gz
>Unknown package 'package.tar.gz'.
>Collected errors:
> * opkg_install_cmd: Cannot install package package.tar.gz.
>=============

I don't know if it means anything but searching the trunk...

http://code.google.com/p/opkg/source/browse/

... the only occurence of "Unknown package" is found in in
trunk/libopkg/opkg_install.c:

=============
     new =
pkg_hash_fetch_best_installation_candidate_by_name(pkg_name);
     if (new == NULL) {
        opkg_msg(NOTICE, "Unknown package '%s'.\n", pkg_name);
        return -1;
     }
=============

Could it be that opkg packages require some kind of hashing (eg. MD5)
not mentionned in the tutorial?




More information about the community mailing list