[SOLVED] Librewolf-bin Update Error - Never Seen This Error Message Before

Yay showed an update available for librewolf-bin, I clicke to move forward and got this error message…

─❯ yay
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
 cidercollective is up to date
 chaotic-aur is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
:: 1 package to upgrade/install.
1  aur/librewolf-bin  1:150.0.1_1-1 -> 1:150.0.1_1-2
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
 -> Excluding packages may cause partial upgrades and break systems
==> 
AUR Explicit (1): librewolf-bin-1:150.0.1_1-2
:: (0/1) Failed to download PKGBUILD: librewolf-bin
 -> error fetching librewolf-bin: error: The following untracked working tree files would be overwritten by merge:
	librewolf-150.0.1-1-linux-x86_64-package.tar.xz.sig
Please move or remove them before you merge.
Aborting 
	context: exit status 1
─❯

Ideas, anyone?

That means you need to cleanbuild it.

Try to clean your yay cache

~./cache/yay

Err…don’t delete your entire yay cache. Just tell yay to cleanbuild the package.

Doesn’t yay store the PKGBUILDs in the cache? If so, that will make all your diffs useless.

Well, I run these included with my monthly with my maintenance routine…

CLEAN CACHE (All Packages):
paccache -rvk2

CLEAN CACHE (Uninstalled Packages):
paccache -ruk0

I always delete yay cache every month. Never had any problems with PKGBUILDs. hmmmm

There is no option for a clean build in either yay or using --rebuild.

─❯ yay
[sudo] password for wombat: 
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
 cidercollective is up to date
 chaotic-aur is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
:: 1 package to upgrade/install.
1  aur/librewolf-bin  1:150.0.1_1-1 -> 1:150.0.1_1-2
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
 -> Excluding packages may cause partial upgrades and break systems
==> 
AUR Explicit (1): librewolf-bin-1:150.0.1_1-2
:: (0/1) Failed to download PKGBUILD: librewolf-bin
 -> error fetching librewolf-bin: error: The following untracked working tree files would be overwritten by merge:
	librewolf-150.0.1-1-linux-x86_64-package.tar.xz.sig
Please move or remove them before you merge.
Aborting 
	context: exit status 1
─❯ 
─❯ yay -S librewolf-bin --rebuild
AUR Explicit (1): librewolf-bin-1:150.0.1_1-2
:: (0/1) Failed to download PKGBUILD: librewolf-bin
 -> error fetching librewolf-bin: error: The following untracked working tree files would be overwritten by merge:
	librewolf-150.0.1-1-linux-x86_64-package.tar.xz.sig
Please move or remove them before you merge.
Aborting 
	context: exit status 1
─❯

Do you review diffs?

yay -Syu --cleanmenu

That is the pacman cache which is something different.

No I don’t.

Well…first…you should…

But if you did, I think when you delete the cache it would not be able to show you the diff anymore.

would removing the package and re-installing fix?

Probably not.

That may be the issue then. Will removing it and re-installing work?

EDIT:
I see the answer to that above.

No, just run the command I gave you above.

Then it will ask you if you want to cleanbuild the package and answer a

good to know

Nope. No option for cleanbuild…

─❯ yay -Syu --cleanmenu
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
 cidercollective is up to date
 chaotic-aur is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
:: 1 package to upgrade/install.
1  aur/librewolf-bin  1:150.0.1_1-1 -> 1:150.0.1_1-2
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
 -> Excluding packages may cause partial upgrades and break systems
==> 
AUR Explicit (1): librewolf-bin-1:150.0.1_1-2
:: (0/1) Failed to download PKGBUILD: librewolf-bin
 -> error fetching librewolf-bin: error: The following untracked working tree files would be overwritten by merge:
	librewolf-150.0.1-1-linux-x86_64-package.tar.xz.sig
Please move or remove them before you merge.
Aborting 
	context: exit status 1
─❯

Try yay --cleanmenu

I just tested it, it is working here.

:thinking:

─❯ yay --cleanmenu
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
 cidercollective is up to date
 chaotic-aur is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
:: 1 package to upgrade/install.
1  aur/librewolf-bin  1:150.0.1_1-1 -> 1:150.0.1_1-2
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
 -> Excluding packages may cause partial upgrades and break systems
==> 
AUR Explicit (1): librewolf-bin-1:150.0.1_1-2
:: (0/1) Failed to download PKGBUILD: librewolf-bin
 -> error fetching librewolf-bin: error: The following untracked working tree files would be overwritten by merge:
	librewolf-150.0.1-1-linux-x86_64-package.tar.xz.sig
Please move or remove them before you merge.
Aborting 
	context: exit status 1
─❯

Do you have an alias or a function for yay?