You are not logged in.

#1 2024-12-16 09:05:47

sukolyn
Member
Registered: 2020-01-18
Posts: 19

"invalid or corrupted package"

hi,
i'm trying to install archlinux32 20240710, and pacstrap outputs "invalid or corrupted package" and complains about gpg keys

Offline

#2 2024-12-16 10:46:03

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,042
Website

Re: "invalid or corrupted package"

https://bugs.archlinux32.org/index.php? … ask_id=365

should also work on the ISO (which is older and has expired keys too).

Offline

#3 2024-12-16 22:55:17

sukolyn
Member
Registered: 2020-01-18
Posts: 19

Re: "invalid or corrupted package"

root@archiso ~ # gpg --import keys.php 
gpg: keybox '/root/.gnupg/pubring.kbx' created
gpg: key C8E8F5A0AF9BA7E7: 9 signatures not checked due to missing keys
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key C8E8F5A0AF9BA7E7: public key "Andreas Baumann (sign) <mail@andreasbaumann.cc>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: no ultimately trusted keys found
root@archiso ~ # 

normal ?

wget is not available so I used curl -O, which recorded file as key.php

Last edited by sukolyn (2024-12-16 22:56:29)

Offline

#4 2024-12-17 03:17:13

sukolyn
Member
Registered: 2020-01-18
Posts: 19

Re: "invalid or corrupted package"

ah?! it's better the second time with complete filename as:  'keys.php?k=16194A82231E9EF823562181C8E8F5A0AF9BA7E7'

but, after updating SigLevel to Never,  pacman -U /var/cache/pacman/pkg/archlinux32-keyring-20241114-1.2-any.pkg.tar.zst (which is the downloaded version: pacman -Syw archlinux32-keyring) fails

Last edited by sukolyn (2024-12-17 03:31:40)

Offline

#5 2024-12-17 07:58:00

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,042
Website

Re: "invalid or corrupted package"

Which SigLevel? It has to be in a pacman.conf you can change (so not the one of the ISO). Usually copying /etc/pacman.conf to /tmp/pacman.conf, changing it
and then using --config /tmp/pacman.conf should work. The same applies for pacstrap, where you can also specify an alternative config.

Offline

#6 2024-12-17 10:54:00

sukolyn
Member
Registered: 2020-01-18
Posts: 19

Re: "invalid or corrupted package"

I can change archiso's pacman.conf, it just doesn't last at reboot, and I don't reboot until install is done.

and at the moment I can't install arch32.

Last edited by sukolyn (2024-12-17 21:15:42)

Offline

Board footer

Powered by FluxBB