Pamac shows AUR update, but yay does not, thoughts?

Greetings lovely community,

I used pamac throughout the week just to check what updates were coming out, (I know you can also use checkupdates as well to do the same thing) and typically Friday is when I like to update my system (I’ll do daily updates for packages I know won’t break my system). So I updated my system today via sudo pacman -Syu and everything went smoothly. I knew I had 3 AUR packages to update thanks to Pamac, so I ran yay and updated only 2 AUR packages oddly enough. I’ve updated my mirrors via the Welcome app and I’ve used Pamac’s ‘Refresh Databases’ option so I know I’m up to date.

My problem now is Pamac is showing I have one AUR update (popsicle-git), but yay says I’m fully up to date and there’s nothing to do.However, even though I’m fully up to date, Pamac thinks I’m not, but yay thinks I am. I’m a bit confused at the moment, but this is not a big issue, just curious if perhaps I need to file a bug somewhere or not. I’m not sure who could be at fault here, but curious to know if anyone has ever come across this issue before?

Below are screenshots showing Pamac says I have an update, but yay thinks I’m all up to date. Odd isn’t it?
Screenshot from 2021-08-27 13-37-49
Screenshot from 2021-08-27 13-38-22

pamac confused :joy:
Reboot and it won’t probably.

Are you checking devel packages in pamac but not in yay?

You should be passing/enabling --devel in yay if you have *-git packages.

2 Likes

I experienced the same problem as @Scotty_Trees.
After enabling --devel in yay I still have the problem that AUR packages with git in their name will not be updated by yay. I have to use pamac for those.
Any hints?

1 Like

Yup, Pamac-aur checks for developmental packages, since perhaps it was you or someone else mentioned that I should enable that in Pamac if I ever have any git pacakges installed so they do get updated. I guess there is more I need to learn with yay I see!

Screenshot from 2021-08-27 13-55-45

Edit: I’m reading this right now: https://github.com/Jguer/yay/issues/508

1 Like

That certainly sounds strange - I have often installed -git with yay, without trouble. The --devel, AFAIK is for more reliable detection on updates on those packages…

Sorry for the confusion. Installation is working but updating not. I updated my post above.

According to one answer on the yay github page here: https://github.com/Jguer/yay/issues/508

I tried the solution from the dev saying to use yay -Y --gendb so there is a cache in yay on my system to compare any new git updates to, but unfortunately, when I run yay -Syu --devel it still shows up as there are no updates. Terminal out below for reference. Still working to solve this.

[scott@endeavourOS ~]$ yay -Y --gendb
:: Querying AUR...
 -> Flagged Out Of Date AUR Packages:  bitwarden  minecraft-launcher
:: PKGBUILD up to date, Skipping (1/31): gwe
:: PKGBUILD up to date, Skipping (2/31): python-py3nvml
:: PKGBUILD up to date, Skipping (3/31): optimus-manager-qt
:: PKGBUILD up to date, Skipping (4/31): pamac-aur
:: PKGBUILD up to date, Skipping (5/31): libopenmpt
:: PKGBUILD up to date, Skipping (6/31): pika-backup
:: PKGBUILD up to date, Skipping (7/31): optimus-manager
:: PKGBUILD up to date, Skipping (8/31): python-injector
:: PKGBUILD up to date, Skipping (9/31): python-pysdl2
:: PKGBUILD up to date, Skipping (10/31): libpamac-aur
:: PKGBUILD up to date, Skipping (11/31): ttf-ms-fonts
:: PKGBUILD up to date, Skipping (12/31): yaru-colors-gtk-theme
:: PKGBUILD up to date, Skipping (13/31): tauon-music-box
:: PKGBUILD up to date, Skipping (14/31): yaru (yaru-gnome-shell-theme yaru-gtk-theme yaru-gtksourceview-theme yaru-icon-theme yaru-metacity-theme yaru-session yaru-sound-theme)
:: Downloaded PKGBUILD (15/31): python-pylyrics
:: Downloaded PKGBUILD (16/31): gdm-prime (gdm-prime libgdm-prime)
:: Downloaded PKGBUILD (17/31): chrome-gnome-shell
:: Downloaded PKGBUILD (18/31): python-stagger
:: Downloaded PKGBUILD (19/31): python-hsaudiotag3k
:: Downloaded PKGBUILD (20/31): python-isounidecode
:: Downloaded PKGBUILD (21/31): timeshift
:: Downloaded PKGBUILD (22/31): nvm
:: Downloaded PKGBUILD (23/31): popsicle-git
:: Downloaded PKGBUILD (24/31): python-pulsectl
:: Downloaded PKGBUILD (25/31): spotify
:: PKGBUILD up to date, Skipping (26/31): bitwarden
:: PKGBUILD up to date, Skipping (27/31): humanity-icon-theme
:: PKGBUILD up to date, Skipping (28/31): papirus-folders
:: PKGBUILD up to date, Skipping (29/31): minecraft-launcher
:: Downloaded PKGBUILD (30/31): archlinux-appstream-data-pamac
:: Downloaded PKGBUILD (31/31): ttf-roboto-slab
:: (1/31) Parsing SRCINFO: gdm-prime (gdm-prime libgdm-prime)
:: (2/31) Parsing SRCINFO: python-hsaudiotag3k
:: (3/31) Parsing SRCINFO: python-pulsectl
:: (4/31) Parsing SRCINFO: python-stagger
:: (5/31) Parsing SRCINFO: chrome-gnome-shell
:: (6/31) Parsing SRCINFO: pamac-aur
:: (7/31) Parsing SRCINFO: tauon-music-box
:: (8/31) Parsing SRCINFO: libpamac-aur
:: (9/31) Parsing SRCINFO: popsicle-git
:: (10/31) Parsing SRCINFO: ttf-ms-fonts
:: (11/31) Parsing SRCINFO: yaru-colors-gtk-theme
:: (12/31) Parsing SRCINFO: nvm
:: (13/31) Parsing SRCINFO: libopenmpt
:: (14/31) Parsing SRCINFO: pika-backup
:: (15/31) Parsing SRCINFO: python-pylyrics
:: (16/31) Parsing SRCINFO: spotify
:: (17/31) Parsing SRCINFO: yaru (yaru-gnome-shell-theme yaru-gtk-theme yaru-gtksourceview-theme yaru-icon-theme yaru-metacity-theme yaru-session yaru-sound-theme)
:: (18/31) Parsing SRCINFO: gwe
:: (19/31) Parsing SRCINFO: optimus-manager
:: (20/31) Parsing SRCINFO: optimus-manager-qt
:: (21/31) Parsing SRCINFO: python-py3nvml
:: (22/31) Parsing SRCINFO: python-pysdl2
:: (23/31) Parsing SRCINFO: python-injector
:: (24/31) Parsing SRCINFO: python-isounidecode
:: (25/31) Parsing SRCINFO: timeshift
:: (26/31) Parsing SRCINFO: archlinux-appstream-data-pamac
:: (27/31) Parsing SRCINFO: bitwarden
:: (28/31) Parsing SRCINFO: humanity-icon-theme
:: (29/31) Parsing SRCINFO: minecraft-launcher
:: (30/31) Parsing SRCINFO: papirus-folders
:: (31/31) Parsing SRCINFO: ttf-roboto-slab
 -> Found git repo: github.com/pop-os/popsicle.git
