Is an AUR (arch user repository) package.
You are apparently not in sync with Arch, probably because you are using the Stable Branch, which can be rather behind Arch. yay is in the repos.
I removed yay-git and installed yay from the official repository. However, when I used that command, it flagged Microsot Edge to be outdated. This is bad because I can’t find any official package like that. I need yay-git to be fixed because I can’t install it as it is giving me the same error as it was when updating.
Since you did not read the big fat warning about aur unsupported and do not differentiate between the different type of packages and installs (all in the wiki and tutorials) it is probably right to post this
The Arch User Repository is user generated content.
Everything that happens there, including updates and the out-of-date flag, is done by other users.
You can
A ) Wait. It will get updated at some point.
B ) Do it yourself. Augment the PKGBUILD. You are using the AUR, so you know all about this, right?
C ) Use a different source such as AppImage or Flatpak.
In case you need to learn about the AUR here is the wiki:
PS.
The title query has been answered. In the future please mark the post that best answers your question.
Also please use different threads for different problems.
Please have a bit of consideration, those who provide it for our convenience, they are almost certainly volunteering their time. Being flagged out of date for a few hours or even a day or two is really no big deal.
If that’s not good enough, you can always learn to do it yourself, or use a distro Microsoft packages Edge for.
If it is a matter of life and death to use the latest edge on manjaro, you have to repackage it yourself. In that particular case it is literally pulling the 3 files from aur - pkgbuild, sh and pdf, changing the version in the pkgvar variable and the first hashsum in the pkgbuild (f4f… to bcdbd2ce855255ec136caae713a7fed07c7fd4de603af45c7511ac9ae9c12470) and running makepkg. And then installing with pacman -U xxxxxxxx
Why are you trying to manually build yay when you are not in sync with upstream and yay is available in the repos?
(If you arent on one of the lesser branches like Stable/Testing … why are you not fully synced with the mirrors? You should make sure to be so before doing third-party/manual/aur building. Current Unstable packages meet the dep criteria.)
So either you happen to be in a weird sync state (bad mirror? etc), or you arent on Unstable.
(you can check with, ex, pacman-mirrors -G)
Extra Notes:
You mostly shouldnt use the AUR without knowing what it is or how it works.
Knowing how it works … you will understand that it is for Arch, which means that only Manjaro Unstable is going to be somewhat consistently in sync with what the AUR expects.
Further considerations include …
Why not use the yay package in repos?
If you must build it manually, then why not use a previous version or a self-edited PKGBUILD?