You are not logged in.

#1 2023-11-30 04:01:44

youxiaojie
Member
Registered: 2023-11-30
Posts: 3

pacstrap show all downloaded files sig error

I using archlinux32-2022.12.01-i486.iso boot in vmware, and dhclient, then mount /dev/sda1 and format to ext4 mounting to /mnt, cp /etc/pacman.d to /tmp/pacman.d , mount --bind /tmp/pacman.d /etc/pacman.d to make some mirror selection. then pacstrap -K /mnt base linux linux-firmware (following the instruction of https://wiki.archlinux.org/title/Installation_guide). but all downloaded file could not pass the verification.

because could not upload images, I write it here:
checking keys in keyring...
checking package integrity...


Error: jansson: signature from ,ndreas Baumann (sign) <mail@andreasbaumann.cc, is unknown trust
:: File /mnt/var/cache/pacman/pkg/jansson-2.14-2.2-i486.pkg.tar.zst. is corrupted (inualid or corrupted package (PGP signature)). Do you want to delete it?
Error: binutils: signature from ,ndreas Baumann (sign) <mail@andreasbaumann.cc, is unknown trust
:: File /mnt/var/cacbe/pacman/pkg/binutils-2.40-6.0,i486.pkg.tar.zst. is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it?
Error: failed to commit transaction (inualid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
==> ERROR: Failed to install packages to new root

Last edited by youxiaojie (2023-11-30 04:02:46)

Offline

#2 2023-11-30 08:30:12

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 833
Website

Re: pacstrap show all downloaded files sig error

The ISO is so old, that all keys have basically expired, you can copy /etc/pacman.conf to a /mnt/mypacman.conf and specify it with --config.
Maybe easiest is just to disable the key checks.

Offline

#3 2023-11-30 09:56:25

youxiaojie
Member
Registered: 2023-11-30
Posts: 3

Re: pacstrap show all downloaded files sig error

does any way to update key?

Offline

#4 2023-11-30 09:58:47

youxiaojie
Member
Registered: 2023-11-30
Posts: 3

Re: pacstrap show all downloaded files sig error

and with tar paramater is used to untar the .zst? tar xvf ...

Offline

#5 2023-12-04 19:40:23

Cthuutloops
Member
Registered: 2023-12-04
Posts: 1

Re: pacstrap show all downloaded files sig error

I found a list of steps to refresh the keyring (this takes a lot of time on my eeepc) and you must do it twice once for the install media and once for the system once chrooted. I feel like this info should be easier to find and maybe be part of the install process but w/e
https://www.archlinux32.org/download/

Offline

#6 2023-12-06 06:40:52

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 969
Website

Re: pacstrap show all downloaded files sig error

One of my questions would be why your are using the i486 on an eeepc. Even the 701 should support i686 if even pentium4, check out /proc/cpuinfo
and https://www.archlinux32.org/architecture/. The newer the subarchitecture the more working packages you can expect.

Offline

#7 2024-01-27 10:44:46

omg1
Member
Registered: 2024-01-27
Posts: 1

Re: pacstrap show all downloaded files sig error

Hi. Sorry for my EN. )) I have same issue. I need test i386 on VM QEMU. I select CPU model "Conroe" then cteate VM. Try use:

1. archlinux32-2023.01.04-i686.iso
and
2. archlinux32-2023.03.02-i686.iso

but have issue about signatures:

Error: failed to commit transaction (inualid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
==> ERROR: Failed to install packages to new root

On download page i found:

Fixing Broken Keyring(s)
Sometimes an ISO contains broken keys. This can easily be fixed by updating your keyring with pacman -S archlinux-keyring archlinux32-keyring and then pacman-key --init, pacman-key --populate archlinux32 and pacman-key --refresh. Eventually this is something you want to do in the chroot of your installation (arch-chroot /mnt).

and try it, but dont have result.

Any ideas? May be i miss select CPU model when create VM? May be need qemu32/kvm32 or how best CPU model for 32 bit CPU select in QEMU? Tnx.

*** UPD
Found little fix - in /etc/pacman.conf set SigLevel=Never

Last edited by omg1 (2024-01-27 11:04:33)

Offline

#8 2024-01-27 18:56:24

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 969
Website

Re: pacstrap show all downloaded files sig error

QEMU has a i486, pentium, pentium2, pentium3 or so if I recall correctly.

The workaround with SigLevel=Never might be best till I can make new ISO images.
Currently far too many things are broken, so remastering an ISO is not an option.

Offline

Board footer

Powered by FluxBB