When I try to update firefox-nigthly with yay -syu, I get this error
~ » yay -Syu soumi@Hori
[sudo] password for soumi:
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
there is nothing to do
:: Searching databases for updates...
:: Searching AUR for updates...
-> Flagged Out Of Date AUR Packages: librewolf-bin telegram-desktop-bin
:: 1 Packages to upgrade.
1 aur/firefox-nightly 96.0a1.20211112092317+hb16763f1da6b-1 -> 97.0a1.20211208095339+h72b6de9deab7-1
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
==>
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1] firefox-nightly-97.0a1.20211208095339+h72b6de9deab7-1
1 firefox-nightly (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: (0/1) Downloaded PKGBUILD: firefox-nightly
-> error fetching firefox-nightly: error: Your local changes to the following files would be overwritten by merge:
PKGBUILD
Please commit your changes or stash them before you merge.
Aborting
context: exit status 1
Pinned Comments
heftig commented on 2022-07-27 22:26 (UTC)
Instead of building this yourself, please use the repository from https://bbs.archlinux.org/viewtopic.php?id=117157.
Not only do you skip the very time-consuming builds, but the published package also has debug symbols at Mozilla's crash reports service, which helps tremendously with finding or filing bugs for any crashes you get.
I consider this the canonical
firefox-nightly
package for Arch Linux.Alternatively, download Firefox Nightly straight from Mozilla, extract it to a writable place (e.g.
~/.local/firefox-nightly
) and let it update itself using the integrated updater.