[FS#2690] Imagebuilder: "opkg_install_pkg: Package size mismatch" error

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Sat Aug 22 14:04:50 EDT 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#2690 - Imagebuilder: "opkg_install_pkg: Package size mismatch" error
User who did this - Baptiste Jonglez (bjonglez)

----------
I had a look at the 18.06.4 imagebuilder (before the new size check) to see why it was working.

It should have failed similarly, because the checksum from the old package in dl/ will likely be different from what is in the new package index.

It turns out that the imagebuild doesn't seem to care at all about package checksums... It will happily use the old package from dl/ even though the checksum is wrong compared to what is in the package index.

We could "fix" the issue by telling the imagebuilder to *also* ignore package size, but security-wise we should definitely be verifying checksums here...

Once checksums are verified properly, fixing this issue would require to delete/re-download packages that failed the checksum.
----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=2690#comment8685

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list