Corrupted package linux-raspberrypi -> lzma error

This is for ARMv8 based devices

Corrupted package linux-raspberrypi -> lzma error

Postby inaz » Mon Mar 01, 2021 7:30 pm

Standard raspberry pi 3B+ here, connected to its standard 7" touchscreen.

Followed instructions as presented in https://archlinuxarm.org/platforms/armv ... berry-pi-3

After boot, I ssh the board with alarm user, and su root.

then:
pacman-key --init
pacman-key --populate archlinuxarm
pacman -Syu

the update finish with:
$this->bbcode_second_pass_code('', '
(35/35) checking keys in keyring [################################################] 100%
(35/35) checking package integrity [################################################] 100%
(35/35) loading package files [################################################] 100%
(35/35) checking for file conflicts [################################################] 100%
(35/35) checking available disk space [################################################] 100%
:: Processing package changes...
( 1/35) upgrading linux-api-headers [################################################] 100%
( 2/35) upgrading iana-etc [################################################] 100%
( 3/35) upgrading findutils [################################################] 100%
( 4/35) upgrading openssl [################################################] 100%
( 5/35) upgrading libxcrypt [################################################] 100%
( 6/35) upgrading util-linux-libs [################################################] 100%
( 7/35) upgrading e2fsprogs [################################################] 100%
( 8/35) upgrading libcap [################################################] 100%
( 9/35) upgrading libgcrypt [################################################] 100%
(10/35) upgrading ca-certificates-mozilla [################################################] 100%
(11/35) upgrading device-mapper [################################################] 100%
(12/35) upgrading cryptsetup [################################################] 100%
(13/35) upgrading firmware-raspberrypi [################################################] 100%
(14/35) upgrading glib2 [################################################] 100%
(15/35) upgrading hwids [################################################] 100%
(16/35) upgrading libelf [################################################] 100%
(17/35) upgrading iproute2 [################################################] 100%
New optional dependencies for iproute2
libcap: tipc [installed]
(18/35) upgrading kbd [################################################] 100%
(19/35) upgrading libassuan [################################################] 100%
(20/35) upgrading linux-firmware [################################################] 100%
(21/35) upgrading util-linux [################################################] 100%
(22/35) upgrading mkinitcpio [################################################] 100%
(23/35) upgrading linux-raspberrypi [################################################] 100%
error: could not extract /boot/bcm2710-rpi-3-b-plus.dtb (Lzma library error: Corrupted input data)
error: problem occurred while upgrading linux-raspberrypi
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.
')

Tried twice; the first time I suspected the raspi was overheating, but the error repeated with forced cooling.
I rewrote all the filesystem between the tries. May the µSD be damaged? What could be the problem?
inaz
 
Posts: 3
Joined: Mon Mar 01, 2021 7:08 pm

Re: Corrupted package linux-raspberrypi -> lzma error

Postby inaz » Mon Mar 01, 2021 8:09 pm

And before one would think the file http://mirror.archlinuxarm.org/armv7h/c ... pkg.tar.xz is actually broken, it isn't.

It decompress cleanly in my desktop.
inaz
 
Posts: 3
Joined: Mon Mar 01, 2021 7:08 pm

Re: Corrupted package linux-raspberrypi -> lzma error

Postby inaz » Mon Mar 01, 2021 8:48 pm

And the crazy thing is:

If, at the raspberry, I scp the file /var/cache/pacman/pkg/linux-raspberrypi-5.10.17-2-armv7h.pkg.tar.xz to my desktop,
and get its md5sum, if DIFFERS from the md5sum of this same file downloaded from http://mirror.archlinuxarm.org/armv7h/c ... pkg.tar.xz
inaz
 
Posts: 3
Joined: Mon Mar 01, 2021 7:08 pm


Return to ARMv8 Devices

Who is online

Users browsing this forum: No registered users and 4 guests