Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to upgrade to lastest SNAPSHOT version #1097

Open
UltraHKR opened this issue Nov 28, 2024 · 12 comments
Open

Unable to upgrade to lastest SNAPSHOT version #1097

UltraHKR opened this issue Nov 28, 2024 · 12 comments

Comments

@UltraHKR
Copy link
Contributor

UltraHKR commented Nov 28, 2024

Trying to upgrade Netgear WNDR3800CH using Luci Attended-sysupgrade
From: OpenWrt SNAPSHOT r27279-8b6c63cfaf / LuCI Master 24.212.79282~65b8002
To: SNAPSHOT - r28199-1bdb6d8404

If I add OPKG as a dependency it throws this error
NOTE: opkg is NOT available anywhere in https://downloads.openwrt.org/snapshots/packages/mips_24kc/

Request Data:
{
"url": "https://sysupgrade.openwrt.org",
"branch": "SNAPSHOT",
"revision": "r27279-8b6c63cfaf",
"efi": null,
"advanced_mode": "1",
"request_hash": "",
"sha256_unsigned": "",
"client": "luci/24.205.37920e55f9d9",
"packages": {
"libc": "1.2.5-r4",
"libpthread": "1.2.5-r4",
"busybox": "1.36.1-r1",
"zram-swap": "32",
"swconfig": "12",
"kmod-lib-crc-ccitt": "6.6.48-r1",
"getrandom": "2024.04.26
85f10530-r1",
"kmod-pppoe": "6.6.48-r1",
"procd-ujail": "2024.07.07f230c117-r1",
"base-files": "1614
8b6c63cfaf",
"libustream-mbedtls": "2024.07.2899bd3d2b-r1",
"firewall4": "2024.05.21
4c01d1eb-r1",
"uboot-envtools": "2024.07-r1",
"kmod-usb-ohci": "6.6.48-r1",
"dnsmasq": "2.90-r3",
"procd": "2024.07.07f230c117-r1",
"kmod-crypto-acompress": "6.6.48-r1",
"kmod-leds-reset": "6.6.48-r1",
"kmod-usb2": "6.6.48-r1",
"libmbedtls": "3.6.0-r1",
"odhcp6c": "2023.05.12
bcd28363-r20",
"kmod-ath9k": "6.6.48.6.9.9-r1",
"uci": "2023.08.105781664d-r1",
"dropbear": "2024.85-r1",
"luci-app-dawn": "24.188.45693
65f8c14",
"mtd": "26",
"odhcpd-ipv6only": "2024.05.08a2988231-r1",
"wpad": "2024.03.09
695277a5-r3",
"kmod-owl-loader": "6.6.48.6.9.9-r1",
"procd-seccomp": "2024.07.07f230c117-r1",
"libjson-script": "2024.03.29
eb9bcb64-r1",
"urandom-seed": "3",
"ppp": "2.4.9_git20210104-r5",
"kmod-gpio-button-hotplug": "6.6.48-r3",
"logd": "2024.04.2685f10530-r1",
"luci-app-attendedsysupgrade": "24.205.37920
e55f9d9",
"kmod-ppp": "6.6.48-r1",
"ca-bundle": "20240203-r1",
"libuclient": "2024.04.19e8780fa7-r1",
"luci": "23.051.66410
a505bb1",
"owut": "2024.08.098a6becd8-r1",
"kmod-switch-rtl8366s": "6.6.48-r1",
"kmod-usb-ledtrig-usbport": "6.6.48-r1",
"kmod-lib-lzo": "6.6.48-r1",
"kmod-ath": "6.6.48.6.9.9-r1",
"kernel": "6.6.48
cbf8446a39d3bcd8258a4b4723e5f5b5-r1",
"urngd": "2023.11.01~44365eb1-r1",
"ppp-mod-pppoe": "2.4.9_git20210104-r5"
},
"profile": "netgear,wndr3800ch",
"target": "ath79/generic",
"version": "SNAPSHOT",
"diff_packages": true,
"filesystem": "squashfs"
}
STDERR:
Generate local signing keys...
WARNING: can't open config file: /builder/shared-workdir/build/staging_dir/host/etc/ssl/openssl.cnf
WARNING: can't open config file: /builder/shared-workdir/build/staging_dir/host/etc/ssl/openssl.cnf
read EC key
writing EC key
fetch https://downloads.openwrt.org/snapshots/targets/ath79/generic/packages/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/packages.adb
fetch https://downloads.openwrt.org/snapshots/targets/ath79/generic/kmods/6.6.63-1-7d0e1a34e0ba3672a93534d0608105ac/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/mips_24kc/luci/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/mips_24kc/packages/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/mips_24kc/routing/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/mips_24kc/telephony/packages.adb
WARNING: opening packages/packages.adb: No such file or directory
Package list missing or not up-to-date, generating it.

Building package index...
ERROR: unable to select packages:
opkg (no such package):
required by: world[opkg]
make[2]: *** [Makefile:225: package_install] Error 1
make[1]: *** [Makefile:166: _call_manifest] Error 2
make: *** [Makefile:340: manifest] Error 2

@efahl
Copy link
Contributor

efahl commented Nov 28, 2024

If I add OPKG as a dependency it throws this error

Sounds like a different issue than the device-based missing ubus call. The opkg package is no longer available in SNAPSHOT, you need to replace it with apk-mbedtls (or build your own images setting CONFIG_USE_APK=n).

Lots of discussion here: https://forum.openwrt.org/t/the-future-is-now-opkg-vs-apk/201164

@UltraHKR
Copy link
Contributor Author

Maybe, but it should be forcefully included when opkg was installed.

Otherwise, I'm left with no package manager on the device...

@efahl
Copy link
Contributor

efahl commented Nov 29, 2024

Yup, I was just waiting for the decision that came through a couple days ago. I submitted a PR to that effect yesterday: #1098

@geak
Copy link

geak commented Dec 6, 2024

I also can not upgrade from one snapshot (r28091-77cfe8fd15) to a latest one (r28246-ce66385):

