This is not in the repos or aur anymore and has to be removed (yay has it correct it does not exist anymore, it is gone after the update from 13 May). It pretty much useless anyway, the modern versions of the browsers can generate “apps” by themselves and do not need extra helper.
The results have to be the same - maybe pamac database is not yet synced. Make it --force-refresh
Maybe the more correct wording would be “foreign to the official repos”. It usually means AUR. But in rare cases might mean something else, like another repository, or no online source at all but an offline installation.
This is actually the wording in pamac gui - foreign. Not only aur.
yay -Ss searches on repos and AUR and signals if found packages are already installed.
Therefore, installed packages removed by repos and AUR are not shown.
pamac search -a searches on repos, AUR, and installed packages.
Therefore, installed packages are matched even if they have been removed by repos and AUR.
Pretty sure this is exactly how it works, but -a searches ONLY aur or installed, -r only repos
[teo@teo-lenovo-v15 ~]$ yay -Ss anydesk-bin
aur/anydesk-bin 6.3.2-1 (+224 4.34)
The Fast Remote Desktop Application
[teo@teo-lenovo-v15 ~]$ pamac search -r anydesk-bin
[teo@teo-lenovo-v15 ~]$ pamac search -a anydesk-bin
anydesk-bin 6.3.2-1 AUR
The Fast Remote Desktop Application
I do not have it installed.
And a little more extensive example with something i actually have installed from aur. But i do not keep orphans to test with them too. I had the skype jak but removed it after the 13. may update. Keeping deprecated stuff is not a good idea. I just made a webapp from chromium. It will be the same with office365.
[teo@teo-lenovo-v15 ~]$ yay -Ss fsearch
aur/fsearch-git 0.2alpha.r63.g54ab19c-1 (+58 0.00) (Out-of-date: 2024-02-19)
A fast graphical file search utility. Development version.
aur/fsearch 0.2.3-1 (+25 1.26) (Out-of-date: 2023-12-26) (Installed)
A fast graphical file search utility.
[teo@teo-lenovo-v15 ~]$ pacman -Ss fsearch
[teo@teo-lenovo-v15 ~]$ pamac search -r fsearch
[teo@teo-lenovo-v15 ~]$ pamac search -a fsearch
fsearch-git 0.2alpha.r63.g54ab19c-1 AUR
A fast graphical file search utility. Development version.
fsearch 0.2.3-1 [Installed] AUR
A fast graphical file search utility.
[teo@teo-lenovo-v15 ~]$ pacman -Qs fsearch
local/fsearch 0.2.3-1
A fast graphical file search utility.
pacman does know aur, but shows locally installed packages not found in repo, which means foreign/local…which actually means aur or removed from aur but still installed. Like the jak in your case.
$ pamac search -h
Search for packages or files, multiple search terms can be specified
pamac search [options] <package(s)/file(s)>
options:
--installed, -i : only search for installed packages
--repos, -r : only search for packages in repositories
--aur, -a : also search in AUR
--no-aur : do not search in AUR
pamac search usually shows if a package is available in Manjaro repositories or AUR:
$ pamac search -i pacman
pacman 6.1.0-7 core
A library-based package manager with dependency support
Or blank if package is an orphan, like response in first post:
microsoft-office-web-jak 1:2.1.2-1 [Installed]
Microsoft Office Suite Online as a native application
Also pamac list -m or --foreign lists packages not found in the repositories
So this should list packages not in repositories or AUR:
Honestly…instead of remembering all the options i just use the gui. It is perfect for searching and sorting. It shows the source below the name, it can group the installed packages.
But thanks for the correction.