mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
a6c248e8ad
Currently its not possible to generate apk package.adb package index if
the package has longer description field, which leads to following
failure:
(2352/2353) Installing zoneinfo-all (2024b-r1)
(2353/2353) Installing zstd (1.5.6-r1)
ERROR: System state may be inconsistent: failed to write database: No buffer space available
1 error; 2704 MiB in 2353 packages
The code to read/write installeddb does not really handle long
description well. Until the database is converted to apkv3 format,
truncate the apkv3 descriptions to allow existing code to work.
APKv3 index and packages still contain the original long description
unmodified, so no package rebuild will be needed.
Fixing the issue by backporting the single upstream fix as its not
possible to to upstep apk to the latest Git HEAD due to some
regressions, see commit 692052cdc0e7 ("Revert "apk: update to Git
417a93ceae540444fdbd3f76d1dadf0e15621fdc (2024-11-13)"") for more
details.
Fixes: #16929
References: https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/11038
Upstream-Status: Backport [
|
||
---|---|---|
.. | ||
apk | ||
ca-certificates | ||
fstools | ||
fwtool | ||
gpio-cdev/nu801 | ||
iucode-tool | ||
mtd | ||
openwrt-keyring | ||
opkg | ||
procd | ||
refpolicy | ||
rpcd | ||
selinux-policy | ||
ubox | ||
ubus | ||
ucert | ||
uci | ||
urandom-seed | ||
urngd | ||
usign | ||
zram-swap |