pamac-cli `list` action shows search result from unexpected/unwanted/excluded repo
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
show the package from unexpected (excluded) repo.
How to reproduce?
$ 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
somehow shows a line from extra
. And if show, than why only 1 line if there more items?
pamac list -r extra | grep pamac
libpamac [Installed] 11.1.3-1 extra 3.6 MB
libpamac-flatpak-plugin 11.1.3-1 extra 103.9 kB
libpamac-snap-plugin 11.1.3-1 extra 90.8 kB
pamac-cli [Installed] 10.2.2-6 extra 202.0 kB
pamac-gnome-integration 10.2.2-6 extra 22.5 kB
pamac-gtk [Installed] 10.2.2-6 extra 726.2 kB
pamac-qt 0.3.2-2 extra 1.1 MB
pamac-tray-icon-plasma [Installed] 0.1.2-4 extra 84.2 kB
Why even to search there? why to count lines to cut after full search? Looks like design flaw.
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
$