Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Today's update: package is corrupted (invalid or corrupted package) (Read 767 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Today's update: package is corrupted (invalid or corrupted package)

Tried to update the system today. That's what I get:

Quote
error: failed retrieving file 'lib32-acl-2.3.1-2.2-x86_64.pkg.tar.zst' from ftp.sh.cvut.cz : The requested URL returned error: 404
(33/33) checking keys in keyring                                         [########################################] 100%
(33/33) checking package integrity                                       [########################################] 100%
error: lib32-acl: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/lib32-acl-2.3.1-2.2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

Anything I should do or just wait till the devs reupload the packages with proper signatures?

P.S. Tried backuping the keys and reinstalling the keyrings as well as re-initing/re-populating them. Doesn't help.

Update: After a couple of hours the issue miraculously resolved itself... :-/

Re: [SOLVED] Today's update: package is corrupted (invalid or corrupted package)

Reply #1
Well, on another machine I tried to upgrade the system today:

Quote
~ > sudo pacman -Syu
:: Synchronising package databases...
 system is up to date
 world is up to date
 galaxy is up to date
 lib32 is up to date
:: Starting full system upgrade...
warning: ignoring package replacement (sdl-1:1.2.15+r406+gf1caf909-1 => sdl12-compat-1.2.68-1)
resolving dependencies...
looking for conflicting packages...

Packages (17) abseil-cpp-20230802.1-1.1  aom-3.8.1-1  artools-base-0.32.3-2  hwloc-2.10.0-1  libpciaccess-0.18-1  libpulse-17.0-3  libxext-1.3.6-1  libxkbfile-1.1.3-1
              libxml2-2.12.5-1  libxvmc-1.0.14-1  linux-lts-6.6.15-2  linux-lts-headers-6.6.15-2  pulseaudio-17.0-3  pulseaudio-bluetooth-17.0-3
              pulseaudio-zeroconf-17.0-3  webrtc-audio-processing-1-1.3-2  xorg-xkbcomp-1.4.7-1

Total Installed Size:  283.02 MiB
Net Upgrade Size:        7.40 MiB

:: Proceed with installation? [Y/n] y
(17/17) checking keys in keyring                                                                       [#############################################################] 100%
(17/17) checking package integrity                                                                     [#############################################################] 100%
error: libxkbfile: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libxkbfile-1.1.3-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

Re-initing, re-populating etc. doesn't help. Should I just wait for the issue to be resolved by the devs?

Re: [SOLVED] Today's update: package is corrupted (invalid or corrupted package)

Reply #2
Update: the same situation on the first machine. Guys, what's going on with signatures? It's the second time in a week or something.

Re: [SOLVED] Today's update: package is corrupted (invalid or corrupted package)

Reply #3
:: Continuar a instalação? [S/n] s
:: Obtendo pacotes...
 libxkbfile-1.1.3...    75,9 KiB  47,5 KiB/s 00:02 [#############] 100%
(5/5) verificando chaves no chaveiro               [#############] 100%
(5/5) verificando integridade do pacote            [#############] 100%
erro: libxkbfile: a assinatura de "Artix Buildbot <[email protected]>" é inválida
:: Arquivo /var/cache/pacman/pkg/libxkbfile-1.1.3-1-x86_64.pkg.tar.zst está corrompido (pacote inválido ou corrompido (assinatura PGP)).
Deseja apagá-lo? [S/n] s
erro: falha ao efetuar a transação (pacote inválido ou corrompido)
Ocorreram erros e, portanto, nenhum pacote foi atualizado.                                                                                                                                                     

same thing for me too

Re: [SOLVED] Today's update: package is corrupted (invalid or corrupted package)

Reply #4
Can confirm, also having problems upgrading libxkbfile.

Re: [SOLVED] Today's update: package is corrupted (invalid or corrupted package)

Reply #5
The problem seems to have been resolved. the libxkbfile updated normally for me.

Re: [SOLVED] Today's update: package is corrupted (invalid or corrupted package)

Reply #6
Code: [Select]
pacman -S extra/libxkbfile
fixed it here, I have Arch repos enabled though and this installs the Arch version from extra. This approach could potentially cause problems if this version proved to be incompatible in some way, I should warn the unwary.

Re: [SOLVED] Today's update: package is corrupted (invalid or corrupted package)

Reply #7
Code: [Select]
pacman -S extra/libxkbfile
fixed it here, I have Arch repos enabled though and this installs the Arch version from extra. This approach could potentially cause problems if this version proved to be incompatible in some way, I should warn the unwary.

I don't have Arch repos at all. It's a clean installation. Anyway, the issue is already fixed. I guess the devs did something.

Re: [SOLVED] Today's update: package is corrupted (invalid or corrupted package)

Reply #8
At the time I wrote that the fixed package apparently hadn't synced to all the mirrors because I was still getting the error after Syyu, that can take a while and I wanted to install another package that required an update to be done first. It's working here today though.

 

Re: [SOLVED] Today's update: package is corrupted (invalid or corrupted package)

Reply #9
lib32-expat-2.5....    69,0 KiB  43,8 KiB/s 00:02 [#############] 100%
(1/1) verificando chaves no chaveiro               [#############] 100%
(1/1) verificando integridade do pacote            [#############] 100%
erro: lib32-expat: a assinatura de "Artix Buildbot <[email protected]>" é inválida
:: Arquivo /var/cache/pacman/pkg/lib32-expat-2.5.0-2-x86_64.pkg.tar.zst está corrompido (pacote inválido ou corrompido (assinatura PGP)).
Deseja apagá-lo? [S/n] s
erro: falha ao efetuar a transação (pacote inválido ou corrompido (assinatura PGP))
Ocorreram erros e, portanto, nenhum pacote foi atualizado.

again. I enabled lib32 to install lib32-wayland. which is necessary for a program (wine). When trying to install the lib32-expat dependency. this error occurred.