Podman: Size Mismatch
Open
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
Maintainer: @oskarirauta
Environment:
ubus call system board; cat /etc/openwrt_release
{
"kernel": "5.15.150",
"hostname": "OpenWrt",
"system": "Common KVM processor",
"model": "QEMU Standard PC (i440FX + PIIX, 1996)",
"board_name": "qemu-standard-pc-i440fx-piix-1996",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "23.05.3",
"revision": "r23809-234f1a2efa",
"target": "x86/64",
"description": "OpenWrt 23.05.3 r23809-234f1a2efa"
}
}
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='23.05.3'
DISTRIB_REVISION='r23809-234f1a2efa'
DISTRIB_TARGET='x86/64'
DISTRIB_ARCH='x86_64'
DISTRIB_DESCRIPTION='OpenWrt 23.05.3 r23809-234f1a2efa'
DISTRIB_TAINTS=''
Description: Podman will not install due to a size mismatch on the package.
root@OpenWrt:~# opkg update
Downloading https://downloads.openwrt.org/releases/23.05.3/targets/x86/64/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/releases/23.05.3/targets/x86/64/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/x86_64/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/x86_64/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/x86_64/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/x86_64/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/x86_64/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/x86_64/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/x86_64/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/x86_64/routing/Packages.sig
Signature check passed.
root@OpenWrt:~# opkg install podman
Installing podman (4.8.0-1) to root...
Downloading https://downloads.openwrt.org/releases/23.05.3/packages/x86_64/packages/podman_4.8.0-1_x86_64.ipk
Collected errors:
* opkg_install_pkg: Checksum or size mismatch for package podman. Either the opkg or the package index are corrupt. Try 'opkg update'.
* opkg_install_cmd: Cannot install package podman.
root@OpenWrt:~# opkg info podman
Package: podman
Version: 4.8.0-1
Depends: libc, conmon, libgpgme, libseccomp, nsenter, zoneinfo-simple, kmod-veth, slirp4netns, netavark, aardvark-dns, catatonit, crun
Status: install user not-installed
Section: utils
Architecture: x86_64
Size: 29008838
Filename: podman_4.8.0-1_x86_64.ipk
Description: Podman: A tool for managing OCI containers and pods
From the mirror:
Package: podman
Version: 4.8.0-1
Depends: libc, conmon, libgpgme, libseccomp, nsenter, zoneinfo-simple, kmod-veth, slirp4netns, netavark, aardvark-dns, catatonit, crun
Source: feeds/packages/utils/podman
SourceName: podman
License: Apache-2.0
LicenseFiles: LICENSE
Section: utils
SourceDateEpoch: 1701774266
Maintainer: Oskari Rauta <oskari.rauta@gmail.com>
Architecture: x86_64
Installed-Size: 29084386
Filename: podman_4.8.0-1_x86_64.ipk
Size: 29008524
SHA256sum: 7c46a76a2c089e5c70c93b48963ffb13c88b52f9a5b6dd7b177c8d2c6d202adc
Description: Podman: A tool for managing OCI containers and pods
OPKG Size: 29008838 != MANEFEST Size: 29084386 != WGET Size: 29008524
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the opkg install podman failure and compare the package metadata, mirror listing, and downloaded file sizes shown in the issue. Investigate the OpenWrt package feed for podman; done means the published metadata and package agree and installation succeeds without a checksum or size mismatch.
Written by the indexing model from the issue text.
Assessment
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100