Update tray icon won't go away

its set to hide if no update, tho i got 2 updates that doesnt seem to happen anything when i try update and when i use the terminal with "sudo pacman -Syu " there is nothing to update.

Mod edit: removed screenshot showing 2 Flatpak updates in the Pamac GUI

Try running the following command in a terminal as a regular user (not with sudo):

flatpak upgrade
1 Like

pacman does not handle Snaps, Flatpaks or AUR packages. It only accesses the official Manjaro repositories.

pamac on the other hand does handle the above — in addition to the regular Manjaro repositories — but after updating with pamac, it may be necessary to right-click the notification icon and refresh its database by forcing it to look for updates again.

1 Like

i see, did not know. i did a search.

would this be a viable simple line to run in the future?

sudo pacman-mirrors --fasttrack && sudo pacman -Syyuu && flatpak upgrade

is there anything else i can add to make a all-in-one update command? and where in the .bashrc could i add the alias?

Hmm, no, one should never use a double uu with pacman unless explicitly advised by the Manjaro Team.

A double uu tells pacman to allow for package downgrades. This may be necessary under certain conditions, but if so, then only for isolated packages. You really wouldn’t want that to apply to the whole update process.

Likewise, one should also not gratuitously use a double yy, because this is unnecessarily hard on the servers, given that it forces a refresh of all package databases.

If you also have AUR packages, then I would suggest the following… :point_down:

sudo pacman-mirrors -f && sudo pacman -Syu && pamac update && flatpak upgrade

But even then still, be advised that the issue with the pamac notifier icon may persist until you right-click it and force a refresh. This is just due to how pamac works, and it is one of the recurring points of criticism against pamac.

You could indeed turn this into an alias, but whether you add it to ~/.bashrc or ~/.zshrc depends on what shell you use.

The default interactive shell for terminal sessions within the graphical environments of either of the three official Manjaro editions — i.e. Plasma, GNOME and Xfce — has for a couple of years already been zsh, but your installation may be older and/or you may have purposely selected bash as your interactive shell — as have I myself as well, for that matter.

So perhaps it is best to add it to the bottom of both ~/.bashrc and ~/.zshrc, as follows… :point_down:

alias fullupgrade="pacman-mirrors -f && sudo pacman -Syu && pamac update && flatpak upgrade"

And then, after reloading the configuration by source’ing the file or by closing and reopening the terminal, the command fullupgrade will do exactly what it says on the tin. :wink:

Now there’s a question.

You might take a look at Topgrade, as it isn’t a ā€˜proper’ tool I generally run it after the main update…

So for a system upgrade, ā€œsudo pacman -Syuā€ gets it. To add AUR, then ā€œpamac upgradeā€ followed by ā€œflatpak updateā€.

Using Fish make an abbreviation (otherwise an alias)

āÆ sudo pacman -Syu && pamac upgrade && flatpak upgrade && topgrade && exit

Topgrade is proper overkill though - I only run it after major updates.

If it’s a fresh update and your mirrors aren’t great, or slow to sync, then I use continental flag… it gets me best results and it doesn’t hammer servers so much either…

So abbreviation/alias for mirrors:

abbr mirrors 'sudo pacman-mirrors --continent && pacman-mirrors`

Remember also (with Fish at least) if you press Ctrl_R it’ll put you in a fuzzy search, so just start typing ā€˜cont’ will pull up the whole line from history… as will ā€˜up’ bring up lots of upgrade/update lines to choose from.

@premier69 I use pamac gui for all my updates. I run refresh databases from hamburger menu after update completion, icon is updated after I close pamac gui

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.