fix(apk): depend on virtual wget-any to prevent HTTPS download breakage#15
Open
SnowedInOwl wants to merge 1 commit into
Open
fix(apk): depend on virtual wget-any to prevent HTTPS download breakage#15SnowedInOwl wants to merge 1 commit into
SnowedInOwl wants to merge 1 commit into
Conversation
Sync upstream OpenWrt 25.12 fixes where installing the wget meta-package pulls wget-nossl and breaks apk HTTPS downloads on Mono Gateway images. - uclient-fetch: provide @wget-any as the default variant - apk: depend on +wget-any instead of +wget - packages feed: bump to include wget @wget-any virtual provides Fixes the issue where `apk add wget` replaces uclient-fetch with wget-nossl, causing `apk update` to fail with HTTPS errors. Cherry-picked from openwrt/openwrt commit 6543c68 and openwrt/packages commit 38e19d3fb6ed5986650b4c57c2edf49ac76f2a24. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes a common OpenWrt 25.12 issue on Mono Gateway images where
apkstops working over HTTPS after thewgetmeta-package is installed.When users run
apk add wget, apk pullswget-nossl, which replaces the stockuclient-fetchsymlink at/usr/bin/wget. Sincewget-nosslhas no HTTPS support, subsequentapk update/apk addcommands fail with:This was observed on a Mono Gateway DK running OpenWrt
25.12.0-rc3(layerscape/armv8_64b).Changes
package/libs/uclient/Makefile: markuclient-fetchas the default provider of virtual@wget-anypackage/system/apk/Makefile: depend on+wget-anyinstead of+wget(apk release bump)feeds.conf.default: bumppackagesfeed to includewgetpackages that also provide@wget-anyUpstream references
uclient: provide virtual wget-anywget: provide virtual wget-anyTest plan
layerscape/armv8_64b/mono_gateway-dkimagereadlink /usr/bin/wget→/bin/uclient-fetchapk updatesucceeds on a fresh imagewget-ssland verifyapk updatestill succeedswgetmeta-package no longer breaks apk HTTPS downloads