{
    "url": "https://sysupgrade.openwrt.org",
    "branch": "SNAPSHOT",
    "revision": "r28091-77cfe8fd15",
    "efi": null,
    "advanced_mode": "1",
    "request_hash": "",
    "sha256_unsigned": "",
    "client": "luci/24.338.58761~e76155d",
    "packages": {
        "apk-mbedtls": "3.0.0_pre20241130-r1",
        "attendedsysupgrade-common": "9",
        "avahi-autoipd": "0.8-r9",
        "avahi-daemon-service-ssh": "0.8-r9",
        "base-files": "1633~77cfe8fd15",
        "bind-dig": "9.20.0-r1",
        "block-mount": "2024.12.02~49d36ba2-r1",
        "busybox": "1.36.1-r2",
        "ca-bundle": "20240203-r1",
        "comgt": "0.32-r36",
        "coreutils-sleep": "9.3-r1",
        "coreutils-sort": "9.3-r1",
        "coreutils-timeout": "9.3-r1",
        "curl": "8.10.1-r1",
        "dnsmasq": "2.90-r3",
        "dos2unix": "7.5.2-r1",
        "dosfstools": "4.2-r4",
        "dropbear": "2024.86-r1",
        "e2fsprogs": "1.47.0-r2",
        "eip197-mini-firmware": "20241110-r1",
        "ethtool-full": "6.10-r1",
        "exfat-fsck": "1.2.5-r1",
        "exfat-mkfs": "1.2.5-r1",
        "f2fs-tools": "1.16.0-r3",
        "f2fsck": "1.16.0-r3",
        "firewall4": "2024.05.21~4c01d1eb-r1",
        "fitblk": "2",
        "fstools": "2024.12.02~49d36ba2-r1",
        "fstrim": "2.40.2-r1",
        "fwtool": "2019.11.12~8f7fe925-r1",
        "gdisk": "1.0.10-r1",
        "getrandom": "2024.04.26~85f10530-r1",
        "gpioctl-sysfs": "0.0.7-r1",
        "gzip": "1.13-r1",
        "hostapd-common": "2024.09.15~5ace39b0-r2",
        "htop": "3.3.0-r2",
        "iperf3": "3.17.1-r4",
        "iptables-nft": "1.8.10-r1",
        "iwinfo": "2024.10.20~b94f066e-r1",
        "jansson4": "2.14-r3",
        "jshn": "2024.03.29~eb9bcb64-r1",
        "jsonfilter": "2024.01.23~594cfa86-r1",
        "kernel": "6.6.60~0561031e21f60f05c8f540bffb723036-r1",
        "kmod-crypto-acompress": "6.6.60-r1",
        "kmod-crypto-aead": "6.6.60-r1",
        "kmod-crypto-authenc": "6.6.60-r1",
        "kmod-crypto-crc32c": "6.6.60-r1",
        "kmod-crypto-des": "6.6.60-r1",
        "kmod-crypto-hash": "6.6.60-r1",
        "kmod-crypto-hmac": "6.6.60-r1",
        "kmod-crypto-hw-safexcel": "6.6.60-r1",
        "kmod-crypto-manager": "6.6.60-r1",
        "kmod-crypto-md5": "6.6.60-r1",
        "kmod-crypto-null": "6.6.60-r1",
        "kmod-crypto-sha1": "6.6.60-r1",
        "kmod-crypto-sha256": "6.6.60-r1",
        "kmod-crypto-sha512": "6.6.60-r1",
        "kmod-fs-exfat": "6.6.60-r1",
        "kmod-fs-ext4": "6.6.60-r1",
        "kmod-fs-f2fs": "6.6.60-r1",
        "kmod-fs-vfat": "6.6.60-r1",
        "kmod-gpio-button-hotplug": "6.6.60-r5",
        "kmod-hwmon-core": "6.6.60-r1",
        "kmod-hwmon-pwmfan": "6.6.60-r1",
        "kmod-i2c-mux-gpio": "6.6.60-r1",
        "kmod-leds-gpio": "6.6.60-r1",
        "kmod-lib-crc-ccitt": "6.6.60-r1",
        "kmod-lib-crc32c": "6.6.60-r1",
        "kmod-lib-lzo": "6.6.60-r1",
        "kmod-libphy": "6.6.60-r1",
        "kmod-mhi-wwan-mbim": "6.6.60-r1",
        "kmod-mt7915-firmware": "6.6.60.2024.10.28~c246fa54-r1",
        "kmod-mt7915e": "6.6.60.2024.10.28~c246fa54-r1",
        "kmod-mt7986-firmware": "6.6.60.2024.10.28~c246fa54-r1",
        "kmod-mt7996-233-firmware": "6.6.60.2024.10.28~c246fa54-r1",
        "kmod-mt7996-firmware": "6.6.60.2024.10.28~c246fa54-r1",
        "kmod-mt7996e": "6.6.60.2024.10.28~c246fa54-r1",
        "kmod-mtk-t7xx": "6.6.60-r1",
        "kmod-nf-conntrack": "6.6.60-r1",
        "kmod-nf-conntrack6": "6.6.60-r1",
        "kmod-nf-flow": "6.6.60-r1",
        "kmod-nf-log": "6.6.60-r1",
        "kmod-nf-log6": "6.6.60-r1",
        "kmod-nf-nat": "6.6.60-r1",
        "kmod-nf-reject": "6.6.60-r1",
        "kmod-nf-reject6": "6.6.60-r1",
        "kmod-nfnetlink": "6.6.60-r1",
        "kmod-nfnetlink-queue": "6.6.60-r1",
        "kmod-nft-core": "6.6.60-r1",
        "kmod-nft-fib": "6.6.60-r1",
        "kmod-nft-nat": "6.6.60-r1",
        "kmod-nft-offload": "6.6.60-r1",
        "kmod-nft-queue": "6.6.60-r1",
        "kmod-nvme": "6.6.60-r1",
        "kmod-phy-airoha-en8811h": "6.6.60-r1",
        "kmod-phy-aquantia": "6.6.60-r1",
        "kmod-ppp": "6.6.60-r1",
        "kmod-pppoe": "6.6.60-r1",
        "kmod-pppox": "6.6.60-r1",
        "kmod-qcom-qmi-helpers": "6.6.60.6.11.2-r1",
        "kmod-sfp": "6.6.60-r1",
        "kmod-slhc": "6.6.60-r1",
        "kmod-usb-acm": "6.6.60-r1",
        "kmod-usb-net": "6.6.60-r1",
        "kmod-usb-net-cdc-eem": "6.6.60-r1",
        "kmod-usb-net-cdc-ether": "6.6.60-r1",
        "kmod-usb-net-cdc-mbim": "6.6.60-r1",
        "kmod-usb-net-cdc-ncm": "6.6.60-r1",
        "kmod-usb-net-cdc-subset": "6.6.60-r1",
        "kmod-usb-net-hso": "6.6.60-r1",
        "kmod-usb-net-qmi-wwan": "6.6.60-r1",
        "kmod-usb-net-rndis": "6.6.60-r1",
        "kmod-usb-net-sierrawireless": "6.6.60-r1",
        "kmod-usb-serial-option": "6.6.60-r1",
        "kmod-usb-serial-sierrawireless": "6.6.60-r1",
        "kmod-usb-serial-simple": "6.6.60-r1",
        "kmod-usb-serial-wwan": "6.6.60-r1",
        "kmod-usb-storage": "6.6.60-r1",
        "kmod-usb-storage-uas": "6.6.60-r1",
        "kmod-usb3": "6.6.60-r1",
        "kmod-wwan": "6.6.60-r1",
        "kmod-zram": "6.6.60-r1",
        "libblobmsg-json20240329": "2024.03.29~eb9bcb64-r1",
        "libc": "1.2.5-r4",
        "libgcc1": "13.3.0-r4",
        "libiwinfo-data": "2024.10.20~b94f066e-r1",
        "libiwinfo20230701": "2024.10.20~b94f066e-r1",
        "libjson-c5": "0.18-r1",
        "libjson-script20240329": "2024.03.29~eb9bcb64-r1",
        "libmbedtls21": "3.6.2-r1",
        "libmbim": "1.30.0-r2",
        "libmnl0": "1.0.5-r1",
        "libnetfilter-queue1": "1.0.5-r4",
        "libnfnetlink0": "1.0.2-r1",
        "libnftnl11": "1.2.8-r1",
        "libnl-tiny1": "2023.12.05~965c4bf4-r1",
        "libopenssl3": "3.0.15-r1",
        "libqmi": "1.34.0-r2",
        "libtasn1": "4.19.0-r2",
        "libubox20240329": "2024.03.29~eb9bcb64-r1",
        "libubus20241020": "2024.10.20~252a9b0c-r1",
        "libuci20130104": "2024.11.26~10f7996e-r1",
        "libuclient20201210": "2024.10.22~88ae8f20-r1",
        "libucode20230711": "2024.12.02~b0b5d938-r1",
        "libudebug": "2023.12.06~6d3f51f9",
        "libudev-zero": "1.0.3-r1",
        "libustream-mbedtls20201210": "2024.07.28~99bd3d2b-r1",
        "lm-sensors": "3.6.0-r1",
        "logd": "2024.04.26~85f10530-r1",
        "lsblk": "2.40.2-r1",
        "luci": "24.338.58761~e76155d",
        "luci-app-attendedsysupgrade": "24.338.58761~e76155d",
        "luci-app-commands": "24.338.58761~e76155d",
        "luci-app-https-dns-proxy": "2023.12.26-r1",
        "luci-app-package-manager": "24.338.58761~e76155d",
        "luci-app-samba4": "24.338.58761~e76155d",
        "luci-app-watchcat": "24.338.58761~e76155d",
        "luci-app-zapret": "69.20241123-r1",
        "luci-proto-3g": "24.338.58761~e76155d",
        "luci-proto-autoip": "24.338.58761~e76155d",
        "luci-proto-mbim": "24.338.58761~e76155d",
        "luci-proto-ncm": "24.338.58761~e76155d",
        "luci-proto-qmi": "24.338.58761~e76155d",
        "luci-proto-wireguard": "24.338.58761~e76155d",
        "luci-theme-bootstrap": "24.338.58761~e76155d",
        "mbim-utils": "1.30.0-r2",
        "mc": "4.8.32-r1",
        "minicom": "2.9-r1",
        "mkf2fs": "1.16.0-r3",
        "mt7986-wo-firmware": "20241110-r1",
        "mt7988-2p5g-phy-firmware": "20241110-r1",
        "mtd": "26",
        "nano": "8.2-r1",
        "netifd": "2024.11.27~768027c5-r2",
        "nftables-json": "1.1.1-r1",
        "ntp-utils": "4.2.8_p17-r3",
        "ntpdate": "4.2.8_p17-r3",
        "odhcp6c": "2024.09.25~b6ae9ffa-r1",
        "odhcpd-ipv6only": "2024.05.08~a2988231-r1",
        "openssh-sftp-server": "9.9_p1-r1",
        "openwrt-keyring": "2024.11.01~fbae29d7-r2",
        "owut": "2024.11.29~286d1014-r1",
        "pciutils": "3.12.0-r2",
        "picocom": "3.1-r5",
        "ppp": "2.5.1-r1",
        "ppp-mod-pppoe": "2.5.1-r1",
        "procd": "2024.11.13~7330fa55-r1",
        "procd-seccomp": "2024.11.13~7330fa55-r1",
        "procd-ujail": "2024.11.13~7330fa55-r1",
        "procps-ng": "4.0.4-r1",
        "procps-ng-ps": "4.0.4-r1",
        "procps-ng-top": "4.0.4-r1",
        "procps-ng-watch": "4.0.4-r1",
        "qmi-utils": "1.34.0-r2",
        "rsync": "3.3.0-r2",
        "samba4-server": "4.18.8-r1",
        "socat": "1.8.0.0-r2",
        "speedtest-go": "1.7.9-r1",
        "ubi-utils": "2.2.1-r1",
        "uboot-envtools": "2024.07-r1",
        "ubox": "2024.04.26~85f10530-r1",
        "ubus": "2024.10.20~252a9b0c-r1",
        "ubusd": "2024.10.20~252a9b0c-r1",
        "uci": "2024.11.26~10f7996e-r1",
        "uclient-fetch": "2024.10.22~88ae8f20-r1",
        "ucode": "2024.12.02~b0b5d938-r1",
        "ucode-mod-fs": "2024.12.02~b0b5d938-r1",
        "ucode-mod-nl80211": "2024.12.02~b0b5d938-r1",
        "ucode-mod-rtnl": "2024.12.02~b0b5d938-r1",
        "ucode-mod-ubus": "2024.12.02~b0b5d938-r1",
        "ucode-mod-uci": "2024.12.02~b0b5d938-r1",
        "ucode-mod-uloop": "2024.12.02~b0b5d938-r1",
        "umbim": "2022.08.13~146bc77c-r25",
        "unzip": "6.0-r8",
        "uqmi": "2024.08.25~28b48a10-r2",
        "urandom-seed": "3",
        "urngd": "2023.11.01~44365eb1-r1",
        "usbids": "0.387-r1",
        "usbutils": "017-r1",
        "usign": "2020.05.23~f1f65026-r1",
        "wireguard-tools": "1.0.20210914-r4",
        "wpad-basic-mbedtls": "2024.09.15~5ace39b0-r2",
        "zapret": "69.20241123",
        "zapret-ip2net": "69.20241123",
        "zapret-mdig": "69.20241123",
        "zlib": "1.3.1-r1",
        "zoneinfo-europe": "2024b-r1",
        "zoneinfo-simple": "2024b-r1"
    },
    "profile": "bananapi,bpi-r3-mini",
    "target": "mediatek/filogic",
    "version": "SNAPSHOT",
    "diff_packages": true,
    "filesystem": "squashfs"
}

