Pamac can't search AUR packages

Pamac is no longer able to search or access AUR packages.

NB: yay can install and remove AUR packages without any problem.

Pamac version: 10.5.0-2
Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.12-1-MANJARO (64-bit)
Graphics Platform: X11

Yes it can.

Do you have the option enabled?

What if you use it in terminal?

pamac search cowsay --aur

AUR support is enabled but I can’t get any AUR package in search results.

You’re here since three years at least and still don’t know to provide or look for logs or whatever is relevant for your issue? Come on, some efforts. Any log? Any command output?

It returns :

Failed to query https://aur.archlinux.org/rpc/?v=5&type=search&arg=cowsay from AUR: Could not connect to proxy server 127.0.0.1: Connection refused
ponysay                                                                                                                                                                     3.0.3-4  community 
    cowsay reimplemention for ponies
cowsay                                                                                                                                                                      3.04-2   extra 
    Configurable talking cow (and a few other creatures)

Pamac doesn’t search through the AUR website API since last year MINIMUM. What are you talking about? Maybe the terminal version still does but that would surprise me. The AUR database is now hosted by manjaro.org

It was working about a month ago, and I suspected that the updates needed time to sync AUR, but this problem persisted for me.

I didn’t change any Pamac config file during latest upgrades, may be some .pacnew file slipped and I didn’t merge it with old one.

Updoot:

sudo pacman -Syu

Show pacnews/pacsaves

pacdiff -o

I have only:
/etc/tlp.conf.pacnew

Where can I set AUR mirror to Manjaro instead of Arch ?

So uhm … do you have a proxy setting?

You don’t, this is how Pamac works, since last year as I said.

I have no proxy, and yay seems to be able to access AUR without problems.

Yay does direct AUR website access. That is what is weird as your Pamac “seems” to try to access direct AUR website, and fails, when in theory it now should use the Manjaro copy of the AUR database here https://aur.manjaro.org/packages-meta-ext-v1.json.gz, when at same time Yay can direct access the AUR website.

Again maybe the terminal version of Pamac works differently, but I don’t know why it would after the work done to migrate to the Manjaro own AUR database on own server.

:face_with_raised_eyebrow:

Is your Pamac from Manjaro repositories or from another source?

1 Like

@medmedin

pacman -Qi pamac-gtk

It’s from Manjaro, this only happened after latest upgrades, I think even Pamac got updated with them.

Name            : pamac-gtk
Version         : 10.5.0-2
Description     : A Package Manager based on libalpm with AUR and Appstream support
Architecture    : x86_64
URL             : https://gitlab.manjaro.org/applications/pamac
Licenses        : GPL3
Groups          : None
Provides        : pamac=10.5.0-2  pamac-gtk=10.5.0-2
Depends On      : pamac-cli=10.5.0-2  libpamac>=11.5.0  gtk3  libhandy  archlinux-appstream-data  libnotify
Optional Deps   : pamac-gnome-integration: for integration into Gnome
                  libpamac-flatpak-plugin: for Flatpak support
                  libpamac-snap-plugin: for Snap support
Required By     : pamac-tray-icon-plasma
Optional For    : None
Conflicts With  : pamac  pamac-gtk-dev
Replaces        : pamac
Installed Size  : 592.38 KiB
Packager        : Philip MĂĽller <philm@manjaro.org>
Build Date      : Sat 15 Apr 2023 01:00:29 AM +00
Install Date    : Sat 15 Apr 2023 02:42:38 PM +00
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : Signature

well … uhm … we can wipe it out and reinstall?

sudo pacman -Rndd pamac-gtk pamac-cli libpamac
paccache -rvuk0
sudo pacman -Syu libpamac pamac-cli pamac-gtk
1 Like

@cscs @omano Thanks really much for your help, it works now and return perfectly AUR results. :kissing_heart: