@Rainbow Sun
pamac-gtk, pamac-all, pamac-all-git, pamac-nosnap, pamac-flatpak are all full, self-sufficient and mutualy exclusive packages. A package named "pamac" doesn't exist. There're no plugins or extensions for any of these "pamacs". pamac-flatpak is not an extension for pamac-gtk.
Only one package at a time may be installed. To install any pamac, a previous installation, if any, must be removed first. yay is very suitable for such remove-install operations.
I've added a warning to never run yay as root. Judging from your output - now removed with the edit, - it was ignored. Again: never run yay as root. Always run yay as a regular user.
I never use pamac, flatpaks, snaps, spotify, and don't have much experience with any of them. They were installed solely to illustrate the answer.
Can't reproduce here the errors you encounter. I installed pamac-nosnap without an issue with the command:
yay -S pamac-nosnap
This is the result of installed pamac-nosnap interrogation. Note that -Q pacman's command queries only installed pkgs, i.e. pkgs on a user's computer. It doesn't look for anything in repos or elsewhere:
$ dt && pacman -Qii pamac-nosnap
Current datetime:
2022-01-28 07:33:51
Name : pamac-nosnap
Version : 10.3.0-2
Description : A Gtk3 frontend for libalpm (with AUR, flatpak, appindicator)
Architecture : x86_64
URL : https://gitlab.manjaro.org/applications/pamac
Licenses : GPL3
Groups : None
Provides : pamac
Depends On : libnotify libpamac-nosnap libhandy
Optional Deps : polkit-gnome: needed for authentification in Cinnamon, Gnome [installed]
Required By : None
Optional For : None
Conflicts With : pamac pamac-all pamac-gtk pamac-cli pamac-common pamac-aur pamac-aur-git pamac-flatpak
pamac-flatpak-gnome
Replaces : None
Installed Size : 761.08 KiB
Packager : Unknown Packager
Build Date : Fri Jan 28 07:32:44 2022
Install Date : Fri Jan 28 07:33:03 2022
Install Reason : Explicitly installed
Install Script : Yes
Validated By : None
Backup Files :
(none)
$
"Install Reason : Explicitly installed" means that pamac-nosnap was manually installed by user (me).
Installed pamac-nosnap is shown as Add/Remove Software in menu. By default, AUR and Flatpak support are disabled in Pamac GUI. Lets enable them; close and open Pamac GUI again for changes to take in effect:
Now that Flatpak support is enabled in Pamac GUI, it is possible to search for and install flatpak stuff. For example, Spotify:
To comfortably open Spotify from menu, I created a menu entry for it. This is Cinnamon. As already said, the command assigned to Spotiry entry is:
flatpak run com.spotify.Client
Spotify window opens. As I never used Spotify in my life, I don't have Spotify account, and will never create it:
Honestly, don't know what else can be added here. Everything is said and explained. A good will and dedication should be exercized to learn Artix (or Arch).
Edit: As said, I don't have any experience with pamac. Just found that Pamac automagically creates menu entries for software, installed from it. So I have two Spotify entries in Cinnamon menu now. One is created by Pamac and another is created by me. Ergo, when Spotify is installed from Pamac, there's no need to create a menu entry for it by hand.
Pamac creates more articulated command to launch Spotify from menu:
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=spotify --file-forwarding com.spotify.Client @@u %U @@