@efahl
Copy link
Contributor

efahl commented Dec 6, 2024

I also can not upgrade from one snapshot (r28091-77cfe8fd15) to a latest one (r28246-ce66385):

What error are you seeing?

@geak
Copy link

geak commented Dec 6, 2024

I also can not upgrade from one snapshot (r28091-77cfe8fd15) to a latest one (r28246-ce66385):

What error are you seeing?

As far as I remember there was nothing specific, just what I posted above. Unfortunately I can not check it again, because "Attended Sysupgrade" is stuck with this now 😔️️️️️️:

Searching for an available sysupgrade of SNAPSHOT - r28091-77cfe8fd15

UPDATE I just noticed that the output above contains package names that are not in the main repository despite the fact that I removed them from the packages list before requesting a firmware build.

@geak
Copy link

geak commented Dec 8, 2024

# owut download -v
owut - OpenWrt Upgrade Tool 2024.11.29~286d1014-r1 (/usr/bin/owut)
Downloaded https://sysupgrade.openwrt.org/json/v1/overview.json to /tmp/owut-overview.json (15017B at 0.229 Mbps)
Downloaded https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/profiles.json to /tmp/owut-platform.json (101267B at 0.773 Mbps)
Downloaded https://sysupgrade.openwrt.org/json/v1/snapshots/packages/aarch64_cortex-a53-index.json to /tmp/owut-packages-arch.json (346071B at 0.880 Mbps)
Downloaded https://sysupgrade.openwrt.org/json/v1/snapshots/targets/mediatek/filogic/index.json to /tmp/owut-packages-plat.json (36820B at 0.281 Mbps)
ASU-Server     https://sysupgrade.openwrt.org
Upstream       https://downloads.openwrt.org
Target         mediatek/filogic
Profile        bananapi_bpi-r3-mini
Package-arch   aarch64_cortex-a53
Root-FS-type   squashfs
Sys-type       sysupgrade
Version-from   SNAPSHOT r28091-77cfe8fd15 (kernel 6.6.60)
Version-to     SNAPSHOT r28251-b4cc5743d9 (kernel 6.6.63)
Build-FS-type  squashfs
Build-at       2024-12-05T01:34:01Z (~80 hours ago)
Image-prefix   openwrt-mediatek-filogic-bananapi_bpi-r3-mini
Image-URL      https://downloads.openwrt.org/snapshots/targets/mediatek/filogic
Image-file     openwrt-mediatek-filogic-bananapi_bpi-r3-mini-squashfs-sysupgrade.itb
Installed      371 packages
Top-level      222 packages
Default         41 packages
User-installed 186 packages (top-level only)