:: GenDB finished. No packages were installed
[scott@endeavourOS ~]$ yay -Syu --devel
[sudo] password for scott: 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 endeavouros is up to date
:: Starting full system upgrade...
 there is nothing to do
:: Searching databases for updates...
:: Searching AUR for updates...
:: Checking development packages...
 -> Flagged Out Of Date AUR Packages:  bitwarden  minecraft-launcher
 there is nothing to do
[scott@endeavourOS ~]$ 


Just for curiosity - have you tried it as yay --devel ? yay on its own should default to doing whatever updates it finds… starting with the repos. Another variant is yay -Sua which limits it to AUR updates (which is what I use because the main updates are already handled by pacman).

Oddly enough yay --devel produces no output or messages and yay -Sua says everything is up to date. Hmmmm, interesting no? :stuck_out_tongue:

[scott@endeavourOS ~]$ yay --devel
[scott@endeavourOS ~]$ yay -Sua
:: Searching AUR for updates...
 -> Flagged Out Of Date AUR Packages:  bitwarden  minecraft-launcher
 there is nothing to do
[scott@endeavourOS ~]$ 

Edit: I haven’t tinkered a whole lot with yay yet, outside of installing AUR packages, so so far this is a good learning experience, even if things aren’t going well :wink:

That is because that command doesn’t do anything :wink:

I think the problem is that you guys are using both yay and pamac to update your AUR packages. yay keeps it’s own database and that is getting out of sync.

4 Likes

Guess I’ll have to try that particular package - but then it won’t need updating for a while… :grin: Your solution may have to wait!

1 Like

yay on it’s own will do that but as soon as you add anything else to the command like you need to provide an operation.

1 Like

I’m gonna grab a late lunch and come back and then see if I can’t try to figure this thing out some way or another :smiley:

–devel is a flag for -a ( update also **-git)

 yay -Sua --devel
[scott@endeavourOS ~]$  yay -sua --devel
[scott@endeavourOS ~]$ 

Nothing happens just so you know. I still have some more tinkering to do, hmm.

It is probably because you ran --gendb. Does that pull the commits from the current version?

Ahhh well you got me on that one, I’m not sure how to find that out or verify that exactly. All I know is what --gendb output gave me from before, but I haven’t a clue how to answer you. I’ll have to look that up as well if I can.

--gendb gave me this output from before btw:

[scott@endeavourOS ~]$ yay -Y --gendb
:: Querying AUR...
 -> Flagged Out Of Date AUR Packages:  bitwarden  minecraft-launcher
