OK. This command did something (100 files updated by git, mostly .toml), and on further runs it displays Already up to date.
Now I still get:
alr show aflex : aflex=1.5.2021: An Ada Lexical Analyzer Generator [...]
alr show ayacc : ayacc=1.3.0: An Ada LARL(1) parser generator [...]
So I miss a wave of a magic wand (disclaimer: Google translation of “un coup de baguette magique”) in order to have the 1.6 (aflex) and 1.4 (ayacc) versions
Just tried to get both after running alr index --update-all.
I got aflex_1.6.0_b3c21d99 and ayacc_1.4.0_c06f997f.
Alire version is 1.2.2.
My PC is running Windows 10.
The trick was to delete the cache first (the alire folder in C:\Users\[username]\.config), and then launch alr index --update-all.
NB: alr version 1.2.2 doesn’t know the alr install (answer is ERROR: Unrecognized command: install), but nevermind, the executables aflex.exe and ayacc.exe were built anyway!