Understanding pamac AUR packages

With:

pamac search  microsoft-office-web-jak

I get:

microsoft-office-web-jak  1:2.1.2-1 [Installed]                                                                        
    Microsoft Office Suite Online as a native application

And with:

yay -Ss microsoft-office-web-jak

I get nothing.

Now, yay is telling me that there is no AUR package named microsoft-office-web-jak. What about pamac? Is the output referred to local or AUR repos?

And, by the way, are pamac AUR packages different from the yay ones?

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

1 Like

Pamac is not wrong as it is installed ! :wink:

microsoft-office-web-jak 1:2.1.2-1 [Installed]

With pamac on my pc, it says no package found :grinning:

1 Like

the search option is not exactly the same with the 2 applications.

exists only one aur :rofl:

with yay: -S is only in repots and -R is in local
with pamac : search by default in local and repos and sometime in aur

pamac search -r == yay -Ss

pamac search  -h
1 Like

Yes, but it is now orphan. It exists only in your local install.

1 Like

pamac is strange …

i have old systemd-kcm in manjaro

pamac search systemd-kcm -r  # nothing
pamac search systemd-kcm -a  # found  [Installed] ???????
pamac search systemd-kcm  # found [Installed]

so for pamac -a --aur is not only aur but “not in repo” :upside_down_face:

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.

If I understand correctly:

  • 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.

This is wrong. Try:

yay -Ss anydesk-bin                                                                                             
pamac search -r anydesk-bin

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.

Not according to documentation

$ 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:

pamac list -m | grep -v AUR
1 Like

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.

1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.