upgrade.sh: Try apk fix
Fix #4 (closed)
Outputs
/ # postmarketos-release-upgrade
>>> You are about to upgrade from v21.12 to v22.06.
>>>
>>> This will be done in the following steps:
>>> 1) upgrade packages of v21.12
>>> 2) dry run: upgrade packages to v22.06
>>> 3) upgrade packages to v22.06
>>> 4) prompt to reboot
>>>
>>> A log and backup of your /etc/apk/repositories will be in:
>>> /var/lib/postmarketos-release-upgrade/2022-06-14-164110
>>>
>>> It is strongly recommended to do this via SSH and in tmux/screen.
>>> More information: https://postmarketos.org/upgrade
>>>
>>> This upgrade should work fine, but in the worst case your device
>>> may not boot anymore. Make backups of important data first!
>>>
>>> (Script version: 1.2.0)
>>>
>>> Proceed with upgrade to v22.06? [y/N] y
>>> (1/4) upgrade packages of v21.12
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
OK: 310 MiB in 205 packages
>>> (2/4) dry run: upgrade packages to v22.06
>>> Replacing /etc/apk/repositories...
>>> Old /etc/apk/repositories:
/mnt/pmbootstrap-packages
http://mirror.postmarketos.org/postmarketos/v21.12
http://dl-cdn.alpinelinux.org/alpine/v3.15/main
http://dl-cdn.alpinelinux.org/alpine/v3.15/community
>>> New /etc/apk/repositories:
/mnt/pmbootstrap-packages
http://mirror.postmarketos.org/postmarketos/v22.06
http://dl-cdn.alpinelinux.org/alpine/v3.16/main
http://dl-cdn.alpinelinux.org/alpine/v3.16/community
>>> Running 'apk update' and 'apk upgrade -a --simulate'...
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
fetch http://mirror.postmarketos.org/postmarketos/v22.06/aarch64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz
2022-06-14 09:25:20.877909 [http://mirror.postmarketos.org/postmarketos/v22.06]
v3.16.0-134-ga401ee8906 [http://dl-cdn.alpinelinux.org/alpine/v3.16/main]
v3.16.0-137-gf25214cda8 [http://dl-cdn.alpinelinux.org/alpine/v3.16/community]
OK: 17454 distinct packages available
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
WARNING: This simulation is not reliable as apk-tools upgrade is available.
(1/226) Purging polkit-openrc (0.119-r8)
(2/226) Installing alpine-baselayout-data (3.2.0-r22)
(3/226) Upgrading musl (1.2.2-r7 -> 1.2.3-r0)
(4/226) Upgrading busybox (1.34.1-r5 -> 1.35.0-r14)
(5/226) Upgrading alpine-baselayout (3.2.0-r18 -> 3.2.0-r22)
(6/226) Upgrading ifupdown-ng (0.11.3-r0 -> 0.12.1-r0)
(7/226) Upgrading openrc (0.44.7-r5 -> 0.44.10-r7)
(8/226) Upgrading alpine-conf (3.13.1-r0 -> 3.14.2-r0)
(9/226) Replacing ca-certificates-bundle (20211220-r0 -> 20211220-r0)
(10/226) Replacing libcrypto1.1 (1.1.1o-r0 -> 1.1.1o-r0)
(11/226) Replacing libssl1.1 (1.1.1o-r0 -> 1.1.1o-r0)
(12/226) Upgrading ssl_client (1.34.1-r5 -> 1.35.0-r14)
(13/226) Replacing zlib (1.2.12-r1 -> 1.2.12-r1)
(14/226) Upgrading apk-tools (2.12.7-r3 -> 2.12.9-r3)
(15/226) Upgrading busybox-suid (1.34.1-r5 -> 1.35.0-r14)
(16/226) Installing mdev-conf (4.1-r1)
(17/226) Upgrading busybox-initscripts (4.0-r5 -> 4.1-r1)
(18/226) Upgrading scanelf (1.3.3-r0 -> 1.3.4-r0)
(19/226) Upgrading musl-utils (1.2.2-r7 -> 1.2.3-r0)
(20/226) Replacing libc-utils (0.7.2-r3 -> 0.7.2-r3)
(21/226) Replacing alpine-keys (2.4-r1 -> 2.4-r1)
(22/226) Upgrading alpine-base (3.15.4-r0 -> 3.16.0-r0)
(23/226) Replacing udev-init-scripts (35-r0 -> 35-r0)
(24/226) Replacing udev-init-scripts-openrc (35-r0 -> 35-r0)
(25/226) Upgrading eudev-libs (3.2.11_pre1-r0 -> 3.2.11-r0)
(26/226) Upgrading libblkid (2.37.4-r0 -> 2.38-r1)
(27/226) Replacing xz-libs (5.2.5-r1 -> 5.2.5-r1)
(28/226) Upgrading zstd-libs (1.5.0-r0 -> 1.5.2-r1)
(29/226) Replacing kmod-libs (29-r2 -> 29-r2)
(30/226) Upgrading eudev (3.2.11_pre1-r0 -> 3.2.11-r0)
(31/226) Upgrading eudev-openrc (3.2.11_pre1-r0 -> 3.2.11-r0)
(32/226) Upgrading openssh-keygen (8.8_p1-r1 -> 9.0_p1-r1)
(33/226) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20220521-r0)
(34/226) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20220521-r0)
(35/226) Replacing libedit (20210910.3.1-r0 -> 20210910.3.1-r0)
(36/226) Upgrading openssh-client-common (8.8_p1-r1 -> 9.0_p1-r1)
(37/226) Upgrading openssh-client-default (8.8_p1-r1 -> 9.0_p1-r1)
(38/226) Upgrading openssh-sftp-server (8.8_p1-r1 -> 9.0_p1-r1)
(39/226) Upgrading openssh-server-common (8.8_p1-r1 -> 9.0_p1-r1)
(40/226) Upgrading openssh-server (8.8_p1-r1 -> 9.0_p1-r1)
(41/226) Upgrading openssh (8.8_p1-r1 -> 9.0_p1-r1)
(42/226) Upgrading boot-deploy (0.3-r0 -> 0.5-r0)
(43/226) Upgrading busybox-extras (1.34.1-r5 -> 1.35.0-r14)
(44/226) Installing lzo (2.10-r3)
(45/226) Upgrading libuuid (2.37.4-r0 -> 2.38-r1)
(46/226) Installing btrfs-progs (5.17-r0)
(47/226) Replacing bzip2 (1.0.8-r1 -> 1.0.8-r1)
(48/226) Replacing argon2-libs (20190702-r1 -> 20190702-r1)
(49/226) Replacing device-mapper-libs (2.02.187-r2 -> 2.02.187-r2)
(50/226) Upgrading json-c (0.15-r1 -> 0.16-r0)
(51/226) Replacing cryptsetup-libs (2.4.3-r0 -> 2.4.3-r0)
(52/226) Replacing popt (1.18-r0 -> 1.18-r0)
(53/226) Replacing cryptsetup (2.4.3-r0 -> 2.4.3-r0)
(54/226) Replacing cryptsetup-openrc (2.4.3-r0 -> 2.4.3-r0)
(55/226) Upgrading libaio (0.3.112-r1 -> 0.3.112-r2)
(56/226) Replacing device-mapper-event-libs (2.02.187-r2 -> 2.02.187-r2)
(57/226) Replacing lvm2-libs (2.02.187-r2 -> 2.02.187-r2)
(58/226) Replacing device-mapper (2.02.187-r2 -> 2.02.187-r2)
(59/226) Replacing device-mapper-udev (2.02.187-r2 -> 2.02.187-r2)
(60/226) Upgrading libcom_err (1.46.4-r0 -> 1.46.5-r0)
(61/226) Upgrading e2fsprogs-libs (1.46.4-r0 -> 1.46.5-r0)
(62/226) Upgrading e2fsprogs (1.46.4-r0 -> 1.46.5-r0)
(63/226) Upgrading e2fsprogs-extra (1.46.4-r0 -> 1.46.5-r0)
(64/226) Upgrading f2fs-tools-libs (1.14.0-r0 -> 1.15.0-r0)
(65/226) Upgrading f2fs-tools (1.14.0-r0 -> 1.15.0-r0)
(66/226) Replacing lz4 (1.9.3-r1 -> 1.9.3-r1)
(67/226) Upgrading readline (8.1.1-r0 -> 8.1.2-r0)
(68/226) Upgrading userspace-rcu (0.12.2-r0 -> 0.13.1-r0)
(69/226) Upgrading multipath-tools (0.8.7-r0 -> 0.8.9-r1)
(70/226) Upgrading multipath-tools-openrc (0.8.7-r0 -> 0.8.9-r1)
(71/226) Upgrading parted (3.4-r0 -> 3.5-r0)
(72/226) Replacing postmarketos-mvcfg (1-r0 -> 1-r0)
(73/226) Replacing postmarketos-keys (1-r0 -> 1-r0)
(74/226) Upgrading sudo (1.9.8_p2-r1 -> 1.9.10-r0)
(75/226) Upgrading postmarketos-base-nofde (15-r9 -> 20-r1)
(76/226) Installing unudhcpd (0.2.1-r0)
(77/226) Replacing xz (5.2.5-r1 -> 5.2.5-r1)
(78/226) Upgrading postmarketos-mkinitfs (1.1.2-r3 -> 1.4.1-r4)
(79/226) Upgrading postmarketos-base (15-r9 -> 20-r1)
(80/226) Replacing mkbootimg-osm0sis (2021.04.27-r0 -> 2021.04.27-r0)
(81/226) Upgrading linux-postmarketos-qcom-msm8916 (5.15-r2 -> 5.18-r0)
(82/226) Upgrading mesa (21.2.6-r0 -> 21.3.8-r1)
(83/226) Replacing libffi (3.4.2-r1 -> 3.4.2-r1)
(84/226) Upgrading libgcc (10.3.1_git20211027-r0 -> 11.2.1_git20220219-r2)
(85/226) Upgrading libstdc++ (10.3.1_git20211027-r0 -> 11.2.1_git20220219-r2)
(86/226) Replacing libxml2 (2.9.14-r0 -> 2.9.14-r0)
(87/226) Installing llvm13-libs (13.0.1-r2)
(88/226) Upgrading libdrm (2.4.109-r0 -> 2.4.110-r0)
(89/226) Replacing libbz2 (1.0.8-r1 -> 1.0.8-r1)
(90/226) Replacing fts (1.2.7-r1 -> 1.2.7-r1)
(91/226) Upgrading libelf (0.185-r0 -> 0.186-r0)
(92/226) Upgrading expat (2.4.7-r0 -> 2.4.8-r0)
(93/226) Upgrading mesa-glapi (21.2.6-r0 -> 21.3.8-r1)
(94/226) Upgrading mesa-dri-gallium (21.2.6-r0 -> 21.3.8-r1)
(95/226) Replacing swclock-offset (0.2-r0 -> 0.2-r0)
(96/226) Replacing swclock-offset-openrc (0.2-r0 -> 0.2-r0)
(97/226) Upgrading soc-qcom-msm8916-ucm (14-r0 -> 16-r0)
(98/226) Upgrading soc-qcom-msm8916 (14-r0 -> 16-r0)
(99/226) Replacing qrtr-libs (0.3_git20201110-r0 -> 0.3_git20201110-r0)
(100/226) Replacing rmtfs (0.2_git20210408-r0 -> 0.2_git20210408-r0)
(101/226) Replacing rmtfs-openrc (0.2_git20210408-r0 -> 0.2_git20210408-r0)
(102/226) Upgrading msm-modem (7-r0 -> 7-r1)
(103/226) Upgrading libintl (0.21-r0 -> 0.21-r2)
(104/226) Upgrading libmount (2.37.4-r0 -> 2.38-r1)
(105/226) Upgrading pcre (8.45-r1 -> 8.45-r2)
(106/226) Upgrading glib (2.70.1-r0 -> 2.72.1-r0)
(107/226) Upgrading libmbim (1.26.0-r0 -> 1.26.4-r0)
(108/226) Upgrading libqrtr-glib (1.0.0-r0 -> 1.2.2-r0)
(109/226) Upgrading libqmi (1.30.2-r0 -> 1.30.6-r0)
(110/226) Upgrading libgudev (237-r0 -> 237-r1)
(111/226) Installing qmi-utils (1.30.6-r0)
(112/226) Upgrading msm-modem-uim-selection (7-r0 -> 7-r1)
(113/226) Upgrading dbus-libs (1.12.20-r4 -> 1.14.0-r1)
(114/226) Replacing tinyalsa-libs (2.0.0-r0 -> 2.0.0-r0)
(115/226) Replacing q6voiced (0_git20210408-r0 -> 0_git20210408-r0)
(116/226) Replacing q6voiced-openrc (0_git20210408-r0 -> 0_git20210408-r0)
(117/226) Upgrading soc-qcom-msm8916-rproc-all (14-r0 -> 16-r0)
(118/226) Installing soc-samsung-msm8916-modem-workaround (16-r0)
(119/226) Upgrading device-samsung-a5 (8-r0 -> 10-r0)
(120/226) Replacing firmware-qcom-adreno-a300 (20210919-r0 -> 20210919-r0)
(121/226) Replacing msm-firmware-loader (1-r2 -> 1-r2)
(122/226) Replacing firmware-samsung-a5-wcnss-nv (1-r0 -> 1-r0)
(123/226) Upgrading device-samsung-a5-nonfree-firmware (8-r0 -> 10-r0)
(124/226) Upgrading nano (5.9-r0 -> 6.3-r0)
(125/226) Replacing postmarketos-release-upgrade (1.2.0-r0 -> 1.2.0-r0)
(126/226) Installing dnsmasq-common (2.86-r2)
(127/226) Installing dnsmasq-openrc (2.86-r2)
(128/226) Upgrading dnsmasq (2.86-r1 -> 2.86-r2)
(129/226) Upgrading nspr (4.32-r0 -> 4.33-r0)
(130/226) Downgrading sqlite-libs (9999-r0 -> 3.38.5-r0)
(131/226) Replacing nss (3.78.1-r0 -> 3.78.1-r0)
(132/226) Installing libnm (1.38.0-r0)
(133/226) Installing networkmanager-common (1.38.0-r0)
(134/226) Upgrading networkmanager-openrc (1.32.12-r1 -> 1.38.0-r0)
(135/226) Upgrading dbus (1.12.20-r4 -> 1.14.0-r1)
(136/226) Upgrading dbus-openrc (1.12.20-r4 -> 1.14.0-r1)
(137/226) Upgrading libmnl (1.0.4-r2 -> 1.0.5-r0)
(138/226) Replacing libnftnl (1.2.1-r0 -> 1.2.1-r0)
(139/226) Upgrading iptables (1.8.7-r1 -> 1.8.8-r1)
(140/226) Upgrading iptables-openrc (1.8.7-r1 -> 1.8.8-r1)
(141/226) Replacing ca-certificates (20211220-r0 -> 20211220-r0)
(142/226) Upgrading brotli-libs (1.0.9-r5 -> 1.0.9-r6)
(143/226) Upgrading nghttp2-libs (1.46.0-r0 -> 1.47.0-r0)
(144/226) Upgrading libcurl (7.80.0-r1 -> 7.83.1-r1)
(145/226) Replacing libndp (1.8-r0 -> 1.8-r0)
(146/226) Upgrading libunistring (0.9.10-r1 -> 1.0-r0)
(147/226) Upgrading libidn2 (2.3.2-r0 -> 2.3.2-r2)
(148/226) Replacing libpsl (0.21.1-r0 -> 0.21.1-r0)
(149/226) Upgrading networkmanager (1.32.12-r1 -> 1.38.0-r0)
(150/226) Installing networkmanager-cli (1.38.0-r0)
(151/226) Replacing slang (2.3.2-r0 -> 2.3.2-r0)
(152/226) Upgrading newt (0.52.21-r0 -> 0.52.21-r2)
(153/226) Installing networkmanager-tui (1.38.0-r0)
(154/226) Upgrading wireless-regdb (2021.08.28-r0 -> 2022.04.08-r0)
(155/226) Installing networkmanager-wifi (1.38.0-r0)
(156/226) Replacing pkgconf (1.8.0-r0 -> 1.8.0-r0)
(157/226) Upgrading mobile-broadband-provider-info (20201225-r0 -> 20201225-r1)
(158/226) Upgrading libmm-glib (1.18.2-r1 -> 1.18.8-r1)
(159/226) Purging polkit (0.119-r8)
(160/226) Purging polkit-common (0.119-r8)
(161/226) Installing networkmanager-wwan (1.38.0-r0)
(162/226) Upgrading libcap (2.61-r0 -> 2.64-r0)
(163/226) Upgrading gmp (6.2.1-r1 -> 6.2.1-r2)
(164/226) Replacing nettle (3.7.3-r0 -> 3.7.3-r0)
(165/226) Upgrading p11-kit (0.24.0-r1 -> 0.24.1-r0)
(166/226) Replacing libtasn1 (4.18.0-r0 -> 4.18.0-r0)
(167/226) Upgrading gnutls (3.7.1-r0 -> 3.7.6-r0)
(168/226) Upgrading chrony (4.1-r0 -> 4.2-r0)
(169/226) Upgrading chrony-openrc (4.1-r0 -> 4.2-r0)
(170/226) Upgrading haveged (1.9.17-r0 -> 1.9.18-r0)
(171/226) Upgrading haveged-openrc (1.9.17-r0 -> 1.9.18-r0)
(172/226) Replacing jansson (2.14-r0 -> 2.14-r0)
(173/226) Upgrading nftables (1.0.1-r0 -> 1.0.2-r1)
(174/226) Upgrading nftables-openrc (1.0.1-r0 -> 1.0.2-r1)
(175/226) Upgrading postmarketos-config-nftables (0.8-r0 -> 0.10-r0)
(176/226) Upgrading postmarketos-config-nftables-networkmanager (0.8-r0 -> 0.10-r0)
(177/226) Upgrading postmarketos-base-nftables (15-r9 -> 20-r1)
(178/226) Installing postmarketos-artwork-icons (2-r1)
(179/226) Replacing linux-pam (1.5.2-r0 -> 1.5.2-r0)
(180/226) Upgrading shadow (4.8.1-r1 -> 4.10-r3)
(181/226) Replacing libpng (1.6.37-r1 -> 1.6.37-r1)
(182/226) Upgrading freetype (2.11.1-r2 -> 2.12.1-r0)
(183/226) Upgrading fontconfig (2.13.1-r4 -> 2.14.0-r0)
(184/226) Replacing encodings (1.0.5-r0 -> 1.0.5-r0)
(185/226) Replacing libfontenc (1.1.4-r0 -> 1.1.4-r0)
(186/226) Upgrading mkfontscale (1.2.1-r1 -> 1.2.2-r0)
(187/226) Replacing ttf-dejavu (2.37-r1 -> 2.37-r1)
(188/226) Upgrading util-linux (2.37.4-r0 -> 2.38-r1)
(189/226) Upgrading libfdisk (2.37.4-r0 -> 2.38-r1)
(190/226) Upgrading libsmartcols (2.37.4-r0 -> 2.38-r1)
(191/226) Upgrading util-linux-misc (2.37.4-r0 -> 2.38-r1)
(192/226) Upgrading libeconf (0.4.2-r0 -> 0.4.4-r0)
(193/226) Upgrading runuser (2.37.4-r0 -> 2.38-r1)
(194/226) Installing losetup (2.38-r1)
(195/226) Upgrading hexdump (2.37.4-r0 -> 2.38-r1)
(196/226) Upgrading uuidgen (2.37.4-r0 -> 2.38-r1)
(197/226) Upgrading blkid (2.37.4-r0 -> 2.38-r1)
(198/226) Upgrading sfdisk (2.37.4-r0 -> 2.38-r1)
(199/226) Upgrading mcookie (2.37.4-r0 -> 2.38-r1)
(200/226) Installing agetty (2.38-r1)
(201/226) Installing agetty-openrc (0.44.10-r7)
(202/226) Upgrading wipefs (2.37.4-r0 -> 2.38-r1)
(203/226) Upgrading cfdisk (2.37.4-r0 -> 2.38-r1)
(204/226) Upgrading util-linux-openrc (2.37.4-r0 -> 2.38-r1)
(205/226) Upgrading flock (2.37.4-r0 -> 2.38-r1)
(206/226) Upgrading lsblk (2.37.4-r0 -> 2.38-r1)
(207/226) Upgrading libcap-ng (0.8.2-r1 -> 0.8.3-r1)
(208/226) Upgrading setpriv (2.37.4-r0 -> 2.38-r1)
(209/226) Upgrading logger (2.37.4-r0 -> 2.38-r1)
(210/226) Upgrading partx (2.37.4-r0 -> 2.38-r1)
(211/226) Installing fstrim (2.38-r1)
(212/226) Upgrading findmnt (2.37.4-r0 -> 2.38-r1)
(213/226) Replacing libnl3 (3.5.0-r0 -> 3.5.0-r0)
(214/226) Upgrading pcsc-lite-libs (1.9.4-r0 -> 1.9.6-r0)
(215/226) Upgrading wpa_supplicant (2.9-r17 -> 2.10-r1)
(216/226) Upgrading wpa_supplicant-openrc (2.9-r17 -> 2.10-r1)
(217/226) Upgrading ifupdown-ng-wifi (0.11.3-r0 -> 0.12.1-r0)
(218/226) Upgrading postmarketos-base-ui (4-r2 -> 4-r3)
(219/226) Upgrading postmarketos-base-ui-networkmanager (4-r2 -> 4-r3)
(220/226) Replacing wireless-tools (30_pre9-r1 -> 30_pre9-r1)
(221/226) Upgrading postmarketos-ui-console (0.1-r1 -> 0.1-r4)
(222/226) Purging libretls (3.3.4-r3)
(223/226) Purging llvm12-libs (12.0.1-r0)
(224/226) Purging polkit-libs (0.119-r8)
(225/226) Purging mozjs78 (78.15.0-r2)
(226/226) Purging icu-libs (69.1-r1)
OK: 310 MiB in 205 packages
>>> Dry run successful
>>> (3/4) upgrade packages to v22.06
>>> Running 'apk upgrade -a'...
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
Upgrading critical system libraries and apk-tools:
(1/1) Upgrading apk-tools (2.12.7-r3 -> 2.12.9-r3)
Executing busybox-1.34.1-r5.trigger
Executing postmarketos-base-15-r9.trigger
Configuring a getty on port ttyMSM0 with baud rate 115200
Continuing the upgrade transaction with new apk-tools:
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
(1/225) Purging polkit-openrc (0.119-r8)
(2/225) Installing alpine-baselayout-data (3.2.0-r22)
(3/225) Upgrading musl (1.2.2-r7 -> 1.2.3-r0)
(4/225) Upgrading busybox (1.34.1-r5 -> 1.35.0-r14)
Executing busybox-1.35.0-r14.post-upgrade
(5/225) Upgrading alpine-baselayout (3.2.0-r18 -> 3.2.0-r22)
Executing alpine-baselayout-3.2.0-r22.pre-upgrade
Executing alpine-baselayout-3.2.0-r22.post-upgrade
(6/225) Upgrading ifupdown-ng (0.11.3-r0 -> 0.12.1-r0)
(7/225) Upgrading openrc (0.44.7-r5 -> 0.44.10-r7)
Executing openrc-0.44.10-r7.post-upgrade
(8/225) Upgrading alpine-conf (3.13.1-r0 -> 3.14.2-r0)
(9/225) Replacing ca-certificates-bundle (20211220-r0 -> 20211220-r0)
(10/225) Replacing libcrypto1.1 (1.1.1o-r0 -> 1.1.1o-r0)
(11/225) Replacing libssl1.1 (1.1.1o-r0 -> 1.1.1o-r0)
(12/225) Upgrading ssl_client (1.34.1-r5 -> 1.35.0-r14)
(13/225) Replacing zlib (1.2.12-r1 -> 1.2.12-r1)
(14/225) Upgrading busybox-suid (1.34.1-r5 -> 1.35.0-r14)
(15/225) Installing mdev-conf (4.1-r1)
(16/225) Upgrading busybox-initscripts (4.0-r5 -> 4.1-r1)
Executing busybox-initscripts-4.1-r1.post-upgrade
(17/225) Upgrading scanelf (1.3.3-r0 -> 1.3.4-r0)
(18/225) Upgrading musl-utils (1.2.2-r7 -> 1.2.3-r0)
(19/225) Replacing libc-utils (0.7.2-r3 -> 0.7.2-r3)
(20/225) Replacing alpine-keys (2.4-r1 -> 2.4-r1)
(21/225) Upgrading alpine-base (3.15.4-r0 -> 3.16.0-r0)
(22/225) Replacing udev-init-scripts (35-r0 -> 35-r0)
Executing udev-init-scripts-35-r0.post-upgrade
(23/225) Replacing udev-init-scripts-openrc (35-r0 -> 35-r0)
(24/225) Upgrading eudev-libs (3.2.11_pre1-r0 -> 3.2.11-r0)
(25/225) Upgrading libblkid (2.37.4-r0 -> 2.38-r1)
(26/225) Replacing xz-libs (5.2.5-r1 -> 5.2.5-r1)
(27/225) Upgrading zstd-libs (1.5.0-r0 -> 1.5.2-r1)
(28/225) Replacing kmod-libs (29-r2 -> 29-r2)
(29/225) Upgrading eudev (3.2.11_pre1-r0 -> 3.2.11-r0)
(30/225) Upgrading eudev-openrc (3.2.11_pre1-r0 -> 3.2.11-r0)
(31/225) Upgrading openssh-keygen (8.8_p1-r1 -> 9.0_p1-r1)
(32/225) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20220521-r0)
(33/225) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20220521-r0)
(34/225) Replacing libedit (20210910.3.1-r0 -> 20210910.3.1-r0)
(35/225) Upgrading openssh-client-common (8.8_p1-r1 -> 9.0_p1-r1)
(36/225) Upgrading openssh-client-default (8.8_p1-r1 -> 9.0_p1-r1)
(37/225) Upgrading openssh-sftp-server (8.8_p1-r1 -> 9.0_p1-r1)
(38/225) Upgrading openssh-server-common (8.8_p1-r1 -> 9.0_p1-r1)
(39/225) Upgrading openssh-server (8.8_p1-r1 -> 9.0_p1-r1)
(40/225) Upgrading openssh (8.8_p1-r1 -> 9.0_p1-r1)
(41/225) Upgrading boot-deploy (0.3-r0 -> 0.5-r0)
(42/225) Upgrading busybox-extras (1.34.1-r5 -> 1.35.0-r14)
(43/225) Installing lzo (2.10-r3)
(44/225) Upgrading libuuid (2.37.4-r0 -> 2.38-r1)
(45/225) Installing btrfs-progs (5.17-r0)
(46/225) Replacing bzip2 (1.0.8-r1 -> 1.0.8-r1)
(47/225) Replacing argon2-libs (20190702-r1 -> 20190702-r1)
(48/225) Replacing device-mapper-libs (2.02.187-r2 -> 2.02.187-r2)
(49/225) Upgrading json-c (0.15-r1 -> 0.16-r0)
(50/225) Replacing cryptsetup-libs (2.4.3-r0 -> 2.4.3-r0)
(51/225) Replacing popt (1.18-r0 -> 1.18-r0)
(52/225) Replacing cryptsetup (2.4.3-r0 -> 2.4.3-r0)
(53/225) Replacing cryptsetup-openrc (2.4.3-r0 -> 2.4.3-r0)
(54/225) Upgrading libaio (0.3.112-r1 -> 0.3.112-r2)
(55/225) Replacing device-mapper-event-libs (2.02.187-r2 -> 2.02.187-r2)
(56/225) Replacing lvm2-libs (2.02.187-r2 -> 2.02.187-r2)
(57/225) Replacing device-mapper (2.02.187-r2 -> 2.02.187-r2)
(58/225) Replacing device-mapper-udev (2.02.187-r2 -> 2.02.187-r2)
Executing device-mapper-udev-2.02.187-r2.post-upgrade
(59/225) Upgrading libcom_err (1.46.4-r0 -> 1.46.5-r0)
(60/225) Upgrading e2fsprogs-libs (1.46.4-r0 -> 1.46.5-r0)
(61/225) Upgrading e2fsprogs (1.46.4-r0 -> 1.46.5-r0)
(62/225) Upgrading e2fsprogs-extra (1.46.4-r0 -> 1.46.5-r0)
(63/225) Upgrading f2fs-tools-libs (1.14.0-r0 -> 1.15.0-r0)
(64/225) Upgrading f2fs-tools (1.14.0-r0 -> 1.15.0-r0)
(65/225) Replacing lz4 (1.9.3-r1 -> 1.9.3-r1)
(66/225) Upgrading readline (8.1.1-r0 -> 8.1.2-r0)
(67/225) Upgrading userspace-rcu (0.12.2-r0 -> 0.13.1-r0)
(68/225) Upgrading multipath-tools (0.8.7-r0 -> 0.8.9-r1)
(69/225) Upgrading multipath-tools-openrc (0.8.7-r0 -> 0.8.9-r1)
(70/225) Upgrading parted (3.4-r0 -> 3.5-r0)
(71/225) Replacing postmarketos-mvcfg (1-r0 -> 1-r0)
(72/225) Replacing postmarketos-keys (1-r0 -> 1-r0)
(73/225) Upgrading sudo (1.9.8_p2-r1 -> 1.9.10-r0)
(74/225) Upgrading postmarketos-base-nofde (15-r9 -> 20-r1)
(75/225) Installing unudhcpd (0.2.1-r0)
(76/225) Replacing xz (5.2.5-r1 -> 5.2.5-r1)
(77/225) Upgrading postmarketos-mkinitfs (1.1.2-r3 -> 1.4.1-r4)
Executing postmarketos-mkinitfs-1.4.1-r4.post-upgrade
Cleaning up old boot files...
(78/225) Upgrading postmarketos-base (15-r9 -> 20-r1)
Executing postmarketos-base-20-r1.pre-upgrade
ERROR: postmarketos-base-20-r1: trying to overwrite lib/udev/rules.d/20-tm2-touchkey-input.rules owned by device-samsung-a5-8-r0.
Executing postmarketos-base-20-r1.post-upgrade
(79/225) Replacing mkbootimg-osm0sis (2021.04.27-r0 -> 2021.04.27-r0)
(80/225) Upgrading linux-postmarketos-qcom-msm8916 (5.15-r2 -> 5.18-r0)
(81/225) Upgrading mesa (21.2.6-r0 -> 21.3.8-r1)
(82/225) Replacing libffi (3.4.2-r1 -> 3.4.2-r1)
(83/225) Upgrading libgcc (10.3.1_git20211027-r0 -> 11.2.1_git20220219-r2)
(84/225) Upgrading libstdc++ (10.3.1_git20211027-r0 -> 11.2.1_git20220219-r2)
(85/225) Replacing libxml2 (2.9.14-r0 -> 2.9.14-r0)
(86/225) Installing llvm13-libs (13.0.1-r2)
(87/225) Upgrading libdrm (2.4.109-r0 -> 2.4.110-r0)
(88/225) Replacing libbz2 (1.0.8-r1 -> 1.0.8-r1)
(89/225) Replacing fts (1.2.7-r1 -> 1.2.7-r1)
(90/225) Upgrading libelf (0.185-r0 -> 0.186-r0)
(91/225) Upgrading expat (2.4.7-r0 -> 2.4.8-r0)
(92/225) Upgrading mesa-glapi (21.2.6-r0 -> 21.3.8-r1)
(93/225) Upgrading mesa-dri-gallium (21.2.6-r0 -> 21.3.8-r1)
(94/225) Replacing swclock-offset (0.2-r0 -> 0.2-r0)
(95/225) Replacing swclock-offset-openrc (0.2-r0 -> 0.2-r0)
(96/225) Upgrading soc-qcom-msm8916-ucm (14-r0 -> 16-r0)
(97/225) Upgrading soc-qcom-msm8916 (14-r0 -> 16-r0)
(98/225) Replacing qrtr-libs (0.3_git20201110-r0 -> 0.3_git20201110-r0)
(99/225) Replacing rmtfs (0.2_git20210408-r0 -> 0.2_git20210408-r0)
(100/225) Replacing rmtfs-openrc (0.2_git20210408-r0 -> 0.2_git20210408-r0)
(101/225) Upgrading msm-modem (7-r0 -> 7-r1)
(102/225) Upgrading libintl (0.21-r0 -> 0.21-r2)
(103/225) Upgrading libmount (2.37.4-r0 -> 2.38-r1)
(104/225) Upgrading pcre (8.45-r1 -> 8.45-r2)
(105/225) Upgrading glib (2.70.1-r0 -> 2.72.1-r0)
(106/225) Upgrading libmbim (1.26.0-r0 -> 1.26.4-r0)
(107/225) Upgrading libqrtr-glib (1.0.0-r0 -> 1.2.2-r0)
(108/225) Upgrading libqmi (1.30.2-r0 -> 1.30.6-r0)
(109/225) Upgrading libgudev (237-r0 -> 237-r1)
(110/225) Installing qmi-utils (1.30.6-r0)
(111/225) Upgrading msm-modem-uim-selection (7-r0 -> 7-r1)
(112/225) Upgrading dbus-libs (1.12.20-r4 -> 1.14.0-r1)
(113/225) Replacing tinyalsa-libs (2.0.0-r0 -> 2.0.0-r0)
(114/225) Replacing q6voiced (0_git20210408-r0 -> 0_git20210408-r0)
(115/225) Replacing q6voiced-openrc (0_git20210408-r0 -> 0_git20210408-r0)
(116/225) Upgrading soc-qcom-msm8916-rproc-all (14-r0 -> 16-r0)
(117/225) Installing soc-samsung-msm8916-modem-workaround (16-r0)
(118/225) Upgrading device-samsung-a5 (8-r0 -> 10-r0)
(119/225) Replacing firmware-qcom-adreno-a300 (20210919-r0 -> 20210919-r0)
(120/225) Replacing msm-firmware-loader (1-r2 -> 1-r2)
(121/225) Replacing firmware-samsung-a5-wcnss-nv (1-r0 -> 1-r0)
(122/225) Upgrading device-samsung-a5-nonfree-firmware (8-r0 -> 10-r0)
(123/225) Upgrading nano (5.9-r0 -> 6.3-r0)
(124/225) Replacing postmarketos-release-upgrade (1.2.0-r0 -> 1.2.0-r0)
(125/225) Installing dnsmasq-common (2.86-r2)
(126/225) Installing dnsmasq-openrc (2.86-r2)
(127/225) Upgrading dnsmasq (2.86-r1 -> 2.86-r2)
Executing dnsmasq-2.86-r2.pre-upgrade
(128/225) Upgrading nspr (4.32-r0 -> 4.33-r0)
(129/225) Downgrading sqlite-libs (9999-r0 -> 3.38.5-r0)
(130/225) Replacing nss (3.78.1-r0 -> 3.78.1-r0)
(131/225) Installing libnm (1.38.0-r0)
(132/225) Installing networkmanager-common (1.38.0-r0)
(133/225) Upgrading networkmanager-openrc (1.32.12-r1 -> 1.38.0-r0)
(134/225) Upgrading dbus (1.12.20-r4 -> 1.14.0-r1)
(135/225) Upgrading dbus-openrc (1.12.20-r4 -> 1.14.0-r1)
(136/225) Upgrading libmnl (1.0.4-r2 -> 1.0.5-r0)
(137/225) Replacing libnftnl (1.2.1-r0 -> 1.2.1-r0)
(138/225) Upgrading iptables (1.8.7-r1 -> 1.8.8-r1)
(139/225) Upgrading iptables-openrc (1.8.7-r1 -> 1.8.8-r1)
(140/225) Replacing ca-certificates (20211220-r0 -> 20211220-r0)
(141/225) Upgrading brotli-libs (1.0.9-r5 -> 1.0.9-r6)
(142/225) Upgrading nghttp2-libs (1.46.0-r0 -> 1.47.0-r0)
(143/225) Upgrading libcurl (7.80.0-r1 -> 7.83.1-r1)
(144/225) Replacing libndp (1.8-r0 -> 1.8-r0)
(145/225) Upgrading libunistring (0.9.10-r1 -> 1.0-r0)
(146/225) Upgrading libidn2 (2.3.2-r0 -> 2.3.2-r2)
(147/225) Replacing libpsl (0.21.1-r0 -> 0.21.1-r0)
(148/225) Upgrading networkmanager (1.32.12-r1 -> 1.38.0-r0)
Executing networkmanager-1.38.0-r0.pre-upgrade
Executing networkmanager-1.38.0-r0.post-upgrade
*
* NetworkManager plugins adsl, bluetooth, ovs, ppp, wwan (mobile broadband),
* and wifi have been split into subpackages. If you use some of them, install
* the corresponding packages (e.g. 'apk add networkmanager-wifi').
*
(149/225) Installing networkmanager-cli (1.38.0-r0)
(150/225) Replacing slang (2.3.2-r0 -> 2.3.2-r0)
(151/225) Upgrading newt (0.52.21-r0 -> 0.52.21-r2)
(152/225) Installing networkmanager-tui (1.38.0-r0)
(153/225) Upgrading wireless-regdb (2021.08.28-r0 -> 2022.04.08-r0)
(154/225) Installing networkmanager-wifi (1.38.0-r0)
Executing networkmanager-wifi-1.38.0-r0.post-install
*
* To control WiFi devices, install either 'wpa_supplicant' or 'iwd' package,
* enable and start the corresponding service (rc-update add <name>;
* rc-service <name> start), and restart networkmanager.
*
* If you chose iwd, you have to also add 'wifi.backend=iwd' into section
* '[device]' in /etc/NetworkManager/NetworkManager.conf.
*
(155/225) Replacing pkgconf (1.8.0-r0 -> 1.8.0-r0)
(156/225) Upgrading mobile-broadband-provider-info (20201225-r0 -> 20201225-r1)
(157/225) Upgrading libmm-glib (1.18.2-r1 -> 1.18.8-r1)
(158/225) Purging polkit (0.119-r8)
(159/225) Purging polkit-common (0.119-r8)
(160/225) Installing networkmanager-wwan (1.38.0-r0)
(161/225) Upgrading libcap (2.61-r0 -> 2.64-r0)
(162/225) Upgrading gmp (6.2.1-r1 -> 6.2.1-r2)
(163/225) Replacing nettle (3.7.3-r0 -> 3.7.3-r0)
(164/225) Upgrading p11-kit (0.24.0-r1 -> 0.24.1-r0)
(165/225) Replacing libtasn1 (4.18.0-r0 -> 4.18.0-r0)
(166/225) Upgrading gnutls (3.7.1-r0 -> 3.7.6-r0)
(167/225) Upgrading chrony (4.1-r0 -> 4.2-r0)
Executing chrony-4.2-r0.pre-upgrade
(168/225) Upgrading chrony-openrc (4.1-r0 -> 4.2-r0)
(169/225) Upgrading haveged (1.9.17-r0 -> 1.9.18-r0)
(170/225) Upgrading haveged-openrc (1.9.17-r0 -> 1.9.18-r0)
(171/225) Replacing jansson (2.14-r0 -> 2.14-r0)
(172/225) Upgrading nftables (1.0.1-r0 -> 1.0.2-r1)
Executing nftables-1.0.2-r1.post-upgrade
(173/225) Upgrading nftables-openrc (1.0.1-r0 -> 1.0.2-r1)
(174/225) Upgrading postmarketos-config-nftables (0.8-r0 -> 0.10-r0)
(175/225) Upgrading postmarketos-config-nftables-networkmanager (0.8-r0 -> 0.10-r0)
(176/225) Upgrading postmarketos-base-nftables (15-r9 -> 20-r1)
(177/225) Installing postmarketos-artwork-icons (2-r1)
(178/225) Replacing linux-pam (1.5.2-r0 -> 1.5.2-r0)
(179/225) Upgrading shadow (4.8.1-r1 -> 4.10-r3)
Executing shadow-4.10-r3.post-upgrade
*
* Shadow login utils (faillog, lastlog, login, newgrp, nologin, sg, su) have
* been moved to the shadow-login subpackage. Note that most of these are also
* provided by the util-linux-login package, which is preferred over shadow.
*
* Shadow *conv utils (pwconv, pwunconv, grpconv, and grpunconv) have been
* moved to a subpackage. If you use them, run: apk add shadow-conv.
*
(180/225) Replacing libpng (1.6.37-r1 -> 1.6.37-r1)
(181/225) Upgrading freetype (2.11.1-r2 -> 2.12.1-r0)
(182/225) Upgrading fontconfig (2.13.1-r4 -> 2.14.0-r0)
(183/225) Replacing encodings (1.0.5-r0 -> 1.0.5-r0)
(184/225) Replacing libfontenc (1.1.4-r0 -> 1.1.4-r0)
(185/225) Upgrading mkfontscale (1.2.1-r1 -> 1.2.2-r0)
(186/225) Replacing ttf-dejavu (2.37-r1 -> 2.37-r1)
(187/225) Upgrading util-linux (2.37.4-r0 -> 2.38-r1)
(188/225) Upgrading libfdisk (2.37.4-r0 -> 2.38-r1)
(189/225) Upgrading libsmartcols (2.37.4-r0 -> 2.38-r1)
(190/225) Upgrading util-linux-misc (2.37.4-r0 -> 2.38-r1)
(191/225) Upgrading libeconf (0.4.2-r0 -> 0.4.4-r0)
(192/225) Upgrading runuser (2.37.4-r0 -> 2.38-r1)
(193/225) Installing losetup (2.38-r1)
(194/225) Upgrading hexdump (2.37.4-r0 -> 2.38-r1)
(195/225) Upgrading uuidgen (2.37.4-r0 -> 2.38-r1)
(196/225) Upgrading blkid (2.37.4-r0 -> 2.38-r1)
(197/225) Upgrading sfdisk (2.37.4-r0 -> 2.38-r1)
(198/225) Upgrading mcookie (2.37.4-r0 -> 2.38-r1)
(199/225) Installing agetty (2.38-r1)
(200/225) Installing agetty-openrc (0.44.10-r7)
(201/225) Upgrading wipefs (2.37.4-r0 -> 2.38-r1)
(202/225) Upgrading cfdisk (2.37.4-r0 -> 2.38-r1)
(203/225) Upgrading util-linux-openrc (2.37.4-r0 -> 2.38-r1)
(204/225) Upgrading flock (2.37.4-r0 -> 2.38-r1)
(205/225) Upgrading lsblk (2.37.4-r0 -> 2.38-r1)
(206/225) Upgrading libcap-ng (0.8.2-r1 -> 0.8.3-r1)
(207/225) Upgrading setpriv (2.37.4-r0 -> 2.38-r1)
(208/225) Upgrading logger (2.37.4-r0 -> 2.38-r1)
(209/225) Upgrading partx (2.37.4-r0 -> 2.38-r1)
(210/225) Installing fstrim (2.38-r1)
(211/225) Upgrading findmnt (2.37.4-r0 -> 2.38-r1)
(212/225) Replacing libnl3 (3.5.0-r0 -> 3.5.0-r0)
(213/225) Upgrading pcsc-lite-libs (1.9.4-r0 -> 1.9.6-r0)
(214/225) Upgrading wpa_supplicant (2.9-r17 -> 2.10-r1)
(215/225) Upgrading wpa_supplicant-openrc (2.9-r17 -> 2.10-r1)
(216/225) Upgrading ifupdown-ng-wifi (0.11.3-r0 -> 0.12.1-r0)
(217/225) Upgrading postmarketos-base-ui (4-r2 -> 4-r3)
Executing postmarketos-base-ui-4-r3.post-upgrade
(218/225) Upgrading postmarketos-base-ui-networkmanager (4-r2 -> 4-r3)
(219/225) Replacing wireless-tools (30_pre9-r1 -> 30_pre9-r1)
(220/225) Upgrading postmarketos-ui-console (0.1-r1 -> 0.1-r4)
Executing postmarketos-ui-console-0.1-r4.post-upgrade
* rc-update: networkmanager already installed in runlevel `default'; skipping
(221/225) Purging libretls (3.3.4-r3)
(222/225) Purging llvm12-libs (12.0.1-r0)
(223/225) Purging polkit-libs (0.119-r8)
(224/225) Purging mozjs78 (78.15.0-r2)
(225/225) Purging icu-libs (69.1-r1)
Executing busybox-1.35.0-r14.trigger
Executing eudev-3.2.11-r0.trigger
Executing postmarketos-mkinitfs-1.4.1-r4.trigger
2022/06/14 16:41:46 Generating for kernel version: 5.18.0-msm8916
2022/06/14 16:41:46 Output directory: /boot
2022/06/14 16:41:46 == Generating initramfs ==
2022/06/14 16:41:46 - Including hook scripts
2022/06/14 16:41:46 - Including required binaries
2022/06/14 16:41:46 - Including kernel modules
2022/06/14 16:41:46 - Including splash images
2022/06/14 16:41:46 - Writing and verifying initramfs archive
2022/06/14 16:41:46 == Generating initramfs extra ==
2022/06/14 16:41:46 - Including extra binaries
2022/06/14 16:41:46 - *NOT* including FDE support
2022/06/14 16:41:46 - Writing and verifying initramfs-extra archive
2022/06/14 16:41:47 == Using boot-deploy to finalize/install files ==
==> kernel: device-tree blob operations
==> kernel: appending device-tree qcom/msm8916-samsung-a5u-eur
==> u-boot: creating FIT images
==> initramfs: creating boot.img
==> Checking free space at /boot
... OK!
==> Installing: /boot/initramfs
==> Installing: /boot/initramfs-extra
==> Installing: /boot/vmlinuz-dtb
==> Installing: /boot/boot.img
2022/06/14 16:41:58 mkinitfs completed in: 12.234593963s
Executing postmarketos-base-20-r1.trigger
Configuring a getty on port ttyMSM0 with baud rate 115200
Executing dbus-1.14.0-r1.trigger
Executing ca-certificates-20211220-r0.trigger
Executing fontconfig-2.14.0-r0.trigger
Executing mkfontscale-1.2.2-r0.trigger
1 error; 264 MiB in 218 packages
>>> Running 'apk fix'...
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
(1/1) Reinstalling postmarketos-base (20-r1)
Executing postmarketos-base-20-r1.pre-upgrade
Executing postmarketos-base-20-r1.post-upgrade
Executing busybox-1.35.0-r14.trigger
Executing eudev-3.2.11-r0.trigger
Executing postmarketos-base-20-r1.trigger
Configuring a getty on port ttyMSM0 with baud rate 115200
OK: 264 MiB in 218 packages
>>> Verifying channel in /etc/os-release...
>>> (4/4) Reboot prompt
>>>
>>> Your system is in a weird state between v21.12 and v22.06 now.
>>> All bugs are features until rebooted. If you know what you are
>>> doing and don't want to reboot, press ^C.
>>>
>>> Press return when you are ready to reboot.
>>> WARNING: Running in pmbootstrap, skipping reboot.
>>> upgrade successful! \o/
/ # cat /etc/os-release
PRETTY_NAME="postmarketOS v22.06"
NAME="postmarketOS"
VERSION_ID="v22.06"
VERSION="v22.06"
ID="postmarketos"
ID_LIKE="alpine"
HOME_URL="https://www.postmarketos.org/"
SUPPORT_URL="https://gitlab.com/postmarketOS"
BUG_REPORT_URL="https://gitlab.com/postmarketOS/pmaports/issues"
LOGO="postmarketos-logo"
/ # cat /etc/apk/repositories
/mnt/pmbootstrap-packages
http://mirror.postmarketos.org/postmarketos/v22.06
http://dl-cdn.alpinelinux.org/alpine/v3.16/main
http://dl-cdn.alpinelinux.org/alpine/v3.16/community
/ #
Edited by Administrator