Yay v12 partial upgrades

I updated yay to version 12 and now it is suggesting that I should break my system. :smile:

~ >>> yay
[sudo] password for vlkon:
:: Synchronizing package databases...
 endeavouros                                           30.8 KiB   231 KiB/s 00:00 [###############################################] 100%
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
:: 1 Packages to upgrade.
1  endeavouros/eos-translations  23-17 -> 23-18
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
 -> Excluding packages may cause partial upgrades and break systems
==>

Is there a config that I can set that will always default to upgrage all packages without asking me all the time? In the past it did that only for AUR packages. Now it asks even for packages from maintained repos.

You can update your config with:

yay --noupgrademenu  --save

That being said, that is actually a really nice feature. Not because it lets you skip updates, but because it gives you a really nice color coded view of what changed.

It isn’t obvious from your output above because there is only one package but it is great when there is a lot of updates.

4 Likes

Thanks. I will try it as soon as there is a new package.
Right now

there is nothing to do

:laughing:

1 Like

As an example here is one of my systems:

You can easily see which packages are changing and by how much. Some are just rebuilds, others are major or minor version changes.

2 Likes

The new version of yay has been quite unnerving to me during the last days. Cannot understand what it exactly does anymore?! - Different from what it used to be (which I thought I’d understood so far).

New kernel compilations on every update, as felt by me during the last 2 days, although there were no new kernels being installed.

Think I’ll go with solid pacman -Syu, and even installed paru to replace yay for updating aur-packages, according to @manuel 's advice.

2 Likes

How did you get that display? Does it only work when there only a few upgrades? I’m sitting on 209 + 4 AUR - and the display if using yay resembles only what I see with my usual pacman… (sigh)

1 Like

That is the --upgrademenu option.

There was a recent yay update which you may not have updated to yet which apparently changes some of the defaults.

1 Like

Yup - yay was in the big list - hidden in all the haskell! Now I’ll have to wait for more updates to try it out. It is possible I will like the results and start using yay for more than AUR update tracking…possible. I’m pretty stuck on pacman for most things though! :grin:

I don’t have any problem with it. It’s just different looking and it’s giving some more information.

1 Like

That list is nice but it would be much better in pacman itself.
It just feels wrong to offer that some packages may be excluded from upgrade. But that is probably just a habit from using arch distro for such a long time.

I wish I was as cool as you. :wink: A man can only dream. :laughing:

I wish i was cool too! lol I just don’t see an issue with the information it is giving related to excluding a package. To me it’s just informational because i understand that not upgrading a package COULD cause a partial upgrade if it is required to be updated along with some other updates that need it to be updated in order for them to work or be updated. Not entirely sure if this statement is accurate but that’s the way it comes across to me. :thinking:

1 Like

It just requires one more press of the Enter. It is new and I am very xenophobic.
It is no big deal. I will most likely get use to it.

Perhaps, I don’t understand.

When I update the config with

yay --noupgrademenu  --save

it doesn’t really help.

The next time running yay I still get

I just tested it. It doesn’t seem to work.

Probably a bug in the latest version of yay

I opened a bug for this:

5 Likes

There was an update for yay but I don’t see how I could have

  • the colorful output which is very nice
  • but not the menu which is annoying

That output is part of the menu.

That being said, is it really that annoying? It requires an extra press of enter at the beginning but it is one less press of enter later in the process when AUR packages get updated. It also moves all the questions to the beginning to the update isn’t interrupted later in the AUR stage.

Hmm. Perhaps you are right. I will see over time…

1 Like

I don’t mind it at all. It’s been working great and with updates including AUR packages. I don’t see any issue. Annoying? :man_shrugging: