ipkg might use wrong checksums to check packages' integrity
|Reported by:||KanjiMonster||Owned by:||developers|
When trying to install a package from the local file system and any feed contains the package with the same file name, but different checksum, iPKG refuses to install the package and complains over a md5 mismatch.
This also happens if there *is* a feed with the correct checksum.
The only way to fix this is to disable the feed with the "wrong" checksum before installing, and reenabling it after it.
This can happen if one uses webif2 and uses trunk, as the snapshot-repository gets included in the ipkg sources list, and contains several packages of openwrt.
Ipkg should probably check if it matches any of the checksums of all feeds. Currently it seems it works the other way round (breaks if it does not match all checksums, or check only one feed and not all feeds).