Package version changes:
  base-files                          1633~77cfe8fd15                            missing to-version
  kmod-cfg80211                       6.6.60.6.11.2-r1                           6.6.63.6.11.2-r1
  kmod-crypto-acompress               6.6.60-r1                                  6.6.63-r1
  kmod-crypto-aead                    6.6.60-r1                                  6.6.63-r1
  kmod-crypto-authenc                 6.6.60-r1                                  6.6.63-r1
  kmod-crypto-ccm                     6.6.60-r1                                  6.6.63-r1
  kmod-crypto-cmac                    6.6.60-r1                                  6.6.63-r1
  kmod-crypto-crc32                   6.6.60-r1                                  6.6.63-r1
  kmod-crypto-crc32c                  6.6.60-r1                                  6.6.63-r1
  kmod-crypto-ctr                     6.6.60-r1                                  6.6.63-r1
  kmod-crypto-des                     6.6.60-r1                                  6.6.63-r1
  kmod-crypto-gcm                     6.6.60-r1                                  6.6.63-r1
  kmod-crypto-geniv                   6.6.60-r1                                  6.6.63-r1
  kmod-crypto-gf128                   6.6.60-r1                                  6.6.63-r1
  kmod-crypto-ghash                   6.6.60-r1                                  6.6.63-r1
  kmod-crypto-hash                    6.6.60-r1                                  6.6.63-r1
  kmod-crypto-hmac                    6.6.60-r1                                  6.6.63-r1
  kmod-crypto-hw-safexcel             6.6.60-r1                                  6.6.63-r1
  kmod-crypto-kpp                     6.6.60-r1                                  6.6.63-r1
  kmod-crypto-lib-chacha20            6.6.60-r1                                  6.6.63-r1
  kmod-crypto-lib-chacha20poly1305    6.6.60-r1                                  6.6.63-r1
  kmod-crypto-lib-curve25519          6.6.60-r1                                  6.6.63-r1
  kmod-crypto-lib-poly1305            6.6.60-r1                                  6.6.63-r1
  kmod-crypto-manager                 6.6.60-r1                                  6.6.63-r1
  kmod-crypto-md5                     6.6.60-r1                                  6.6.63-r1
  kmod-crypto-null                    6.6.60-r1                                  6.6.63-r1
  kmod-crypto-rng                     6.6.60-r1                                  6.6.63-r1
  kmod-crypto-seqiv                   6.6.60-r1                                  6.6.63-r1
  kmod-crypto-sha1                    6.6.60-r1                                  6.6.63-r1
  kmod-crypto-sha256                  6.6.60-r1                                  6.6.63-r1
  kmod-crypto-sha3                    6.6.60-r1                                  6.6.63-r1
  kmod-crypto-sha512                  6.6.60-r1                                  6.6.63-r1
  kmod-fs-exfat                       6.6.60-r1                                  6.6.63-r1
  kmod-fs-ext4                        6.6.60-r1                                  6.6.63-r1
  kmod-fs-f2fs                        6.6.60-r1                                  6.6.63-r1
  kmod-fs-vfat                        6.6.60-r1                                  6.6.63-r1
  kmod-gpio-button-hotplug            6.6.60-r5                                  6.6.63-r5
  kmod-hwmon-core                     6.6.60-r1                                  6.6.63-r1
  kmod-hwmon-pwmfan                   6.6.60-r1                                  6.6.63-r1
  kmod-i2c-core                       6.6.60-r1                                  6.6.63-r1
  kmod-i2c-mux                        6.6.60-r1                                  6.6.63-r1
  kmod-i2c-mux-gpio                   6.6.60-r1                                  6.6.63-r1
  kmod-ipt-core                       6.6.60-r1                                  6.6.63-r1
  kmod-leds-gpio                      6.6.60-r1                                  6.6.63-r1
  kmod-lib-crc-ccitt                  6.6.60-r1                                  6.6.63-r1
  kmod-lib-crc16                      6.6.60-r1                                  6.6.63-r1
  kmod-lib-crc32c                     6.6.60-r1                                  6.6.63-r1
  kmod-lib-lzo                        6.6.60-r1                                  6.6.63-r1
  kmod-libphy                         6.6.60-r1                                  6.6.63-r1
  kmod-mac80211                       6.6.60.6.11.2-r1                           6.6.63.6.11.2-r1
  kmod-mhi-bus                        6.6.60-r1                                  6.6.63-r1
  kmod-mhi-wwan-mbim                  6.6.60-r1                                  6.6.63-r1
  kmod-mii                            6.6.60-r1                                  6.6.63-r1
  kmod-mt76-connac                    6.6.60.2024.10.28~c246fa54-r1              6.6.63.2024.10.28~c246fa54-r1
  kmod-mt76-core                      6.6.60.2024.10.28~c246fa54-r1              6.6.63.2024.10.28~c246fa54-r1
  kmod-mt7915-firmware                6.6.60.2024.10.28~c246fa54-r1              6.6.63.2024.10.28~c246fa54-r1
  kmod-mt7915e                        6.6.60.2024.10.28~c246fa54-r1              6.6.63.2024.10.28~c246fa54-r1
  kmod-mt7986-firmware                6.6.60.2024.10.28~c246fa54-r1              6.6.63.2024.10.28~c246fa54-r1
  kmod-mt7996-233-firmware            6.6.60.2024.10.28~c246fa54-r1              6.6.63.2024.10.28~c246fa54-r1
  kmod-mt7996-firmware                6.6.60.2024.10.28~c246fa54-r1              6.6.63.2024.10.28~c246fa54-r1
  kmod-mt7996-firmware-common         6.6.60.2024.10.28~c246fa54-r1              6.6.63.2024.10.28~c246fa54-r1
  kmod-mt7996e                        6.6.60.2024.10.28~c246fa54-r1              6.6.63.2024.10.28~c246fa54-r1
  kmod-mtk-t7xx                       6.6.60-r1                                  6.6.63-r1
  kmod-nf-conntrack                   6.6.60-r1                                  6.6.63-r1
  kmod-nf-conntrack6                  6.6.60-r1                                  6.6.63-r1
  kmod-nf-flow                        6.6.60-r1                                  6.6.63-r1
  kmod-nf-ipt                         6.6.60-r1                                  6.6.63-r1
  kmod-nf-log                         6.6.60-r1                                  6.6.63-r1
  kmod-nf-log6                        6.6.60-r1                                  6.6.63-r1
  kmod-nf-nat                         6.6.60-r1                                  6.6.63-r1
  kmod-nf-reject                      6.6.60-r1                                  6.6.63-r1
  kmod-nf-reject6                     6.6.60-r1                                  6.6.63-r1
  kmod-nfnetlink                      6.6.60-r1                                  6.6.63-r1
  kmod-nfnetlink-queue                6.6.60-r1                                  6.6.63-r1
  kmod-nft-compat                     6.6.60-r1                                  6.6.63-r1
  kmod-nft-core                       6.6.60-r1                                  6.6.63-r1
  kmod-nft-fib                        6.6.60-r1                                  6.6.63-r1
  kmod-nft-nat                        6.6.60-r1                                  6.6.63-r1
  kmod-nft-offload                    6.6.60-r1                                  6.6.63-r1
  kmod-nft-queue                      6.6.60-r1                                  6.6.63-r1
  kmod-nls-base                       6.6.60-r1                                  6.6.63-r1
  kmod-nls-cp437                      6.6.60-r1                                  6.6.63-r1
  kmod-nls-iso8859-1                  6.6.60-r1                                  6.6.63-r1
  kmod-nls-utf8                       6.6.60-r1                                  6.6.63-r1
  kmod-nvme                           6.6.60-r1                                  6.6.63-r1
  kmod-phy-airoha-en8811h             6.6.60-r1                                  6.6.63-r1
  kmod-phy-aquantia                   6.6.60-r1                                  6.6.63-r1
  kmod-phylink                        6.6.60-r1                                  6.6.63-r1
  kmod-ppp                            6.6.60-r1                                  6.6.63-r1
  kmod-pppoe                          6.6.60-r1                                  6.6.63-r1
  kmod-pppox                          6.6.60-r1                                  6.6.63-r1
  kmod-qcom-qmi-helpers               6.6.60.6.11.2-r1                           6.6.63.6.11.2-r1
  kmod-scsi-core                      6.6.60-r1                                  6.6.63-r1
  kmod-sfp                            6.6.60-r1                                  6.6.63-r1
  kmod-slhc                           6.6.60-r1                                  6.6.63-r1
  kmod-thermal                        6.6.60-r1                                  6.6.63-r1
  kmod-udptunnel4                     6.6.60-r1                                  6.6.63-r1
  kmod-udptunnel6                     6.6.60-r1                                  6.6.63-r1
  kmod-usb-acm                        6.6.60-r1                                  6.6.63-r1
  kmod-usb-core                       6.6.60-r1                                  6.6.63-r1
  kmod-usb-net                        6.6.60-r1                                  6.6.63-r1
  kmod-usb-net-cdc-eem                6.6.60-r1                                  6.6.63-r1
  kmod-usb-net-cdc-ether              6.6.60-r1                                  6.6.63-r1
  kmod-usb-net-cdc-mbim               6.6.60-r1                                  6.6.63-r1
  kmod-usb-net-cdc-ncm                6.6.60-r1                                  6.6.63-r1
  kmod-usb-net-cdc-subset             6.6.60-r1                                  6.6.63-r1
  kmod-usb-net-hso                    6.6.60-r1                                  6.6.63-r1
  kmod-usb-net-huawei-cdc-ncm         6.6.60-r1                                  6.6.63-r1
  kmod-usb-net-qmi-wwan               6.6.60-r1                                  6.6.63-r1
  kmod-usb-net-rndis                  6.6.60-r1                                  6.6.63-r1
  kmod-usb-net-sierrawireless         6.6.60-r1                                  6.6.63-r1
  kmod-usb-serial                     6.6.60-r1                                  6.6.63-r1
  kmod-usb-serial-option              6.6.60-r1                                  6.6.63-r1
  kmod-usb-serial-sierrawireless      6.6.60-r1                                  6.6.63-r1
  kmod-usb-serial-simple              6.6.60-r1                                  6.6.63-r1
  kmod-usb-serial-wwan                6.6.60-r1                                  6.6.63-r1
  kmod-usb-storage                    6.6.60-r1                                  6.6.63-r1
  kmod-usb-storage-uas                6.6.60-r1                                  6.6.63-r1
  kmod-usb-wdm                        6.6.60-r1                                  6.6.63-r1
  kmod-usb-xhci-hcd                   6.6.60-r1                                  6.6.63-r1
  kmod-usb-xhci-mtk                   6.6.60-r1                                  6.6.63-r1
  kmod-usb3                           6.6.60-r1                                  6.6.63-r1
  kmod-wireguard                      6.6.60-r1                                  6.6.63-r1
  kmod-wwan                           6.6.60-r1                                  6.6.63-r1
  kmod-zram                           6.6.60-r1                                  6.6.63-r1
  openwrt-keyring                     2024.11.01~fbae29d7-r2                     2024.11.01~fbae29d7-r1
