#[SOLVED] Error updating system packages

12 messages · Page 1 of 1 (latest)

brittle breach
#

Hi,

I'm getting this error when updating system packages, does anyone know how to solve it?: The signature of "TNE tne@garudalinux.org" has unknown trust

round bramble
#

you need to refresh the keyring

#

do pacman -S archlinux-keyring chaotic-keyring

#

@brittle breach

brittle breach
#

@round bramble thanks for the help, I ran the command you commented but it's still giving error. Missed running something?

$ sudo  pacman -S archlinux-keyring chaotic-keyring                 
>>> ok

$ yay visual-studio-code                           
5 aur/visual-studio-code-cli-bin 1.78.0-1 (+0 0.00) 
    The Visual Studio Code Server is a service you can run on a remote development machine, like your desktop PC or a virtual machine (VM).
4 aur/visual-studio-code-insiders-bin 1683870212-1 (+23 1.77) 
    Editor for building and debugging modern web and cloud applications (insiders version)
3 aur/visual-studio-code-bin 1.79.2-1 (+1336 19.30) 
    Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)
2 chaotic-aur/visual-studio-code-insiders-bin 1687240661-1 (116.5 MiB 333.6 MiB) 
    Editor for building and debugging modern web and cloud applications (insiders version)
1 chaotic-aur/visual-studio-code-bin 1.79.2-1 (116.6 MiB 336.8 MiB) 
    Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)
==> Pacotes a instalar (ex: 1 2 3, 1-3 ou ^4)
==> 1

...

erro: falha ao efetuar a transação (pacote inválido ou corrompido (assinatura PGP))
Ocorreram erros e, portanto, nenhum pacote foi atualizado.
erro: não foi possível definir o motivo da instalação do pacote visual-studio-code-bin (não foi possível ler ou escrever o pacote)
 -> error installing repo packages
sharp mauveBOT
#

anakojm received a thank you cookie!

round bramble
#

sorry can you try running LC_ALL=C yay visual-studio-code, I don’t understand this language

brittle breach
#

Sorry, I sent it in Portuguese, I didn't pay attention:

$ LC_ALL=C yay visual-studio-code
5 aur/visual-studio-code-cli-bin 1.78.0-1 (+0 0.00) 
    The Visual Studio Code Server is a service you can run on a remote development machine, like your desktop PC or a virtual machine (VM).
4 aur/visual-studio-code-insiders-bin 1683870212-1 (+23 1.77) 
    Editor for building and debugging modern web and cloud applications (insiders version)
3 aur/visual-studio-code-bin 1.79.2-1 (+1336 19.30) 
    Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)
2 chaotic-aur/visual-studio-code-insiders-bin 1687240661-1 (116.5 MiB 333.6 MiB) 
    Editor for building and debugging modern web and cloud applications (insiders version)
1 chaotic-aur/visual-studio-code-bin 1.79.2-1 (116.6 MiB 336.8 MiB) 
    Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 1
Sync Explicit (1): visual-studio-code-bin
resolving dependencies...
looking for conflicting packages...

Packages (1) visual-studio-code-bin-1.79.2-1

...

error: visual-studio-code-bin: signature from "TNE <tne@garudalinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/visual-studio-code-bin-1.79.2-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
error: could not set install reason for package visual-studio-code-bin (could not find or read package)
 -> error installing repo packages
brittle breach
#

@round bramble I signed the key locally and it worked:

$ sudo pacman-key --lsign-key tne@garudalinux.org

once again, thank you very much for your help!

sharp mauveBOT
#

anakojm received a thank you cookie!

manic gullBOT
#

#9742 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.

  • You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
  • You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".

Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you