:: PKGBUILD up to date, Skipping (1/31): gwe
:: PKGBUILD up to date, Skipping (2/31): python-py3nvml
:: PKGBUILD up to date, Skipping (3/31): optimus-manager-qt
:: PKGBUILD up to date, Skipping (4/31): pamac-aur
:: PKGBUILD up to date, Skipping (5/31): libopenmpt
:: PKGBUILD up to date, Skipping (6/31): pika-backup
:: PKGBUILD up to date, Skipping (7/31): optimus-manager
:: PKGBUILD up to date, Skipping (8/31): python-injector
:: PKGBUILD up to date, Skipping (9/31): python-pysdl2
:: PKGBUILD up to date, Skipping (10/31): libpamac-aur
:: PKGBUILD up to date, Skipping (11/31): ttf-ms-fonts
:: PKGBUILD up to date, Skipping (12/31): yaru-colors-gtk-theme
:: PKGBUILD up to date, Skipping (13/31): tauon-music-box
:: PKGBUILD up to date, Skipping (14/31): yaru (yaru-gnome-shell-theme yaru-gtk-theme yaru-gtksourceview-theme yaru-icon-theme yaru-metacity-theme yaru-session yaru-sound-theme)
:: Downloaded PKGBUILD (15/31): python-pylyrics
:: Downloaded PKGBUILD (16/31): gdm-prime (gdm-prime libgdm-prime)
:: Downloaded PKGBUILD (17/31): chrome-gnome-shell
:: Downloaded PKGBUILD (18/31): python-stagger
:: Downloaded PKGBUILD (19/31): python-hsaudiotag3k
:: Downloaded PKGBUILD (20/31): python-isounidecode
:: Downloaded PKGBUILD (21/31): timeshift
:: Downloaded PKGBUILD (22/31): nvm
:: Downloaded PKGBUILD (23/31): popsicle-git
:: Downloaded PKGBUILD (24/31): python-pulsectl
:: Downloaded PKGBUILD (25/31): spotify
:: PKGBUILD up to date, Skipping (26/31): bitwarden
:: PKGBUILD up to date, Skipping (27/31): humanity-icon-theme
:: PKGBUILD up to date, Skipping (28/31): papirus-folders
:: PKGBUILD up to date, Skipping (29/31): minecraft-launcher
:: Downloaded PKGBUILD (30/31): archlinux-appstream-data-pamac
:: Downloaded PKGBUILD (31/31): ttf-roboto-slab
:: (1/31) Parsing SRCINFO: gdm-prime (gdm-prime libgdm-prime)
:: (2/31) Parsing SRCINFO: python-hsaudiotag3k
:: (3/31) Parsing SRCINFO: python-pulsectl
:: (4/31) Parsing SRCINFO: python-stagger
:: (5/31) Parsing SRCINFO: chrome-gnome-shell
:: (6/31) Parsing SRCINFO: pamac-aur
:: (7/31) Parsing SRCINFO: tauon-music-box
:: (8/31) Parsing SRCINFO: libpamac-aur
:: (9/31) Parsing SRCINFO: popsicle-git
:: (10/31) Parsing SRCINFO: ttf-ms-fonts
:: (11/31) Parsing SRCINFO: yaru-colors-gtk-theme
:: (12/31) Parsing SRCINFO: nvm
:: (13/31) Parsing SRCINFO: libopenmpt
:: (14/31) Parsing SRCINFO: pika-backup
:: (15/31) Parsing SRCINFO: python-pylyrics
:: (16/31) Parsing SRCINFO: spotify
:: (17/31) Parsing SRCINFO: yaru (yaru-gnome-shell-theme yaru-gtk-theme yaru-gtksourceview-theme yaru-icon-theme yaru-metacity-theme yaru-session yaru-sound-theme)
:: (18/31) Parsing SRCINFO: gwe
:: (19/31) Parsing SRCINFO: optimus-manager
:: (20/31) Parsing SRCINFO: optimus-manager-qt
:: (21/31) Parsing SRCINFO: python-py3nvml
:: (22/31) Parsing SRCINFO: python-pysdl2
:: (23/31) Parsing SRCINFO: python-injector
:: (24/31) Parsing SRCINFO: python-isounidecode
:: (25/31) Parsing SRCINFO: timeshift
:: (26/31) Parsing SRCINFO: archlinux-appstream-data-pamac
:: (27/31) Parsing SRCINFO: bitwarden
:: (28/31) Parsing SRCINFO: humanity-icon-theme
:: (29/31) Parsing SRCINFO: minecraft-launcher
:: (30/31) Parsing SRCINFO: papirus-folders
:: (31/31) Parsing SRCINFO: ttf-roboto-slab
 -> Found git repo: github.com/pop-os/popsicle.git
:: GenDB finished. No packages were installed

Looks like I’m not the Arch expert I’d like to be! Still haven’t managed to figure this out, so I went ahead and posted a bug report for yay on their github page. The developer is still very active, so I’ll just be patient and wait for them to respond to see what they may be able to offer into this issue. If anyone is curious to track the issue, it’s over here: https://github.com/Jguer/yay/issues/1593

just use, yay that is all i have ever done works fine

1 Like