1 packages missing in target version, cannot upgrade
1 packages were downgraded
126 packages are out-of-date

It says "missing to-version" for base-files.

@efahl
Copy link
Contributor

efahl commented Dec 10, 2024

@geak

It says "missing to-version" for base-files.

Thanks for confirming, I've seen that on some combination of oldish-snapshot going to new snapshot, too. I will investigate...

@geak
Copy link

geak commented Dec 11, 2024

Seems it works now without any issues and allows me to install latest snapshot firmware. And.. It successfully did it! Thank you!

Model            Bananapi BPi-R3 Mini
Architecture     ARMv8 Processor rev 4
Target Platform  mediatek/filogic
Firmware Version OpenWrt SNAPSHOT r28277-59dd9cddf9 / LuCI Master 24.342.58028~679d3b8

Was: r28091-77cfe8fd15

@satmandu
Copy link

satmandu commented Dec 12, 2024

I'm seeing a lot more packages missing when trying to do a snapshot upgrade:

owut download -v
owut - OpenWrt Upgrade Tool 2024.10.27~8c7e42f0-r1 (/usr/bin/owut)
Downloaded https://sysupgrade.openwrt.org/json/v1/overview.json to /tmp/owut-overview.json (14797B at 0.113 Mbps)
Downloaded https://downloads.openwrt.org/snapshots/targets/bcm27xx/bcm2711/profiles.json to /tmp/owut-platform.json (2226B at 0.034 Mbps)
Mapping platform raspberrypi_4-compute-module to rpi-4
Downloaded https://sysupgrade.openwrt.org/json/v1/snapshots/packages/aarch64_cortex-a72-index.json to /tmp/owut-packages-arch.json (346092B at 2.640 Mbps)
Downloaded https://sysupgrade.openwrt.org/json/v1/snapshots/targets/bcm27xx/bcm2711/index.json to /tmp/owut-packages-plat.json (39774B at 0.303 Mbps)
ASU-Server     https://sysupgrade.openwrt.org
Upstream       https://downloads.openwrt.org
Target         bcm27xx/bcm2711
Profile        rpi-4
Package-arch   aarch64_cortex-a72
Root-FS-type   ext4
Sys-type       sysupgrade
Version-from   SNAPSHOT r28050-be952e98bc (kernel 6.6.60)
Version-to     SNAPSHOT r28282-0d21cc8a92 (kernel 6.6.63)
Build-FS-type  ext4
Build-at       2024-12-10T20:18:06Z (~28 hours ago)
Image-prefix   openwrt-bcm27xx-bcm2711-rpi-4
Image-URL      https://downloads.openwrt.org/snapshots/targets/bcm27xx/bcm2711
Image-file     openwrt-bcm27xx-bcm2711-rpi-4-ext4-sysupgrade.img.gz
Installed      309 packages
Top-level      143 packages
Default         42 packages
User-installed 115 packages (top-level only)

