Newbie: How to fix broken Pacman

Hi,
I am the newbiest newbie you can think of, regarding EndeavourOS. Yesterday I installed EndeavorOS rolling Xfce 4.18 Gtk 3.2.4.37 Kernel now 6.2.2-arch1-1.Installation from EndeavourOS_Cassini_Nova-03-2023.iso. Installation (multiboot, or better neighborboot) was easy, so were the first updates; e.g., I got my WiFi network working smoothly. But now, all these errors! Before I go into Detail I should add I use decade-long multiboot with Ubuntu, Debian and Windows. Now sits EndeavourOS besides these fellows on my HP laptop HP 15s-eq1445ng. Those deb-distros got me spoiled, certainly. This ny first experience with aur, pacman etc.

DETAILS
Each time I do
$ pacman -Syu
packages are listed but not installed, evidenced by a few similar looking error messages at the end (I show only one):

error: endeavouros-mirrorlist: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/endeavouros-mirrorlist-23.8-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]

Neither deleting all nor "Y"ing all helps. Still error.
I tried a few things I can’t remember all, such as:

sudo pacman -S archlinux-keyring

sudo pacman -Syu

to no avail :cry:

I  would need pacman to instal thunderbird and a few other programs. Is there, maybe, a gui like synaptic (Debian, Ubuntu) to ease my pains? Any help appreciated.

Thank you,

endocub

hi @endocub,
Welcome to the purple universe :enos: :enos_flag: :penguin_face: :rocketa_purple:

try updating your EnOS keyrings with:

sudo pacman -Sy endeavouros-keyring

and then update again

sudo pacman -Syu

Thank you very much @pycrk :slight_smile: Worked magic!

How can I close my thread?

Click … under @pycrk’s post and check the solution box. It will close automatically two days after the last reply.

Also welcome to EnOS’ community!

:enos: :handshake:t5:

Thank you, and for the record: I installed Endeavour OS KDE Plasma now; this is easier on me without most of these pacman and yay mysteries :wink:

And what seems to be very pleasing, my networkcard ‘Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe’ does not trouble me so far with wifi in EndeavourOS as does it in Ubuntu and Debian - I need periodical workarounds there after kernel updates.

EOS is fantastic at “installing the QoL you need to start your journey”. Such as Bluetooth setup and the likes. I literally put the generic-est dongle I had (which is the one I used for my also generic headset) and it worked just like that (after starting the BT service).

As a somewhat newb myself and KDE user, I would advice you however to slowly learn the “Pacman and Yay mysteries”.
Another thing is KDE front-end/services don’t always work as intended. While EOS KDE install is very lean, it’s still KDE and stuff happens.

Extra: If you are someone to use Widgets in KDE as I do, make sure to install “kdeplasma-addons”. That isn’t installed by default and it’s needed so widgets (even default ones) don’t reply with an error of missing things.

Welcome to EOS!

Thank you latisullivan,

I would advice you however to slowly learn the “Pacman and Yay mysteries”.

Gives me a headache, e.g.:

 yay -Syu pamac-gtk
[sudo] password for <name>:
:: Synchronizing package databases...
 endeavouros                            25,5 KiB  8,57 KiB/s 00:03 [------------------------------------] 100%
 core                                  132,0 KiB  76,0 KiB/s 00:02 [------------------------------------] 100%
 extra                                   8,3 MiB   915 KiB/s 00:09 [------------------------------------] 100%
 community                              45,0   B   114   B/s 00:00 [------------------------------------] 100%
 multilib                              143,1 KiB  88,7 KiB/s 00:02 [------------------------------------] 100%
 -> No AUR package found for pamac-gtk
:: Searching AUR for updates...
:: Searching databases for updates...
:: 4 packages to upgrade/install.
4  core/libarchive               3.7.0-2    -> 3.7.1-1
3  core/licenses                 20220125-2 -> 20230729-1
2  core/thin-provisioning-tools  1.0.4-1    -> 1.0.5-1
1  extra/imagemagick             7.1.1.14-1 -> 7.1.1.15-1
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
 -> Excluding packages may cause partial upgrades and break systems
==>

I am completely at a loss what to input after the last “===>”?
Am I an expert in this? No!
Hoped, pamac would ease my EndeverourOS pains :frowning:

Don’t look for something that was made by and for another distro to make things easier in EndeavourOS. Pamac is a Manjaro project.

As far as your last post just hit the enter key its asking if you want to exclude If you don’t wish to excluded anything just press enter.

There is simply no such package in AUR:

https://aur.archlinux.org/packages?O=0&SeB=nd&K=pamac&outdated=&SB=p&SO=d&PP=50&submit=Go

What would ease your pains, at least when it comes to package management in Arch would be to spend some time on reading up some wiki articles:

Package management: https://wiki.archlinux.org/title/Package_Management_FAQs
AUR: https://wiki.archlinux.org/title/AUR

Also, in your terminal:

pacman --help
man pacman
yay --help
man yay

:pill:

Oh I see your confusion!
Well, first I don’t think you need to sudo the yay command, look at my outputs:

[mrlion@Orianna ~]$ yay
[sudo] password for mrlion:
:: Synchronizing package databases…
endeavouros 25,5 KiB 8,20 KiB/s 00:03 [-------------------------------------] 100%
core 131,8 KiB 145 KiB/s 00:01 [-------------------------------------] 100%
extra 8,3 MiB 1100 KiB/s 00:08 [-------------------------------------] 100%
multilib is up to date
:: Searching AUR for updates…
:: Searching databases for updates…
:: 6 packages to upgrade/install.
6 endeavouros/eos-update-notifier 23-6 → 23-7
5 endeavouros/yay 12.1.0-1 → 12.1.2-1
4 core/btrfs-progs 6.3.2-1 → 6.3.3-1
3 core/libarchive 3.7.0-2 → 3.7.1-1
2 core/licenses 20220125-2 → 20230729-1
1 core/thin-provisioning-tools 1.0.4-1 → 1.0.5-1
==> Packages to exclude: (eg: “1 2 3”, “1-3”, “^4” or repo name)
→ Excluding packages may cause partial upgrades and break systems
==>

The >==> is where you put the input: In this case, if you wanted to update everything and NOT exclude things (unless you pay attention, this is a bit confusing, not going to lie) you input 0 (zero) - I’m pretty proud of this because I thought of it myself!

However, I personally don’t use yay for updating, I use sudo pacman -Syu first. And after that, I use YAY. In my brain, AUR is not Arch repos/system, therefore should come secondary.

In addition, “Pamac” is the GUI interface for pacman, I think, which was developed by/for (?) Manjaro. While using Manjaro, pamac is a good tool, but as best practice in Linux in general, if you could avoid using GUI or at least mix it up, it’s the best. You can never know when the GUI part of it will do an oopsie and mess up with things potentially breaking stuff even more than they would have if you used terminal (DO AS I SAY!? :laughing: )

Or just hit the ENTER key. If you don’t input a number, it’s the same thing as entering a 0.

Thank you Stagger_Lee,
this was the solution! And installing was a breeze! I am getting to love those commands. And thank you all for your comments :smiley:
But bye for now (I might return sometime). Why? I have been married for 56 years, my wife is co-user on our laptop, but I sure will not want that she divorces me for emotional cruelty when I try to force* into her those EndeavourOS commands :wink:
Cheers and see ya,
endocub
P.S. *: she must be able to the basic necessary things with a distro

After a short stint with Manjaro I am back. EOS’ elegance, speed and friendlyness towards my Realtek 8821 network card got me hooked! And I found a solution that satisfies both me and my wife, distrowise.

@endocub Welcome to the purple side. :enos: