Artix Linux Forum

Artix Linux => Package management => Topic started by: argo on 13 January 2024, 09:47:30

Title: artix-archlinux-support - error keys could not be locally signed
Post by: argo on 13 January 2024, 09:47:30
Noob here, trying to install artix-archlinux-support but I'm getting this error: (https://files.catbox.moe/ib8zro.jpg)

Getting the same error when I try to run `pacman-key --populate archlinux`.
Title: Re: artix-archlinux-support - error keys could not be locally signed
Post by: Wolzly on 14 January 2024, 00:24:04
I was just getting these errors.  Try this:

(from https://wiki.archlinux.org/title/Pacman/Package_signing#Resetting_all_the_keys)

Remove or reset all the keys installed in your system by removing the /etc/pacman.d/gnupg directory (as root) and by rerunning pacman-key --init followed by pacman-key --populate to re-add the default keys.

I think you also have to run:
pacman-key --populate artix
Title: Re: artix-archlinux-support - error keys could not be locally signed
Post by: tintin on 14 January 2024, 04:47:52
Welcome.
This page might interest you :
https://wiki.artixlinux.org/Main/Troubleshooting#Invalid_or_corrupted_packages_.28PGP_signature.29
Title: Re: artix-archlinux-support - error keys could not be locally signed
Post by: lq on 14 January 2024, 09:57:44
...  I'm getting this error: ...

I would think about the time (https://en.wikipedia.org/wiki/Time) first.

https://wiki.gentoo.org/wiki/System_time
https://wiki.archlinux.org/title/System_time
Title: Re: artix-archlinux-support - error keys could not be locally signed
Post by: tintin on 14 January 2024, 10:03:36
...  I'm getting this error: ...

I would think about the time (https://en.wikipedia.org/wiki/Time) first.
https://wiki.gentoo.org/wiki/System_time
https://wiki.archlinux.org/title/System_time
Well seen !
https://forum.artixlinux.org/index.php/topic,6260.msg38625.html#msg38625
Title: Re: artix-archlinux-support - error keys could not be locally signed
Post by: lq on 14 January 2024, 10:30:58

Your solution is correct, but because it is probably a dualboot system [m$-windows], I think it is appropriate to post the three wiki articles.
Title: Re: artix-archlinux-support - error keys could not be locally signed
Post by: tintin on 14 January 2024, 10:37:00
Your solution is correct, but because it is probably a dualboot system [m$-windows], I think it is appropriate to post the three wiki articles.
I noted this which should always work:
If you need to set the time in relation to the BIOS (windows/linux dual boot):
Code: [Select]
sudo nano /etc/conf.d/hwclock
Code: [Select]
# Set CLOCK to "UTC" if your Hardware Clock is set to UTC (also known as
#Greenwich Mean Time). If that clock is set to the local time, then
# set CLOCK to "local". Note that if you dual boot with Windows, then
# you should set it to "local".
clock="local"
#clock="UTC"

https://forum.artixlinux.org/index.php/topic,1464.0.html
Title: Re: artix-archlinux-support - error keys could not be locally signed
Post by: argo on 14 January 2024, 14:24:14
Issue was not with time.. but today I tried removing and reinstalling the package it now works somehow :)
Thanks for the replies