Package version changes:
  apk-mbedtls                         not-installed                              3.0.0_pre20241130-r1
  base-files                          1631~be952e98bc                            missing to-version
  brcmfmac-firmware-usb               20241017-r1                                20241110-r1
  brcmfmac-nvram-43455-sdio           20241017-r1                                20241110-r1
  busybox                             1.36.1-r2                                  1.37.0-r3
  dropbear                            2024.85-r1                                 2024.86-r1
  fstools                             2024.07.14~408c2cc4-r1                     2024.12.02~49d36ba2-r1
  haproxy                             3.0.5-r1                                   3.0.6-r1
  jansson                             2.14-r3                                    missing to-version
  kmod-brcmfmac                       6.6.60.6.11.2-r1                           6.6.63.6.11.2-r1
  kmod-brcmutil                       6.6.60.6.11.2-r1                           6.6.63.6.11.2-r1
  kmod-cfg80211                       6.6.60.6.11.2-r1                           6.6.63.6.11.2-r1
  kmod-crypto-acompress               6.6.60-r1                                  6.6.63-r1
  kmod-crypto-crc32c                  6.6.60-r1                                  6.6.63-r1
  kmod-crypto-hash                    6.6.60-r1                                  6.6.63-r1
  kmod-crypto-kpp                     6.6.60-r1                                  6.6.63-r1
  kmod-crypto-lib-chacha20            6.6.60-r1                                  6.6.63-r1
  kmod-crypto-lib-chacha20poly1305    6.6.60-r1                                  6.6.63-r1
  kmod-crypto-lib-curve25519          6.6.60-r1                                  6.6.63-r1
  kmod-crypto-lib-poly1305            6.6.60-r1                                  6.6.63-r1
  kmod-fixed-phy                      6.6.60-r1                                  6.6.63-r1
  kmod-fs-vfat                        6.6.60-r1                                  6.6.63-r1
  kmod-hid                            6.6.60-r1                                  6.6.63-r1
  kmod-hid-generic                    6.6.60-r1                                  6.6.63-r1
  kmod-ikconfig                       6.6.60-r1                                  6.6.63-r1
  kmod-input-core                     6.6.60-r1                                  6.6.63-r1
  kmod-input-evdev                    6.6.60-r1                                  6.6.63-r1
  kmod-ip6tables                      6.6.60-r1                                  6.6.63-r1
  kmod-ipt-conntrack                  6.6.60-r1                                  6.6.63-r1
  kmod-ipt-conntrack-extra            6.6.60-r1                                  6.6.63-r1
  kmod-ipt-core                       6.6.60-r1                                  6.6.63-r1
  kmod-ipt-ipset                      6.6.60-r1                                  6.6.63-r1
  kmod-ipt-nat                        6.6.60-r1                                  6.6.63-r1
  kmod-ipt-nat6                       6.6.60-r1                                  6.6.63-r1
  kmod-iptunnel                       6.6.60-r1                                  6.6.63-r1
  kmod-iptunnel4                      6.6.60-r1                                  6.6.63-r1
  kmod-ipvlan                         6.6.60-r1                                  6.6.63-r1
  kmod-lib-crc-ccitt                  6.6.60-r1                                  6.6.63-r1
  kmod-lib-crc32c                     6.6.60-r1                                  6.6.63-r1
  kmod-lib-lzo                        6.6.60-r1                                  6.6.63-r1
  kmod-libphy                         6.6.60-r1                                  6.6.63-r1
  kmod-mdio-devres                    6.6.60-r1                                  6.6.63-r1
  kmod-mii                            6.6.60-r1                                  6.6.63-r1
  kmod-mmc                            6.6.60-r1                                  6.6.63-r1
  kmod-nf-conncount                   6.6.60-r1                                  6.6.63-r1
  kmod-nf-conntrack                   6.6.60-r1                                  6.6.63-r1
  kmod-nf-conntrack-netlink           6.6.60-r1                                  6.6.63-r1
  kmod-nf-conntrack6                  6.6.60-r1                                  6.6.63-r1
  kmod-nf-flow                        6.6.60-r1                                  6.6.63-r1
  kmod-nf-ipt                         6.6.60-r1                                  6.6.63-r1
  kmod-nf-ipt6                        6.6.60-r1                                  6.6.63-r1
  kmod-nf-log                         6.6.60-r1                                  6.6.63-r1
  kmod-nf-log6                        6.6.60-r1                                  6.6.63-r1
  kmod-nf-nat                         6.6.60-r1                                  6.6.63-r1
  kmod-nf-nat6                        6.6.60-r1                                  6.6.63-r1
  kmod-nf-reject                      6.6.60-r1                                  6.6.63-r1
  kmod-nf-reject6                     6.6.60-r1                                  6.6.63-r1
  kmod-nfnetlink                      6.6.60-r1                                  6.6.63-r1
  kmod-nft-compat                     6.6.60-r1                                  6.6.63-r1
  kmod-nft-core                       6.6.60-r1                                  6.6.63-r1
  kmod-nft-fib                        6.6.60-r1                                  6.6.63-r1
  kmod-nft-nat                        6.6.60-r1                                  6.6.63-r1
  kmod-nft-offload                    6.6.60-r1                                  6.6.63-r1
  kmod-nls-base                       6.6.60-r1                                  6.6.63-r1
  kmod-nls-cp437                      6.6.60-r1                                  6.6.63-r1
  kmod-nls-iso8859-1                  6.6.60-r1                                  6.6.63-r1
  kmod-nls-utf8                       6.6.60-r1                                  6.6.63-r1
  kmod-of-mdio                        6.6.60-r1                                  6.6.63-r1
  kmod-phy-microchip                  6.6.60-r1                                  6.6.63-r1
  kmod-phy-realtek                    6.6.60-r1                                  6.6.63-r1
  kmod-ppp                            6.6.60-r1                                  6.6.63-r1
  kmod-pppoe                          6.6.60-r1                                  6.6.63-r1
  kmod-pppox                          6.6.60-r1                                  6.6.63-r1
  kmod-r8169                          6.6.60-r1                                  6.6.63-r1
  kmod-sit                            6.6.60-r1                                  6.6.63-r1
  kmod-slhc                           6.6.60-r1                                  6.6.63-r1
  kmod-sound-arm-bcm2835              6.6.60-r1                                  6.6.63-r1
  kmod-sound-core                     6.6.60-r1                                  6.6.63-r1
  kmod-tcp-bbr                        6.6.60-r1                                  6.6.63-r1
  kmod-udptunnel4                     6.6.60-r1                                  6.6.63-r1
  kmod-udptunnel6                     6.6.60-r1                                  6.6.63-r1
  kmod-usb-core                       6.6.60-r1                                  6.6.63-r1
  kmod-usb-dwc2                       6.6.60-r1                                  6.6.63-r1
  kmod-usb-ehci                       6.6.60-r1                                  6.6.63-r1
  kmod-usb-gadget                     6.6.60-r1                                  6.6.63-r1
  kmod-usb-hid                        6.6.60-r1                                  6.6.63-r1
  kmod-usb-net                        6.6.60-r1                                  6.6.63-r1
  kmod-usb-net-asix-ax88179           6.6.60-r1                                  6.6.63-r1
  kmod-usb-net-cdc-ether              6.6.60-r1                                  6.6.63-r1
  kmod-usb-net-lan78xx                6.6.60-r1                                  6.6.63-r1
  kmod-usb-net-rndis                  6.6.60-r1                                  6.6.63-r1
  kmod-usb-roles                      6.6.60-r1                                  6.6.63-r1
  kmod-usb2                           6.6.60-r1                                  6.6.63-r1
  kmod-wireguard                      6.6.60-r1                                  6.6.63-r1
  libatomic                           13.3.0-r4                                  missing to-version
  libblkid                            2.40.2-r1                                  missing to-version
  libblobmsg-json                     2024.03.29~eb9bcb64-r1                     missing to-version
  libbz2                              1.0.8-r1                                   missing to-version
  libcomerr                           1.47.0-r2                                  missing to-version
  libcurl                             8.10.1-r1                                  missing to-version
  libe2p                              1.47.0-r2                                  missing to-version
  libevent2-core                      2.1.12-r2                                  missing to-version
  libext2fs                           1.47.0-r2                                  missing to-version
  libf2fs                             1.16.0-r3                                  missing to-version
  libgcc                              13.3.0-r4                                  missing to-version
  libgmp                              6.3.0-r1                                   missing to-version
  libipset                            7.21-r1                                    missing to-version
  libiptext                           1.8.10-r1                                  missing to-version
  libiptext-nft                       1.8.10-r1                                  missing to-version
  libiptext6                          1.8.10-r1                                  missing to-version
  libiwinfo                           2024.10.20~b94f066e-r1                     missing to-version
  libjson-c                           0.18-r1                                    missing to-version
  libjson-script                      2024.03.29~eb9bcb64-r1                     missing to-version
  libltdl                             2.4.7-r1                                   missing to-version
  liblua                              5.1.5-r11                                  missing to-version
  liblua5.3                           5.3.5-r6                                   missing to-version
  liblucihttp                         2023.03.15~9b5b683f-r1                     missing to-version
  libmbedtls                          3.6.2-r1                                   missing to-version
  libmnl                              1.0.5-r1                                   missing to-version
  libncurses                          6.4-r2                                     missing to-version
  libnetfilter-conntrack              1.0.9-r2                                   missing to-version
  libnettle                           3.9.1-r1                                   missing to-version
  libnfnetlink                        1.0.2-r1                                   missing to-version
  libnftnl                            1.2.8-r1                                   missing to-version
  libnghttp2                          1.63.0-r1                                  missing to-version
  libnl-tiny                          2023.12.05~965c4bf4-r1                     missing to-version
  libopenssl                          3.0.15-r1                                  missing to-version
  libpcap                             1.10.5-r1                                  missing to-version
  libreadline                         8.2-r2                                     missing to-version
  libsmartcols                        2.40.2-r1                                  missing to-version
  libss                               1.47.0-r2                                  missing to-version
  libstdcpp                           13.3.0-r4                                  missing to-version
  libubox                             2024.03.29~eb9bcb64-r1                     missing to-version
  libubus                             2024.10.20~252a9b0c-r1                     missing to-version
  libuci                              2023.08.10~5781664d-r1                     missing to-version
  libuci-lua                          2023.08.10~5781664d-r1                     2024.11.26~10f7996e-r1
  libuclient                          2024.10.22~88ae8f20-r1                     missing to-version
  libucode                            2024.07.22~b610860d-r3                     missing to-version
  libusb-1.0                          1.0.27-r1                                  missing to-version
  libustream-mbedtls                  2024.07.28~99bd3d2b-r1                     missing to-version
  libuuid                             2.40.2-r1                                  missing to-version
  libuv                               1.48.0-r1                                  missing to-version
  libxtables                          1.8.10-r1                                  missing to-version
  luci                                24.315.52043~d650688                       24.342.58028~679d3b8
  luci-app-acme                       24.315.52043~d650688                       24.342.58028~679d3b8
  luci-app-attendedsysupgrade         24.315.52043~d650688                       24.342.58028~679d3b8
  luci-app-ddns                       24.315.52043~d650688                       24.342.58028~679d3b8
  luci-app-firewall                   24.315.52043~d650688                       24.342.58028~679d3b8
  luci-app-package-manager            24.315.52043~d650688                       24.342.58028~679d3b8
  luci-app-snmpd                      24.315.52043~d650688                       24.342.58028~679d3b8
  luci-app-ttyd                       24.315.52043~d650688                       24.342.58028~679d3b8
  luci-app-uhttpd                     24.315.52043~d650688                       24.342.58028~679d3b8
  luci-base                           24.315.52043~d650688                       24.342.58028~679d3b8
  luci-compat                         24.315.52043~d650688                       24.342.58028~679d3b8
  luci-lib-base                       24.315.52043~d650688                       24.342.58028~679d3b8
  luci-lib-ip                         24.315.52043~d650688                       24.342.58028~679d3b8
  luci-lib-jsonc                      24.315.52043~d650688                       24.342.58028~679d3b8
  luci-lib-nixio                      24.315.52043~d650688                       24.342.58028~679d3b8
  luci-lib-uqr                        24.315.52043~d650688                       24.342.58028~679d3b8
  luci-light                          24.315.52043~d650688                       24.342.58028~679d3b8
  luci-lua-runtime                    24.315.52043~d650688                       24.342.58028~679d3b8
  luci-mod-admin-full                 24.315.52043~d650688                       24.342.58028~679d3b8
  luci-mod-network                    24.315.52043~d650688                       24.342.58028~679d3b8
  luci-mod-status                     24.315.52043~d650688                       24.342.58028~679d3b8
  luci-mod-system                     24.315.52043~d650688                       24.342.58028~679d3b8
  luci-proto-ipv6                     24.315.52043~d650688                       24.342.58028~679d3b8
  luci-proto-ppp                      24.315.52043~d650688                       24.342.58028~679d3b8
  luci-proto-wireguard                24.315.52043~d650688                       24.342.58028~679d3b8
  luci-ssl                            24.315.52043~d650688                       24.342.58028~679d3b8
  luci-theme-bootstrap                24.315.52043~d650688                       24.342.58028~679d3b8
  luci-theme-openwrt                  24.315.52043~d650688                       24.342.58028~679d3b8
  luci-theme-openwrt-2020             24.315.52043~d650688                       24.342.58028~679d3b8
  netifd                              2024.11.08~34eb11eb-r1                     2024.11.27~768027c5-r2
  odhcp6c                             2023.05.12~bcd28363-r20                    2024.09.25~b6ae9ffa-r1
  openwrt-keyring                     2024.11.01~fbae29d7-r2                     2024.11.01~fbae29d7-r1
  owut                                2024.10.27~8c7e42f0-r1                     2024.11.29~286d1014-r1
  procd                               2024.11.06~109fa41b-r1                     2024.11.13~7330fa55-r1
  procd-seccomp                       2024.11.06~109fa41b-r1                     2024.11.13~7330fa55-r1
  procd-ujail                         2024.11.06~109fa41b-r1                     2024.11.13~7330fa55-r1
  r8169-firmware                      20241017-r1                                20241110-r1
  rpcd                                2024.09.17~9f4b86e7-r1                     2024.12.02~cc9a471c-r1
  rpcd-mod-file                       2024.09.17~9f4b86e7-r1                     2024.12.02~cc9a471c-r1
  rpcd-mod-iwinfo                     2024.09.17~9f4b86e7-r1                     2024.12.02~cc9a471c-r1
  rpcd-mod-rpcsys                     2024.09.17~9f4b86e7-r1                     2024.12.02~cc9a471c-r1
  rpcd-mod-ucode                      2024.09.17~9f4b86e7-r1                     2024.12.02~cc9a471c-r1
  uci                                 2023.08.10~5781664d-r1                     2024.11.26~10f7996e-r1
  ucode                               2024.07.22~b610860d-r3                     2024.12.06~209f041f-r1
  ucode-mod-fs                        2024.07.22~b610860d-r3                     2024.12.06~209f041f-r1
  ucode-mod-math                      2024.07.22~b610860d-r3                     2024.12.06~209f041f-r1
  ucode-mod-nl80211                   2024.07.22~b610860d-r3                     2024.12.06~209f041f-r1
  ucode-mod-rtnl                      2024.07.22~b610860d-r3                     2024.12.06~209f041f-r1
  ucode-mod-ubus                      2024.07.22~b610860d-r3                     2024.12.06~209f041f-r1
  ucode-mod-uci                       2024.07.22~b610860d-r3                     2024.12.06~209f041f-r1
  ucode-mod-uloop                     2024.07.22~b610860d-r3                     2024.12.06~209f041f-r1
