you are using yay ? or pacman??
for yay you would need to su username before using it if inside chroot… because in the chroot you are root by default…
If it was pacman you may need to reinstall keyring before the update… if you where not updating the system for a long time… but it could be also you try running update outside the chrootrd terminal or… you are not chrooted correctly…
All inside i can see… check the prompt and ls /home what should repeat your users name…
I’m using pacman. It shows the directory with my name when I do ls /home, so I think everything’s right in that regard. I also see root@endeavouros to the left of my commands.
I haven’t used this laptop in around a month so it’s likely that could be the problem.
When I try running pacman -Sy archlinux-keyring I get the same issue, asks for
:: Proceed with installation? [Y/n] y (1/1) checking keys in keyring [--------------------------------------] 100% downloading required keys... :: Import PGP key 6D42BDD116E0068F, "Christian Hesse <eworm@archlinux.org>"? [Y/n] y error: key "6D42BDD116E0068F" could not be imported error: required key missing from keyring error: failed to commit transaction (unexpected error) Errors occurred, no packages were upgraded.
I tried the three first ones and unfortunately none of them worked. When I try to pacman -Sy archlinux-keyring it still asks me to import a key, after which it gives me the same error.
I have tried to set the SigLevel to optional but I get the following error: [root@EndeavourOS# sudo nano /etc/pacman.conf nano: error while loading shared libraries: /usr/lib/libmagic.so.1: file too short
i get the same error even if i dont run as sudo
looks like some serious damage to the installed system to me… you can try editing the file from the LiveSession running xed as root and open the same /mnt/etc/pacman.conf from outside the chroot… sudo xed /mnt/etc/pacman.conf
I’m afraid that didn’t do much, I was able to edit that in the live session, but it still asks me for the pgp if I try to install anything in the chroot.
Thank you, I don’t have any problems with pgp keys now, but I got a load of errors, followed by Errors occurred, no packages were upgraded. I don’t think I should post all the errors here as some of them contain my name but they all follow the format [PROGRAM] [directory to file] exists in filesystem
example: zenity: /usr/share/zenity/zenity-list.png exists in filesystem
I think I was able to install lightdm though (and I just updated one of my unrelated programs just to see if it’d work and it did). Not sure if that solved all the problems, though, especially with the desktop panels missing in the last session I was logged in
Thank you all so much, I was then able to get back on and everything’s still here.
Not sure what to mark as “solution” as everything helped so I will go with that other comment.
I’m still having issues with my xfce panels, and doing xfce4-panel -r doesn’t seem to do anything. But I guess that’s fine, I’ll just use kde for now.