Pamac update issue after pacman update to version 7

If it’s an AUR package you are trying to uninstall you need to use yay -R pamac-aur
If you have the git version then you would use yay -R pamac-aur-git to remove the git package.
I don’t think you can uninstall AUR packages with pacman. :thinking:

1 Like

You can. You cannot install an AUR package with pacman, but you can remove installed AUR packages with pacman.

How long have you been using Arch based distros again? :laughing:

1 Like

Right you are. :wink: Too many posts and topics intermixed about different issues. It’s very confusing and leading to pacman panic and getting mixed up between pacman and pamac which is an AUR package. Some of the issues are intertwined though because of dependencies.

Thanks for correcting me. I have never used pacman to uninstall an AUR package and I didn’t know that you could. One only knows what they know and for the most part it’s never enough. :laughing:

Edit: Hence why i left an emoji. :thinking:

1 Like

I get this when trying to install pamac now

[christopher67@EndeavourOS ~]$ yay -Syu pamac-aur
yay: error while loading shared libraries: libalpm.so.15: cannot open shared object file: No such file or directory
[christopher67@EndeavourOS ~]$

Is there a way to install libalpm.so.15 ?

Did you not reinstall yay? Updates now should have the new yay from the eos repo.
What doesyay --version show

[christopher67@EndeavourOS ~]$ yay --version show
yay v12.3.5 - libalpm v15.0.0

This is correct. When you install pamac make sure you answer the question to clean build all by typing A when that question comes up just in case it’s building from a package already in cache.

3 Likes
yay -Syu pamac-aur

Or Just

yay -S pamac-aur

or will both work?

yay is working now, so thats good.

I would try this and make sure to clean build all.

yay -Syu pamac-aur
1 Like

Is that a general rule for anytime that question comes up?

I usually just hit enter and take defaults when that happens, never sure if that’s the right thing to do.

Normally i always just press enter myself but sometimes it’s necessary to clean build as the build package will be in cache so it’s old which is okay if nothing has changed.

3 Likes

This is what i get now.

[christopher67@EndeavourOS ~]$ pacman -Q pamac
pamac-aur 11.7.1-5

Are you saying it’s installed now?

1 Like

Yea

Is that the newest version?

1 Like

I have the same.

Edit:

[ricklinux@rick-ms7c37 ~]$ pacman -Qi pamac-aur
Name            : pamac-aur
Version         : 11.7.1-5
Description     : A Gtk frontend, Package Manager based on libalpm with AUR and Appstream support
Architecture    : x86_64
URL             : https://github.com/manjaro/pamac
Licenses        : GPL-3.0-or-later
Groups          : None
Provides        : pamac=11.7.1-5  pamac-cli=11.6.0-5
Depends On      : libnotify  libhandy  libadwaita  gtk4  desktop-file-utils  libpamac-aur>=11.6  gnutls>=3.4  git
Optional Deps   : polkit-gnome: needed for authentification in Cinnamon, Gnome
                  lxsession: needed for authentification in Xfce, LXDE etc.
Required By     : None
Optional For    : None
Conflicts With  : pamac  pamac-tray-appindicator  pamac-cli
Replaces        : None
Installed Size  : 905.06 KiB
Packager        : Unknown Packager
Build Date      : Sun 15 Sep 2024 12:19:42 PM
Install Date    : Sun 15 Sep 2024 12:20:03 PM
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : None
1 Like

Thank you for the help, much appreciated!

[christopher67@EndeavourOS ~]$ pacman -Qi pamac-aur
Name            : pamac-aur
Version         : 11.7.1-5
Description     : A Gtk frontend, Package Manager based on libalpm with AUR and Appstream support
Architecture    : x86_64
URL             : https://github.com/manjaro/pamac
Licenses        : GPL-3.0-or-later
Groups          : None
Provides        : pamac=11.7.1-5  pamac-cli=11.6.0-5
Depends On      : libnotify  libhandy  libadwaita  gtk4  desktop-file-utils  libpamac-aur>=11.6  gnutls>=3.4  git
Optional Deps   : polkit-gnome: needed for authentification in Cinnamon, Gnome
                  lxsession: needed for authentification in Xfce, LXDE etc.
Required By     : None
Optional For    : None
Conflicts With  : pamac  pamac-tray-appindicator  pamac-cli
Replaces        : None
Installed Size  : 905.06 KiB
Packager        : Unknown Packager
Build Date      : Sun 15 Sep 2024 05:23:42 PM EDT
Install Date    : Sun 15 Sep 2024 05:23:55 PM EDT
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : None

[christopher67@EndeavourOS ~]$ 
1 Like

How did you get yay working again? I’m currently at this point and got rid of pamac and when using yay

[lorenc@filip-PC ~]$ yay -Syu pamac-aur
yay: error while loading shared libraries: libalpm.so.15: cannot open shared object file: No such file or directory

and when trying to reinstall yay I get

[lorenc@filip-PC ~]$ sudo pacman -Syu yay
[sudo] password for lorenc: 
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra                      7,4 MiB  8,62 MiB/s 00:01 [----------------------------] 100%
 multilib is up to date
warning: yay-12.3.5-2 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing pacman (7.0.0.r3.g7736133-1) breaks dependency 'pacman<6.2' required by libpamac-git

Delete libpamac-git. Once pamac updates, you can install it again.

sudo pacman -Rns libpamac-git.
Then
sudo pacman -Syu.

And next time, please read through the thread, someone had a similar problem I believe.

1 Like

Thanks a lot. Everything seems to be working now. And yeah sorry might have missed something here, gonna try reading through it more next time.