pamac-cli `list` action unexpectedly suppress search results from additional repo added into pacman.conf. Hard-coded list of repos detected?
Pamac Version
10.2.2-6
Libpamac Version
11.1.3-1
Desktop environment
Terminal UI
What's not working
According to the man pamac
LIST
List packages, groups, repositories or files
and
pamac list -fake-arg | head -n16 | tail -n2
--repos, -r [repo(s)] : list all packages available in the given repos,
if no repo is given list all repos
pamac list
unexpectedly does not show the package from custom (manually added) repo.
How to reproduce?
$ pamac list | grep pamac
libpamac 11.1.3-1 extra 3.6 MB
pamac-cli 10.2.2-6 extra 202.0 kB
pamac-gtk 10.2.2-6 extra 726.2 kB
pamac-tray-icon-plasma 0.1.2-4 extra 84.2 kB
$
$ pamac list -r chaotic-aur | grep pamac
archlinux-appstream-data-pamac 20211018-1 chaotic-aur 21.2 MB
libpamac-aur 11.1.3-2 chaotic-aur 3.6 MB
pamac-aur 10.2.2-3 chaotic-aur 928.3 kB
pamac-classic 7.3.0-2 chaotic-aur 1.7 MB
pamac-tray-icon-plasma [Installed] 0.1.2-4 extra 84.2 kB
May be the pacman.conf involved
$ cat /etc/pacman.conf
#
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
#HookDir = /etc/pacman.d/hooks/
HoldPkg = pacman glibc manjaro-system
# If upgrades are available for these packages they will be asked for first
SyncFirst = manjaro-system archlinux-keyring manjaro-keyring
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta = 0.7
Architecture = auto
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
Color
# We cannot check disk space from within a chroot environment
CheckSpace
VerbosePkgLists
ParallelDownloads = 10
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Manjaro Linux
# packagers with `pacman-key --populate archlinux manjaro`.
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
[core]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[extra]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[community]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
[multilib]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
[chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist
$