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

alias up=‘yay -Pw && yay -Syyu && flatpak update && flatpak uninstall --unused’

That shouldn’t matter but try this:

/usr/bin/yay --cleanmenu

Nope. Same thing.

What does yay -Pg return?

─❯ yay -Pg
{
	"aururl": "https://aur.archlinux.org",
	"aurrpcurl": "https://aur.archlinux.org/rpc?",
	"buildDir": "/home/wombat/.cache/yay",
	"editor": "",
	"editorflags": "",
	"makepkgbin": "makepkg",
	"makepkgconf": "",
	"pacmanbin": "pacman",
	"pacmanconf": "/etc/pacman.conf",
	"redownload": "no",
	"answerclean": "",
	"answerdiff": "",
	"answeredit": "",
	"answerupgrade": "",
	"gitbin": "git",
	"gpgbin": "gpg",
	"gpgflags": "",
	"mflags": "",
	"sortby": "votes",
	"searchby": "name-desc",
	"gitflags": "",
	"removemake": "ask",
	"sudobin": "sudo",
	"sudoflags": "",
	"version": "12.5.7",
	"requestsplitn": 150,
	"completionrefreshtime": 7,
	"maxconcurrentdownloads": 1,
	"bottomup": true,
	"sudoloop": false,
	"timeupdate": false,
	"devel": false,
	"cleanAfter": false,
	"keepSrc": false,
	"provides": true,
	"pgpfetch": true,
	"cleanmenu": true,
	"diffmenu": true,
	"editmenu": false,
	"combinedupgrade": true,
	"useask": false,
	"batchinstall": false,
	"singlelineresults": false,
	"separatesources": true,
	"debug": false,
	"rpc": true,
	"doubleconfirm": true,
	"rebuild": "no"
}
─❯ 

You aren’t seeing either of these menus even though they are present in your config…

I guess you can fix it with rm -rf ~/.cache/yay/librewolf-bin but I don’t understand why yay is ignoring your preferences…

That dit it. Thanks, @dalto!

I told you. Clean your cache :wink:

That is the nuclear option but it isn’t really the best option.

If it was me, I would be trying to figure out why yay was ignoring both my command line options and my config.

Because the alias contains -Syyu && which finishes the yay command, then it moves on the the flatpak commands - so the yay --cleanmenu option, which is applied to the end of the alias, cannot affect yay?

But he tried running /usr/bin/yay -cleanmenu directly…

But I didn’t use the alias in this case. I just used yay.

Ah, I missed that. Yeah, very odd.

EDIT: This was supposed to be a reply to Dalto’s /usr/bin/yay -cleanmenu post.

I know that. I don’t want to act like I know better. I even put a winking smiley face after it.

I thought I did when I did this…

CLEAN CACHE (All Packages):
paccache -rvk2

CLEAN CACHE (Uninstalled Packages):
paccache -ruk0

That is for the pacman cache, not yay

This is another cache.

yay cache is for builduing yay packages in that cache folder

Yeah, that is a bit concerning.

that worked for me as well, thanks