50 packages missing in target version, cannot upgrade
1 packages were downgraded
194 packages are out-of-date

Automatic package replacements/removals:
  Package                             Replaced-by
  opkg                                apk-mbedtls
Details at https://sysupgrade.openwrt.org/json/v1/overview.json

ERROR: Update checks reveal package downgrades, re-run with '--force' to proceed
Downloaded 4 files, 402889 bytes at 0.878 Mbps

Are there replacements for those packages marked as missing to-version, or should those packages be remapped to other package names?

Missing packages:

base-files
jansson
libatomic
libblkid
libblobmsg-json
libbz2
libcomerr
libcurl
libe2p
libevent2-core
libext2fs
libf2fs
libgcc
libgmp
libipset
libiptext
libiptext-nft
libiptext6
libiwinfo
libjson-c
libjson-script
libltdl
liblua
liblua5.3
liblucihttp
libmbedtls
libmnl
libncurses
libnetfilter-conntrack
libnettle
libnfnetlink
libnftnl
libnghttp2
libnl-tiny
libopenssl
libpcap
libreadline
libsmartcols
libss
libstdcpp
libubox
libubus
libuci
libuclient
libucode
libusb-1.0
libustream-mbedtls
libuuid
libuv
libxtables

@efahl
Copy link
Contributor

efahl commented Dec 12, 2024

Are there replacements for those packages marked as missing to-version, or should those packages be remapped to other package names?

The missing base-files was due to a change in the builds, and was fixed in owut yesterday (awaiting the PR in packages).

The rest of those are "missing" because the apk versions of the package contain ABI-version info on the name and there's no way to know that, say, jansson4 and jansson are the same package. This is an ongoing thing, and won't be fixed soon, but once you get past the opkg -> apk transition, they won't be visible as they'll (mostly) be consistently wrong.

But, since all of those are either defaults or included by dependencies, it won't break anything to ignore them. Give --force a try and see if owut will allow you to build. If not, you'll have to generate the package list (owut list can do that) and run it through the Firmware Selector, which shouldn't care as it doesn't do any package consistency checks (it relies on the imagebuilder to do that).

@satmandu
Copy link

After updating owut manually, doing owut list -f fs-all and then adding that list to the Firmware Selector dialog box for packages allowed me to create a sysupgrade firmware that worked for me. Thanks for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants