Aur not working

https://justpaste.it/f6a63 pacman log from a reinstall of everything including trying to reinstall from aur via yay

I am having issues trying to build packages from the aur and I am seeing issues trying to make sure things on my install are fine which I assume is part of my aur woes right now

basically the log is the output from trying to run

pacman -Qqn | pacman -S -

and

pacman -Qqm | yay -S -

pacman was recently upgraded, which momentarily broke yay (and other similar helpers).

To get it working, I followed these steps:

  1. Update packages with pacman.
pacman -Syu

Let that finish, then restart your system.

  1. Now update everything, including AUR packages.
eos-update --yay

Hopefully no issues?

I am apparently using pacman-git from the aur instead of pacman from the repos

Do you want to use pacman-git? Given you’ve posted this in “Newbie”, I’d gently suggest you stick with the official pacman.

Are you able to restore official pacman? (my head spins a bit with this command)

sudo pacman -S pacman
2 Likes

A bit of background might assist too. What prompted the action to attempt to re-install everything? That’s a drastic measure that’s rarely necessary.

Not being able to install anything from the AUR for starters. Keep getting (-mirror) isn’t a known command when I try and install anything like trying to update Waydroid for example.

Have you tried what I suggested in my first reply?

Basically said everything was up to date and that there wasn’t anything to do

Ok. It will help us follow along, if you give us feedback on actions taken :wink: :+1:

What’s the output of:

sudo pacman -Q | grep pacman

using pacman to install standard pacman seems to have down the trick on all accounts no more errors when trying to install packages from aur and I no longer see that lib error eiter

1 Like

Great news :grinning:

If you encounter issues, which is fairly inevitable using a leading-edge rolling release distro like EndeavourOS, you might check-in on the forums first before attempting more drastic measures :wink:

Chances are, someone else has already had the issue, or we can help resolve it in a more directed manner :+1:

Do not ask me why I had pacman-git installed as I have no idea and I have been having weird software issues with EoS since day 1 of install honestly. Once it completely borked my install and removed itself from grub so I had to use chroot from an iso to get things working again. Ontop of having mirrorlist issues and other software just breaking itself from working out of the blue.To be honest I have been cursed for years in trying to run linux on any laptop I try and use no matter the hardware or distro.

Arch / EndeavourOS does require some wrestling sometimes. That’s the nature of these rolling-release distros. You’re not given the greater surety that comes with versioned distros, that might have held back for example, a breaking pacman update to the next major release.

The advantages we enjoy, are up-to-date packages, and control and flexibility with our installations.

The downside is, sometimes those cutting edge updates break stuff, but if you’re wanting to learn how to use Linux, or better yet, understand it, there aren’t many better ways to do it.

I have been dealing with Linux since the mid 2000s or so with things like DamnsmallLinux, puppylinux, Ubuntu, PCLinuxOS Gnome 2 version. My main distro was PCLOS Gnome 2 which yes is a rolling release and that is what I honestly prefer over say Ubuntu and dervitives

1 Like

As for the mirrors issue, I personally use rate-mirrors, which checks, speed-tests and ranks Arch and EndeavourOS mirrors.

With that installed, these are the commands you might use:

Ranks and saves Arch mirrors:

rate-mirrors --disable-comments-in-file --protocol=https arch --max-delay 7200 | sudo tee /etc/pacman.d/mirrorlist

Ranks and saves EndeavourOS mirrors:

rate-mirrors --disable-comments-in-file --protocol=https endeavouros  | sudo tee /etc/pacman.d/endeavouros-mirrorlist

building rate-mirrors from aur using yay now so lets see if that helps me out some

1 Like
endeavouros/rate-mirrors 0.18.0-1 (2.6 MiB 7.8 MiB) (Installiert)
    Everyday-use client-side map-aware mirror ranking tool

thats in the EndeavourOS repo…

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.