ERROR: Metadata for package util-linux-openrc-2.38.1-r1 is too long.
Since Nov 24 the following happens when updating this Alpine/edge system:
# apk add -v
(1/15) Installing util-linux-openrc (2.38.1-r1)
(2/15) Installing flock (2.38.1-r1)
(3/15) Installing lsblk (2.38.1-r1)
(4/15) Installing setpriv (2.38.1-r1)
(5/15) Installing partx (2.38.1-r1)
(6/15) Installing fstrim (2.38.1-r1)
(7/15) Installing util-linux-bash-completion (2.38.1-r1)
(8/15) Installing findmnt (2.38.1-r1)
(9/15) Installing util-linux-doc (2.38.1-r1)
(10/15) Installing xen-libs (4.16.2-r3)
(11/15) Installing xen (4.16.2-r3)
(12/15) Installing xen-bash-completion (4.16.2-r3)
(13/15) Installing xen-doc (4.16.2-r3)
(14/15) Installing xen-hypervisor (4.16.2-r3)
(15/15) Installing xen-qemu (4.16.2-r3)
Executing busybox-1.35.0-r29.trigger
Executing syslinux-6.04_pre1-r11.trigger
Updating extlinux configuration.
Found Xen hypervisor: /boot/xen.gz, kernel: /boot/vmlinuz-lts
Found initramfs: /boot/initramfs-lts
Found microcode for Intel CPUs: /boot/intel-ucode.img
Found Xen hypervisor: /boot/xen.gz, kernel: /boot/vmlinuz-edge
Found initramfs: /boot/initramfs-edge
Found microcode for Intel CPUs: /boot/intel-ucode.img
Found kernel: /boot/vmlinuz-lts
Found initramfs: /boot/initramfs-lts
Found microcode for Intel CPUs: /boot/intel-ucode.img
Found kernel: /boot/vmlinuz-edge
Found initramfs: /boot/initramfs-edge
Found microcode for Intel CPUs: /boot/intel-ucode.img
4 entries found.
Configuration unchanged.
Installing libutil.c32 libcom32.c32 mboot.c32 menu.c32 vesamenu.c32 to /boot.
/boot is device /dev/sdb1
ERROR: Metadata for package util-linux-openrc-2.38.1-r1 is too long. <===
OK: 469 packages, 2822 dirs, 30479 files, 981 MiB
# echo $?
0
I.e. a bunch of other packages need to be updated, but then apk
somehow stumbles over util-linux-openrc
and quits, albeit with an error code of 0, but without committing its changes. Downloading and extracting the package did not reveal anything suspicious on first sight:
# apk fetch -v util-linux-openrc
Downloading util-linux-openrc-2.38.1-r1
Dom0|acorn# gzip -dc util-linux-openrc-2.38.1-r1.apk | tar -xvf -
.SIGN.RSA.alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
.PKGINFO
etc/
etc/conf.d/
etc/conf.d/rfkill
etc/init.d/
etc/init.d/rfkill
# ls -la
total 24
drwxr-x--- 3 root root 4096 Nov 27 21:59 .
drwx------ 11 root root 4096 Nov 27 21:59 ..
-rw-r--r-- 1 root root 853 Nov 22 20:33 .PKGINFO
-rw-r--r-- 1 root root 512 Nov 22 20:33 .SIGN.RSA.alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
drwxr-xr-x 4 root root 4096 Nov 22 20:33 etc
-rw-r--r-- 1 root root 2332 Nov 23 01:35 util-linux-openrc-2.38.1-r1.apk
# cat .PKGINFO
# Generated by abuild 3.10.0_rc1-r2
# using fakeroot version 1.29
# Tue Nov 22 19:33:17 UTC 2022
pkgname = util-linux-openrc
pkgver = 2.38.1-r1
pkgdesc = Random collection of Linux utilities (OpenRC init scripts)
url = https://git.kernel.org/cgit/utils/util-linux/util-linux.git
builddate = 1669145597
packager = Buildozer <alpine-devel@lists.alpinelinux.org>
size = 24576
arch = noarch
origin = util-linux
commit = cc52fd6f1c23fc2e96d59c5aff4b6ce7d62fcf98
maintainer = Natanael Copa <ncopa@alpinelinux.org>
license = GPL-3.0-or-later AND GPL-2.0-or-later AND GPL-2.0-only AND GPL-1.0-only AND LGPL-2.1-or-later AND LGPL-1.0-only AND BSD-1-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND MIT AND Public-Domain
install_if = openrc util-linux=2.38.1-r1
# automatically detected:
datahash = bfb110cc43955f58ceaa573fc5659ae367acdb85798792dad8fceb674fb56e21
...or maybe the license
tag has gotten too long? :-)
Note: that particular error message was mentioned a few days ago in #14371 too.