packages icon indicating copy to clipboard operation
packages copied to clipboard

libopenssl3 - Checksum or size mismatch for package libopenssl3

Open xxxajk opened this issue 1 year ago • 4 comments

Maintainer: @miska Environment:

{
        "kernel": "5.15.150",
        "hostname": "OpenWrt",
        "system": "ARMv6-compatible processor rev 7 (v6l)",
        "model": "Raspberry Pi Zero W Rev 1.1",
        "board_name": "raspberrypi,model-zero-w",
        "rootfs_type": "ext4",
        "release": {
                "distribution": "OpenWrt",
                "version": "23.05.3",
                "revision": "r23809-234f1a2efa",
                "target": "bcm27xx/bcm2708",
                "description": "OpenWrt 23.05.3 r23809-234f1a2efa"
        }
}

Description: Did opkg update. Fails with:

 * opkg_install_pkg: Checksum or size mismatch for package libopenssl3. Either the opkg or the package index are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package luci-app-samba4.

xxxajk avatar Jul 12 '24 12:07 xxxajk

additionally tried manual install from https://downloads.openwrt.org/releases/23.05.3/packages/arm_arm1176jzf-s_vfp/base/libopenssl3_3.0.14-2_arm_arm1176jzf-s_vfp.ipk still no luck. Size: 1.43 MiB MD5: 285bdd2e807c499cfc6498d0f362d5b0 SHA256: a46b9621253424d4f531dc15e9289ed65306eec710151123f25c69daf0b11752

xxxajk avatar Jul 12 '24 13:07 xxxajk

worked with opkg -V4 strange...

xxxajk avatar Jul 12 '24 13:07 xxxajk

Ran into this too

nattofriends avatar Sep 16 '24 06:09 nattofriends

The same and with opkg -V4 to - opkg_install_pkg: Checksum or size mismatch for package libopenssl3. Either the opkg or the package index are corrupt. Try 'opkg update'.

Creo2005 avatar Oct 26 '24 10:10 Creo2005

Also having this problem. Seems very arbitrary which packages are and aren't affected. Was able to install samba, a bunch of other stuff fine, then got around to packages htop, nano, btop and got an error.

Using the flag --force-checksum will work around the issue and the package seems to install just fine.

This is in OpenWRT 23.05.5 bmips/bcm6368 in my case. (DGND3700v1)

RonnieTiger avatar Jan 10 '25 14:01 RonnieTiger

Same issue.

Collected errors:
 * opkg_install_pkg: Checksum or size mismatch for package libopenssl3. Either the opkg or the package index are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package strongswan-full.

The official bulit 24.10.2 image openwrt-24.10.2-x86-64-generic-squashfs-combined-efi.img.gz sha256: 2655edae580253bc08c269768fbead9f1f2fc4438da891c6af471724eab335cf

Doublefire-Chen avatar Aug 22 '25 14:08 Doublefire-Chen