eddier
14 February 2025 21:55
1
Trying Gnome on a newly acquired HP mini PC. Discovered that despite being enabled in Pamac nothing registers for the AUR. I was going to install drivers for my Brother printer, but the Printer app ended up doing the job.
Whats the score with AUR?
cscs
14 February 2025 21:59
2
Its up and it works.
We might need more information like … what do you mean exactly?
Just that you search for AUR packages and nothing is returned? Or?..
eddier
14 February 2025 23:53
3
Enabled in Pamac- database refreshed, . Pamac restarted, searched for ‘Brother’ and nothing came up. Search for anything in AUR and …nothing.
Works ok on a KDE-Plasma install on another PC. And prior to Gnome worked on KDE-Plasma on the this PC. AUR is listed on the left but selecting it comes up blank.
Well guess what, just tried again and there it is!! I’m baffled.
Look here, perhaps:
AUR (en) - Packages
add appropriate keywords
CUPS/Printer-specific problems - ArchWiki
… you didn’t specify the printer model …
There is a known issue with Pamac and AUR metadata and there is known workarounds
opened 07:23AM - 23 Jan 25 UTC
Previously reported as issue #1
The app fails to read AUR data
## pacman ver… sion
```
$ pacman --version
.--. Pacman v7.0.0 - libalpm v15.0.0
/ _.-' .-. .-. .-. Copyright (C) 2006-2024 Pacman Development Team
\ '-. '-' '-' '-' Copyright (C) 2002-2006 Judd Vinet
'--'
This program may be freely redistributed under
the terms of the GNU General Public License.
```
## pamac version
```
$ pamac --version
pamac-cli 11.7.1 - libpamac 11.7.0
Copyright © 2019-2024 Guillaume Benoit
This program is free software, you can redistribute it under the terms of the GNU GPL.
```
## manjaro branch
```
$ pacman-mirrors -G
unstable
```
## search
```
$ pamac search visual-studio-code-bin
Failed to read AUR data from /var/lib/pacman/sync/packages-meta-ext-v1.json.gz : Error opening file /var/lib/pacman/sync/packages-meta-ext-v1.json.gz: No such file or directory
```
## force refresh
```
$ pamac update --aur --dry-run --force-refresh
Preparing...
Failed to read AUR data from /var/lib/pacman/sync/packages-meta-ext-v1.json.gz : Error opening file /var/lib/pacman/sync/packages-meta-ext-v1.json.gz: No such file or directory
Nothing to do.
Transaction successfully finished.
```
## using sudo to force refresh
```
$ sudo pamac update --aur --dry-run --force-refresh
Warning: Building packages as dynamic user
Warning: Setting build directory to /var/cache/pamac
Preparing...
Failed to read AUR data from /var/lib/pacman/sync/packages-meta-ext-v1.json.gz : Error opening file /var/lib/pacman/sync/packages-meta-ext-v1.json.gz: No such file or directory
Nothing to do.
Transaction successfully finished.
```
## db location
No matter how one attempts to retrieve the database it will not work
```
$ ls /var/lib/pacman/sync -l
-rw-r--r-- 1 root root 141877 22 jan 17:28 core.db
-rw-r--r-- 1 root root 8524755 23 jan 02:50 extra.db
-rw-r--r-- 1 root root 143986 23 jan 02:50 multilib.db
-rw-r--r-- 1 root root 1865 20 jan 04:13 sublime-text.db
-rw-r--r-- 1 root root 543 20 jan 04:13 sublime-text.db.sig
```
## pacman package info
```
$ pamac info pacman
Failed to read AUR data from /var/lib/pacman/sync/packages-meta-ext-v1.json.gz : Error opening file /var/lib/pacman/sync/packages-meta-ext-v1.json.gz: No such file or directory
Name : pacman
Version : 7.0.0.r10.ga2d0293-1
Description : A library-based package manager with dependency support
URL : https://www.archlinux.org/pacman/
Licenses : GPL-2.0-or-later
Repository : core
Installed Size : 5,1 MB
Groups : --
Depends On : bash coreutils curl gawk gettext glibc gnupg gpgme grep
libarchive pacman-mirrorlist systemd
Optional Dependencies : base-devel: required to use makepkg [Installed]
perl-locale-gettext: translation support in makepkg-template
Required By : arch-install-scripts archlinux-keyring autogit base
base-devel libpamac manjaro-check-repos manjaro-keyring
mhwd packagekit pacman-contrib pacseek paru-bin pyalpm
repoctl yay
Optional For : --
Provides : libalpm.so=15-64
Replaces : --
Conflicts With : --
Packager : Philip Mueller <philm@manjaro.org>
Build Date : søn 27 okt 2024 07:15:28 CET
Install Date : <irrelevant>
Install Reason : Installed as a dependency for another package
Validated By : Signature
Backup files : /etc/pacman.conf /etc/makepkg.conf
/etc/makepkg.conf.d/rust.conf
```
## pamac-cli package info
```
$ pamac info pamac-cli
Failed to read AUR data from /var/lib/pacman/sync/packages-meta-ext-v1.json.gz : Error opening file /var/lib/pacman/sync/packages-meta-ext-v1.json.gz: No such file or directory
Name : pamac-cli
Version : 11.7.1-1
Description : A CLI Package Manager based on libalpm with AUR support
URL : https://github.com/manjaro/pamac-cli
Licenses : GPL-3.0-or-later
Repository : extra
Installed Size : 180,7 kB
Groups : --
Depends On : libpamac>=11.7.0
Optional Dependencies : plymouth: offline upgrade support [Installed]
Required By : --
Optional For : --
Provides : --
Replaces : --
Conflicts With : pamac<=7.3.4-2
Packager : Mark Wagie <mark@manjaro.org>
Build Date : man 11 nov 2024 18:00:36 CET
Install Date : <irrelevant>
Install Reason : Explicitly installed
Validated By : Signature
Backup files : --
```
## libpamac package info
```
$ pamac info libpamac
Failed to read AUR data from /var/lib/pacman/sync/packages-meta-ext-v1.json.gz : Error opening file /var/lib/pacman/sync/packages-meta-ext-v1.json.gz: No such file or directory
Name : libpamac
Version : 11.7.0-2
Description : Library for Pamac package manager based on libalpm
URL : https://github.com/manjaro/libpamac
Licenses : GPL-3.0-or-later
Repository : extra
Installed Size : 4,0 MB
Groups : --
Depends On : appstream dbus-glib git glib2 json-glib libalpm.so=15
libsoup3 pacman-mirrors polkit
Optional Dependencies : --
Required By : pamac-cli
Optional For : --
Provides : libpamac.so=11 pamac-common libpamac-appstream.so=11
libpamac-appstream-plugin libpamac-aur.so=11
libpamac-aur-plugin
Replaces : pamac-common
Conflicts With : libpamac-aur-plugin libpamac-appstream-plugin
Packager : Mark Wagie <mark@manjaro.org>
Build Date : ons 04 dec 2024 19:43:10 CET
Install Date : <irrelevant>
Install Reason : Installed as a dependency for another package
Validated By : Signature
Backup files : /etc/pamac.conf
```
opened 06:32AM - 27 Oct 24 UTC
closed 03:22PM - 11 Nov 24 UTC
## Version
```
$ pamac --version
pamac-cli 11.6.0 - libpamac 11.7.0
Copyr… ight © 2019-2024 Guillaume Benoit
This program is free software, you can redistribute it under the terms of the GNU GPL.
```
## Reproduce
```
$ pamac search j4335dw --aur
Failed to read AUR data from /var/lib/pacman/sync/packages-meta-ext-v1.json.gz : Error opening file /var/lib/pacman/sync/packages-meta-ext-v1.json.gz: No such file or directory
```
## Expected result
https://aur.archlinux.org/packages?K=j4335dw
As pamac runs with user permissions - the dbs are stored in
```
/var/tmp/pamac/dbs
```
eddier
15 February 2025 10:51
6
Sorry to ‘waffle’ on , but when the AUR did finally appear, entering just ‘Brother’ as a search item ALL Brother entries where listed, I didn’t need to enter the model of printer. My point seems to have been overlooked, there was,despite proper enablement, no sign of ANY AUR entries in Pamac listing.
For my part the problem is sorted, but doesn’t explain why it took so long and several restarts before the AUR just “seemed” to appear out of the Blue.
… one of the reasons why I don’t use pamac
I look in the Arch Wiki (which I linked to) and then on the AUR website …
What @linux-aarhus linked to might count as an explanation - or not.
Who knows? …