Skip to main content
Topic: [SOLVED] Visual Studio Code install/PGP problem (Read 1779 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Visual Studio Code install/PGP problem

Hello, I'm trying to install Visual Studio Code, tried with pacman, and yaourt.
I have to options Y/n, it doesn't matter what I pick, it's canceling the installation.
PS: screenshot included. Thanks
Code: [Select]
[who@RAGE ~]$ sudo pacman -S code
[sudo] password for who:
resolving dependencies...
looking for conflicting packages...

Packages (4) c-ares-1.16.1-2  electron-9.2.1-1  ripgrep-12.1.1-1  code-1.49.0-2

Total Installed Size:  237.12 MiB

:: Proceed with installation? [Y/n] y
(4/4) checking keys in keyring                                                                                                                                   [####################################################################################################] 100%
(4/4) checking package integrity                                                                                                                                 [####################################################################################################] 100%
error: code: signature from "Filipe LaĆ­ns (FFY00) <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/code-1.49.0-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]

Re: Visual Studio Code install/PGP problem

Reply #1
try:
Code: [Select]
mv /etc/pacman.d/gnupg/ /etc/pacman.d/gnupg.bak
pacman-key --init
pacman-key --populate archlinux
pacman-key --populate artix

and try install it again.

 

Re: Visual Studio Code install/PGP problem

Reply #2
try:
Code: [Select]
mv /etc/pacman.d/gnupg/ /etc/pacman.d/gnupg.bak
pacman-key --init
pacman-key --populate archlinux
pacman-key --populate artix

and try install it again.
wow! that worked like a charm.
PS: first day with artix - it's super fast ! :o