Sane error messages

Richard Purdie rpurdie at
Mon Jun 2 14:30:16 CEST 2008


I just tried to install a package with:

# opkg install elfutils_0.108-r2_armv6.ipk 
Clearing state_want and state_flag for pkg=elfutils (arch_priority=0
flag=16 want=2)
Nothing to be done
An error ocurred, return value: 4.
Collected errors:
Cannot find package elfutils.
Check the spelling or perhaps run 'opkg update'

Which doesn't make it very clear what the problem is. The problem is
that armv6 isn't compatible with the machine according
to /etc/opkg/arch.conf.

Could we improve that error message?



More information about the opkg-devel mailing list