bauh icon indicating copy to clipboard operation
bauh copied to clipboard

[flatpak] Locale runtime updates keep being displayed even after updating them

Open Monstanner opened this issue 2 years ago • 29 comments

Describe the bug Each time bauh tells me that there are 10 updates for Flatpak packages. I can install these, but it skips the updates. Because they are already installed. Then bauh says that everything has been successfully installed. However, they do not disappear from the list. So I can "update" them over and over again. bauh-staging has the same "problem". The other sources I use (Arch - Repository & AUR) work fine.

Output of Summary.txt: Upgrade summary ( id: upgrade_2022410_1649544932 ) Will be upgraded:

  • Type:Flatpak Name: Locale Version:stable New version: ?
  • Type:Flatpak Name: Locale Version:3.36 New version: ?
  • Type:Flatpak Name: Locale Version:21.08 New version: ?
  • Type:Flatpak Name: Locale Version:3.36 New version: ?
  • Type:Flatpak Name: Locale Version:stable New version: ?
  • Type:Flatpak Name: Locale Version:42 New version: ?
  • Type:Flatpak Name: Locale Version:stable New version: ?
  • Type:Flatpak Name: Locale Version:19.08 New version: ?
  • Type:Flatpak Name: Locale Version:stable New version: ?
  • Type:Flatpak Name: Locale Version:stable New version: ?

Output from the upgrade.log:

flatpak install flathub org.gna.Warmux.Locale/x86_64/stable -y --user

Looking for matches… Skipping: org.gna.Warmux.Locale/x86_64/stable is already installed flatpak install flathub org.gnome.Platform.Locale/x86_64/3.36 -y --user

Looking for matches… Skipping: org.gnome.Platform.Locale/x86_64/3.36 is already installed flatpak install flathub org.freedesktop.Sdk.Locale/x86_64/21.08 -y --user

Looking for matches… Skipping: org.freedesktop.Sdk.Locale/x86_64/21.08 is already installed flatpak install flathub org.gnome.Sdk.Locale/x86_64/3.36 -y --user

Looking for matches… Skipping: org.gnome.Sdk.Locale/x86_64/3.36 is already installed flatpak install flathub org.gnome.GHex.Locale/x86_64/stable -y --user

Looking for matches… Skipping: org.gnome.GHex.Locale/x86_64/stable is already installed flatpak install flathub org.gnome.Platform.Locale/x86_64/42 -y --user

Looking for matches… Skipping: org.gnome.Platform.Locale/x86_64/42 is already installed flatpak install flathub com.google.AndroidStudio.Locale/x86_64/stable -y --user

Looking for matches… Skipping: com.google.AndroidStudio.Locale/x86_64/stable is already installed flatpak install flathub org.freedesktop.Platform.Locale/x86_64/19.08 -y --user

Looking for matches… Skipping: org.freedesktop.Platform.Locale/x86_64/19.08 is already installed flatpak install flathub com.obsproject.Studio.Locale/x86_64/stable -y --user

Looking for matches… Skipping: com.obsproject.Studio.Locale/x86_64/stable is already installed flatpak install flathub org.fdroid.Repomaker.Locale/x86_64/stable -y --user

Looking for matches… Skipping: org.fdroid.Repomaker.Locale/x86_64/stable is already installed

Software Environment bauh version: 0.10.1 & 0.10.2 (AUR & pip) O.S: Arch Linux Python version: 3.10.4 Installation method: git clone (makepkg -si)

Monstanner avatar Apr 09 '22 23:04 Monstanner

Other people have complained about this issue, but I haven't been able to reproduce it. It seems for some reason these Locales are not being updated by the update command. The current workaround is to use the "Full update" action available through the lower "sandwich" button menu. Thanks for reporting.

vinifmor avatar Apr 10 '22 15:04 vinifmor

Thanks for the tip with the "Full update". However, the "Updates" remain in the list. Then I wait for a patch. Nevertheless, thank you for the help.

Monstanner avatar Apr 10 '22 15:04 Monstanner

That's really odd. I'm going to pine this issue.

vinifmor avatar Apr 10 '22 17:04 vinifmor

https://github.com/vinifmor/bauh/issues/238

vinifmor avatar Apr 10 '22 17:04 vinifmor

That's it. All commands did not change anything, except for LANG='' flatpak update. Now the "Updates" have disappeared from the list. Even after a restart. If it helps to narrow down the "error", I used all commands up to LANG='' flatpak update. In addition, I only use de_DE. UTF-8 UTF-8 in my /etc/locale.gen.

Monstanner avatar Apr 10 '22 18:04 Monstanner

So I will have to set the empty LANG variable for some commands executed (this was actually the previous behavior before 0.10.1). Thanks for digging into this.

vinifmor avatar Apr 11 '22 12:04 vinifmor

@vinifmor Please reopen the Issue, I just got it on 0.10.3 Staging (so... it's a regression?)

Locales got stuck again. I'll try relaunching.

image

Nope, didn't work:

image

Can't try Full Update, because I need some of the flatpack updates in the list to be able to test https://github.com/vinifmor/bauh/issues/257 which is closed, but wasn't fixed.

Templayer avatar Apr 19 '22 07:04 Templayer

Please, do the following: select just one of these Locales and try updating it. Paste the update output so I can have a look.

vinifmor avatar Apr 19 '22 14:04 vinifmor

@vinifmor Please reopen the Issue, I just got it on 0.10.3 Staging (so... it's a regression?)

Locales got stuck again. I'll try relaunching.

image

Nope, didn't work:

image

Can't try Full Update, because I need some of the flatpack updates in the list to be able to test #257 which is closed, but wasn't fixed.

Have you tried the command LANG='' flatpak update in the terminal? If you are asked if you want it to be done via system or as a user, try both. It would be normal as a user, but maybe system helps. Did everything work with 0.10.2?

Monstanner avatar Apr 19 '22 14:04 Monstanner

Please, do the following: select just one of these Locales and try updating it. Paste the update output so I can have a look.

image

flatpak install flathub org.kde.Platform.Locale/x86_64/5.15-21.08 -y --system

Vyhledávají se shody… Přeskakuje se: org.kde.Platform.Locale/x86_64/5.15-21.08 je již nainstalováno

  • The operation logs can be found at "/tmp/bauh@jboksa1/logs/upgrade/upgrade_2022420_1650437904.log"
  • The upgrade summary can be found at "/tmp/bauh@jboksa1/logs/upgrade/upgrade_2022420_1650437904_summary.txt"

Basically it is telling me that it has skipped it, as it is already installed. 0.10.3 Staging.

Templayer avatar Apr 20 '22 06:04 Templayer

Have you tried the command LANG='' flatpak update in the terminal? If you are asked if you want it to be done via system or as a user, try both. It would be normal as a user, but maybe system helps. Did everything work with 0.10.2?

In the past I have, and it has helped to get rid of them. But I don't want to get rid of them via CMD - I want bauh to be fixed. ;) I don't quite remember if it worked in 0.10.2, but it did work for a time (I think it got rid of them in 0.10.1)

Templayer avatar Apr 20 '22 07:04 Templayer

Have you tried the command LANG='' flatpak update in the terminal? If you are asked if you want it to be done via system or as a user, try both. It would be normal as a user, but maybe system helps. Did everything work with 0.10.2?

In the past I have, and it has helped to get rid of them. But I don't want to get rid of them via CMD - I want bauh to be fixed. ;) I don't quite remember if it worked in 0.10.2, but it did work for a time (I think it got rid of them in 0.10.1)

It's understandable that you don't always want to go to the terminal. I only need to fix it twice in total via terminal. Currently I use 0.10.2 without any problems.

Monstanner avatar Apr 20 '22 20:04 Monstanner

Guys, I've published a possible fix to the staging branch. Let me know if the issue has been fixed.

vinifmor avatar Apr 20 '22 20:04 vinifmor

Guys, I've published a possible fix to the staging branch. Let me know if the issue has been fixed.

@Templayer has to test it. For me it currently works without problems. ^^

Monstanner avatar Apr 20 '22 20:04 Monstanner

Guys, I've published a possible fix to the staging branch. Let me know if the issue has been fixed.

@Templayer has to test it. For me it currently works without problems. ^^

You should get a locale stuck and try it too - there might be a "switchgression" - it starts working for me and stops working for you. :D :D

Unfortunately it broke.

image

image

image

flatpak install flathub org.gnome.Epiphany.Locale -y --system

Vyhledávají se shody…
Přeskakuje se: org.gnome.Epiphany.Locale/x86_64/stable je již nainstalováno
flatpak install flathub org.gnome.Platform.Locale -y --system

Vyhledávají se shody…
Podobné refy pro „org.gnome.Platform.Locale“ nalezeny ve vzdáleném repozitáři „flathub“ (system):
1) runtime/org.gnome.Platform.Locale/x86_64/3.24
2) runtime/org.gnome.Platform.Locale/x86_64/3.26
3) runtime/org.gnome.Platform.Locale/x86_64/3.28
4) runtime/org.gnome.Platform.Locale/x86_64/3.30
5) runtime/org.gnome.Platform.Locale/x86_64/3.32
6) runtime/org.gnome.Platform.Locale/x86_64/3.34
7) runtime/org.gnome.Platform.Locale/x86_64/3.36
8) runtime/org.gnome.Platform.Locale/x86_64/3.38
9) runtime/org.gnome.Platform.Locale/x86_64/40
10) runtime/org.gnome.Platform.Locale/x86_64/41
11) runtime/org.gnome.Platform.Locale/x86_64/42
Který si přejete použít (0 pro zrušení)? [0-11]: 0
chyba: Nevybrán žádný ref pro vyřešení shod pro „org.gnome.Platform.Locale“

* The operation logs can be found at "/tmp/bauh@jboksa1/logs/upgrade/upgrade_2022421_1650524298.log"
* The upgrade summary can be found at "/tmp/bauh@jboksa1/logs/upgrade/upgrade_2022421_1650524298_summary.txt"

Manually trying out LANG='' flatpak install flathub org.gnome.Platform.Locale -y --system for an English output with the same choice of 0 that bauh automatically made:

jboksa1@JB-PC:~$ LANG='' flatpak install flathub org.gnome.Platform.Locale -y --system
Looking for matches?
Similar refs found for ?org.gnome.Platform.Locale? in remote ?flathub? (system):

   1) runtime/org.gnome.Platform.Locale/x86_64/3.24
   2) runtime/org.gnome.Platform.Locale/x86_64/3.26
   3) runtime/org.gnome.Platform.Locale/x86_64/3.28
   4) runtime/org.gnome.Platform.Locale/x86_64/3.30
   5) runtime/org.gnome.Platform.Locale/x86_64/3.32
   6) runtime/org.gnome.Platform.Locale/x86_64/3.34
   7) runtime/org.gnome.Platform.Locale/x86_64/3.36
   8) runtime/org.gnome.Platform.Locale/x86_64/3.38
   9) runtime/org.gnome.Platform.Locale/x86_64/40
  10) runtime/org.gnome.Platform.Locale/x86_64/41
  11) runtime/org.gnome.Platform.Locale/x86_64/42

Which do you want to use (0 to abort)? [0-11]: 0
error: No ref chosen to resolve matches for ?org.gnome.Platform.Locale?

Templayer avatar Apr 21 '22 07:04 Templayer

Thanks for the feedback. I'm going to revert the last commit.

vinifmor avatar Apr 21 '22 11:04 vinifmor

Folks, when possible, let me know if this issue happens on the latest release (0.10.3).

vinifmor avatar May 31 '22 10:05 vinifmor

Folks, when possible, let me know if this issue happens on the latest release (0.10.3).

For me it did not occur since 0.10.2. :)

Monstanner avatar May 31 '22 11:05 Monstanner

Folks, when possible, let me know if this issue happens on the latest release (0.10.3).

For me it did not occur since 0.10.2. :)

Then you should test it in case it was fixed for me and it got broken for you. Because that was my case, as when it got fixed for you in 0.10.2 it got broken for me. ;)

(Using staging) upgrade_202261_1654098531.log

Locales are stuck after refreshing afterwards (i.e. Monstanner is probably still safe from regressions):

image

No errors in the terminal.

Upon relaunching: image

Installing them just told me that they are already installed and they are still stuck.

Full update however seems to have not only got rid of them, but actually updated them.

BTW: Using Full Update for Flatpack doesn't produce a log file in /tmp/bauh@jboksa1/logs (which it most certainly should... make an Issue out of it if you need to and if that isn't a quick fix), so here you go:

flatpak update -y

Vyhledávají se aktualizace…
Informace: org.kde.Platform//5.12 je end-of-life, z důvodu:
We strongly recommend moving to the latest stable version of the Plaform and SDK
Aplikace používající toto prostředí:
org.kde.falkon
Informace: org.gnome.Platform//40 je end-of-life, z důvodu:
The GNOME 40 runtime is no longer supported as of March 21, 2022. Please ask your application developer to migrate to a supported platform.
Informace: org.freedesktop.Platform.html5-codecs//18.08 je end-of-life, z důvodu:
The Freedesktop SDK 18.08 runtime is no longer supported as of 31th August 2020. Please ask your application developer to migrate to a supported platform.
1.	   	org.freedesktop.Platform.Locale	20.08	u	flathub	< 322,3 MB
2.	   	org.freedesktop.Platform.Locale	21.08	u	flathub	< 325,8 MB
3.	   	org.gnome.Epiphany.Locale	stable	u	flathub	< 2,3 MB
4.	   	org.gnome.Platform.Locale	40	u	flathub	< 333,9 MB
5.	   	org.gnome.Platform.Locale	41	u	flathub	< 336,6 MB
6.	   	org.kde.Platform.Locale	5.15-21.08	u	flathub	< 345,4 MB
7.	   	org.kde.subtitlecomposer.Locale	stable	u	flathub	< 547,4 kB
8.	   	org.gnome.Platform	40	r
Aktualizace 1/8…
Aktualizace 1/8…                        0%  0 bajtů/s
Aktualizace 1/8… ██████                30%
Aktualizace 1/8… ████████████████████ 100%
Aktualizace 1/8… ████████████████████ 100%  1,5 MB/s
Aktualizace 2/8…
Aktualizace 2/8…                        0%  0 bajtů/s
Aktualizace 2/8…                        0%
Aktualizace 2/8… ████████████▊         64%
Aktualizace 2/8… ██████████████▏       71%
Aktualizace 2/8… ███████████████▍      77%  136,2 kB/s
Aktualizace 2/8… ████████████████▌     83%  617,2 kB/s
Aktualizace 2/8… ██████████████████    90%  1,8 MB/s
Aktualizace 2/8… ██████████████████▌   93%  1,5 MB/s
Aktualizace 2/8… ███████████████████▍  97%  2,1 MB/s
Aktualizace 2/8… ████████████████████ 100%  2,4 MB/s
Aktualizace 3/8…
Aktualizace 3/8…                        0%  0 bajtů/s
Aktualizace 3/8…                        0%
Aktualizace 3/8… ▌                      3%
Aktualizace 3/8… ███████████           55%
Aktualizace 3/8… █████████████▊        69%  13,0 kB/s
Aktualizace 3/8… ███████████████▌      78%  16,4 kB/s
Aktualizace 3/8… ██████████████████▍   92%  803,1 kB/s
Aktualizace 3/8… ████████████████████ 100%  517,2 kB/s
Aktualizace 4/8…
Aktualizace 4/8…                        0%  0 bajtů/s
Aktualizace 4/8… ▏                      1%
Aktualizace 4/8… █████████████▏        66%
Aktualizace 4/8… ███████████████▊      79%
Aktualizace 4/8… ████████████████████ 100%  323,3 kB/s
Aktualizace 5/8…
Aktualizace 5/8…                        0%  0 bajtů/s
Aktualizace 5/8… ▏                      1%
Aktualizace 5/8… ██████████████        70%
Aktualizace 5/8… ████████████████▊     84%
Aktualizace 5/8… ████████████████████ 100%  578,3 kB/s
Aktualizace 6/8…
Aktualizace 6/8…                        0%  0 bajtů/s
Aktualizace 6/8…                        0%
Aktualizace 6/8… ██████████            50%
Aktualizace 6/8… █████████▏            46%
Aktualizace 6/8… ██████████▍           52%  241,1 kB/s
Aktualizace 6/8… █████████▏            46%  354,4 kB/s
Aktualizace 6/8… █████████▏            46%  890,2 kB/s
Aktualizace 6/8… ██████████▏           51%  859,7 kB/s
Aktualizace 6/8… ███████████▏          56%  1,2 MB/s
Aktualizace 6/8… ████████████          60%  1,5 MB/s
Aktualizace 6/8… █████████████▍        67%  1,3 MB/s
Aktualizace 6/8… ██████████████        70%  1,5 MB/s
Aktualizace 6/8… ███████████████▍      77%  1,8 MB/s
Aktualizace 6/8… ████████████████▍     82%  2,1 MB/s
Aktualizace 6/8… █████████████████▌    88%  1,7 MB/s  00:00
Aktualizace 6/8… ██████████████████▊   94%  2,0 MB/s  00:00
Aktualizace 6/8… ████████████████████ 100%  2,2 MB/s  00:00
Aktualizace 7/8…
Aktualizace 7/8…                        0%  0 bajtů/s
Aktualizace 7/8… ▌                      3%
Aktualizace 7/8… ▌                      3%
Aktualizace 7/8… ▌                      3%
Aktualizace 7/8… ██████████████        70%  9,5 kB/s
Aktualizace 7/8… █████████████████▌    88%  20,0 kB/s
Aktualizace 7/8… ████████████████████ 100%  29,8 kB/s
Odinstalace 8/8…
Změny dokončeny.
Informace: org.kde.Platform//5.15 je end-of-life, z důvodu:
We strongly recommend moving to the latest stable version of the Plaform and SDK
1.	   	org.kde.Platform.Locale	5.15	r
2.	   	org.kde.Platform	5.15	r
Odinstalace 1/2…
Odinstalace 2/2…
Odinstalace dokončena.

Templayer avatar Jun 01 '22 16:06 Templayer

Folks, when possible, let me know if this issue happens on the latest release (0.10.3).

For me it did not occur since 0.10.2. :)

Then you should test it in case it was fixed for me and it got broken for you. Because that was my case, as when it got fixed for you in 0.10.2 it got broken for me. ;)

(Using staging) upgrade_202261_1654098531.log

Locales are stuck after refreshing afterwards (i.e. Monstanner is probably still safe from regressions):

image

No errors in the terminal.

Upon relaunching: image

Installing them just told me that they are already installed and they are still stuck.

Full update however seems to have not only got rid of them, but actually updated them.

BTW: Using Full Update for Flatpack doesn't produce a log file in /tmp/bauh@jboksa1/logs (which it most certainly should... make an Issue out of it if you need to and if that isn't a quick fix), so here you go:

flatpak update -y

Vyhledávají se aktualizace…
Informace: org.kde.Platform//5.12 je end-of-life, z důvodu:
We strongly recommend moving to the latest stable version of the Plaform and SDK
Aplikace používající toto prostředí:
org.kde.falkon
Informace: org.gnome.Platform//40 je end-of-life, z důvodu:
The GNOME 40 runtime is no longer supported as of March 21, 2022. Please ask your application developer to migrate to a supported platform.
Informace: org.freedesktop.Platform.html5-codecs//18.08 je end-of-life, z důvodu:
The Freedesktop SDK 18.08 runtime is no longer supported as of 31th August 2020. Please ask your application developer to migrate to a supported platform.
1.	   	org.freedesktop.Platform.Locale	20.08	u	flathub	< 322,3 MB
2.	   	org.freedesktop.Platform.Locale	21.08	u	flathub	< 325,8 MB
3.	   	org.gnome.Epiphany.Locale	stable	u	flathub	< 2,3 MB
4.	   	org.gnome.Platform.Locale	40	u	flathub	< 333,9 MB
5.	   	org.gnome.Platform.Locale	41	u	flathub	< 336,6 MB
6.	   	org.kde.Platform.Locale	5.15-21.08	u	flathub	< 345,4 MB
7.	   	org.kde.subtitlecomposer.Locale	stable	u	flathub	< 547,4 kB
8.	   	org.gnome.Platform	40	r
Aktualizace 1/8…
Aktualizace 1/8…                        0%  0 bajtů/s
Aktualizace 1/8… ██████                30%
Aktualizace 1/8… ████████████████████ 100%
Aktualizace 1/8… ████████████████████ 100%  1,5 MB/s
Aktualizace 2/8…
Aktualizace 2/8…                        0%  0 bajtů/s
Aktualizace 2/8…                        0%
Aktualizace 2/8… ████████████▊         64%
Aktualizace 2/8… ██████████████▏       71%
Aktualizace 2/8… ███████████████▍      77%  136,2 kB/s
Aktualizace 2/8… ████████████████▌     83%  617,2 kB/s
Aktualizace 2/8… ██████████████████    90%  1,8 MB/s
Aktualizace 2/8… ██████████████████▌   93%  1,5 MB/s
Aktualizace 2/8… ███████████████████▍  97%  2,1 MB/s
Aktualizace 2/8… ████████████████████ 100%  2,4 MB/s
Aktualizace 3/8…
Aktualizace 3/8…                        0%  0 bajtů/s
Aktualizace 3/8…                        0%
Aktualizace 3/8… ▌                      3%
Aktualizace 3/8… ███████████           55%
Aktualizace 3/8… █████████████▊        69%  13,0 kB/s
Aktualizace 3/8… ███████████████▌      78%  16,4 kB/s
Aktualizace 3/8… ██████████████████▍   92%  803,1 kB/s
Aktualizace 3/8… ████████████████████ 100%  517,2 kB/s
Aktualizace 4/8…
Aktualizace 4/8…                        0%  0 bajtů/s
Aktualizace 4/8… ▏                      1%
Aktualizace 4/8… █████████████▏        66%
Aktualizace 4/8… ███████████████▊      79%
Aktualizace 4/8… ████████████████████ 100%  323,3 kB/s
Aktualizace 5/8…
Aktualizace 5/8…                        0%  0 bajtů/s
Aktualizace 5/8… ▏                      1%
Aktualizace 5/8… ██████████████        70%
Aktualizace 5/8… ████████████████▊     84%
Aktualizace 5/8… ████████████████████ 100%  578,3 kB/s
Aktualizace 6/8…
Aktualizace 6/8…                        0%  0 bajtů/s
Aktualizace 6/8…                        0%
Aktualizace 6/8… ██████████            50%
Aktualizace 6/8… █████████▏            46%
Aktualizace 6/8… ██████████▍           52%  241,1 kB/s
Aktualizace 6/8… █████████▏            46%  354,4 kB/s
Aktualizace 6/8… █████████▏            46%  890,2 kB/s
Aktualizace 6/8… ██████████▏           51%  859,7 kB/s
Aktualizace 6/8… ███████████▏          56%  1,2 MB/s
Aktualizace 6/8… ████████████          60%  1,5 MB/s
Aktualizace 6/8… █████████████▍        67%  1,3 MB/s
Aktualizace 6/8… ██████████████        70%  1,5 MB/s
Aktualizace 6/8… ███████████████▍      77%  1,8 MB/s
Aktualizace 6/8… ████████████████▍     82%  2,1 MB/s
Aktualizace 6/8… █████████████████▌    88%  1,7 MB/s  00:00
Aktualizace 6/8… ██████████████████▊   94%  2,0 MB/s  00:00
Aktualizace 6/8… ████████████████████ 100%  2,2 MB/s  00:00
Aktualizace 7/8…
Aktualizace 7/8…                        0%  0 bajtů/s
Aktualizace 7/8… ▌                      3%
Aktualizace 7/8… ▌                      3%
Aktualizace 7/8… ▌                      3%
Aktualizace 7/8… ██████████████        70%  9,5 kB/s
Aktualizace 7/8… █████████████████▌    88%  20,0 kB/s
Aktualizace 7/8… ████████████████████ 100%  29,8 kB/s
Odinstalace 8/8…
Změny dokončeny.
Informace: org.kde.Platform//5.15 je end-of-life, z důvodu:
We strongly recommend moving to the latest stable version of the Plaform and SDK
1.	   	org.kde.Platform.Locale	5.15	r
2.	   	org.kde.Platform	5.15	r
Odinstalace 1/2…
Odinstalace 2/2…
Folks, when possible, let me know if this issue happens on the latest release (0.10.3).
For me it did not occur since 0.10.2. :)

Then you should test it in case it was fixed for me and it got broken for you. Because that was my case, as when it got fixed for you in 0.10.2 it got broken for me. ;)

(Using staging) upgrade_202261_1654098531.log

Locales are stuck after refreshing afterwards (i.e. Monstanner is probably still safe from regressions):

image

No errors in the terminal.

Upon relaunching: image

Installing them just told me that they are already installed and they are still stuck.

Full update however seems to have not only got rid of them, but actually updated them.

BTW: Using Full Update for Flatpack doesn't produce a log file in /tmp/bauh@jboksa1/logs (which it most certainly should... make an Issue out of Folks, when possible, let me know if this issue happens on the latest release (0.10.3).

For me it did not occur since 0.10.2. :)

Then you should test it in case it was fixed for me and it got broken for you. Because that was my case, as when it got fixed for you in 0.10.2 it got broken for me. ;)

(Using staging) upgrade_202261_1654098531.log

Locales are stuck after refreshing afterwards (i.e. Monstanner is probably still safe from regressions):

image

No errors in the terminal.

Upon relaunching: image

Installing them just told me that they are already installed and they are still stuck.

Full update however seems to have not only got rid of them, but actually updated them.

BTW: Using Full Update for Flatpack doesn't produce a log file in /tmp/bauh@jboksa1/logs (which it most certainly should... make an Issue out of it if you need to and if that isn't a quick fix), so here you go:

flatpak update -y

Vyhledávají se aktualizace… Informace: org.kde.Platform//5.12 je end-of-life, z důvodu: We strongly recommend moving to the latest stable version of the Plaform and SDK Aplikace používající toto prostředí: org.kde.falkon Informace: org.gnome.Platform//40 je end-of-life, z důvodu: The GNOME 40 runtime is no longer supported as of March 21, 2022. Please ask your application developer to migrate to a supported platform. Informace: org.freedesktop.Platform.html5-codecs//18.08 je end-of-life, z důvodu: The Freedesktop SDK 18.08 runtime is no longer supported as of 31th August 2020. Please ask your application developer to migrate to a supported platform.

  1. 	org.freedesktop.Platform.Locale	20.08	u	flathub	< 322,3 MB
    
  2. 	org.freedesktop.Platform.Locale	21.08	u	flathub	< 325,8 MB
    
  3. 	org.gnome.Epiphany.Locale	stable	u	flathub	< 2,3 MB
    
  4. 	org.gnome.Platform.Locale	40	u	flathub	< 333,9 MB
    
  5. 	org.gnome.Platform.Locale	41	u	flathub	< 336,6 MB
    
  6. 	org.kde.Platform.Locale	5.15-21.08	u	flathub	< 345,4 MB
    
  7. 	org.kde.subtitlecomposer.Locale	stable	u	flathub	< 547,4 kB
    
  8. 	org.gnome.Platform	40	r
    

Aktualizace 1/8… Aktualizace 1/8… 0% 0 bajtů/s Aktualizace 1/8… ██████ 30% Aktualizace 1/8… ████████████████████ 100% Aktualizace 1/8… ████████████████████ 100% 1,5 MB/s Aktualizace 2/8… Aktualizace 2/8… 0% 0 bajtů/s Aktualizace 2/8… 0% Aktualizace 2/8… ████████████▊ 64% Aktualizace 2/8… ██████████████▏ 71% Aktualizace 2/8… ███████████████▍ 77% 136,2 kB/s Aktualizace 2/8… ████████████████▌ 83% 617,2 kB/s Aktualizace 2/8… ██████████████████ 90% 1,8 MB/s Aktualizace 2/8… ██████████████████▌ 93% 1,5 MB/s Aktualizace 2/8… ███████████████████▍ 97% 2,1 MB/s Aktualizace 2/8… ████████████████████ 100% 2,4 MB/s Aktualizace 3/8… Aktualizace 3/8… 0% 0 bajtů/s Aktualizace 3/8… 0% Aktualizace 3/8… ▌ 3% Aktualizace 3/8… ███████████ 55% Aktualizace 3/8… █████████████▊ 69% 13,0 kB/s Aktualizace 3/8… ███████████████▌ 78% 16,4 kB/s Aktualizace 3/8… ██████████████████▍ 92% 803,1 kB/s Aktualizace 3/8… ████████████████████ 100% 517,2 kB/s Aktualizace 4/8… Aktualizace 4/8… 0% 0 bajtů/s Aktualizace 4/8… ▏ 1% Aktualizace 4/8… █████████████▏ 66% Aktualizace 4/8… ███████████████▊ 79% Aktualizace 4/8… ████████████████████ 100% 323,3 kB/s Aktualizace 5/8… Aktualizace 5/8… 0% 0 bajtů/s Aktualizace 5/8… ▏ 1% Aktualizace 5/8… ██████████████ 70% Aktualizace 5/8… ████████████████▊ 84% Aktualizace 5/8… ████████████████████ 100% 578,3 kB/s Aktualizace 6/8… Aktualizace 6/8… 0% 0 bajtů/s Aktualizace 6/8… 0% Aktualizace 6/8… ██████████ 50% Aktualizace 6/8… █████████▏ 46% Aktualizace 6/8… ██████████▍ 52% 241,1 kB/s Aktualizace 6/8… █████████▏ 46% 354,4 kB/s Aktualizace 6/8… █████████▏ 46% 890,2 kB/s Aktualizace 6/8… ██████████▏ 51% 859,7 kB/s Aktualizace 6/8… ███████████▏ 56% 1,2 MB/s Aktualizace 6/8… ████████████ 60% 1,5 MB/s Aktualizace 6/8… █████████████▍ 67% 1,3 MB/s Aktualizace 6/8… ██████████████ 70% 1,5 MB/s Aktualizace 6/8… ███████████████▍ 77% 1,8 MB/s Aktualizace 6/8… ████████████████▍ 82% 2,1 MB/s Aktualizace 6/8… █████████████████▌ 88% 1,7 MB/s 00:00 Aktualizace 6/8… ██████████████████▊ 94% 2,0 MB/s 00:00 Aktualizace 6/8… ████████████████████ 100% 2,2 MB/s 00:00 Aktualizace 7/8… Aktualizace 7/8… 0% 0 bajtů/s Aktualizace 7/8… ▌ 3% Aktualizace 7/8… ▌ 3% Aktualizace 7/8… ▌ 3% Aktualizace 7/8… ██████████████ 70% 9,5 kB/s Aktualizace 7/8… █████████████████▌ 88% 20,0 kB/s Aktualizace 7/8… ████████████████████ 100% 29,8 kB/s Odinstalace 8/8… Změny dokončeny. Informace: org.kde.Platform//5.15 je end-of-life, z důvodu: We strongly recommend moving to the latest stable version of the Plaform and SDK

  1. 	org.kde.Platform.Locale	5.15	r
    
  2. 	org.kde.Platform	5.15	r
    

Odinstalace 1/2… Odinstalace 2/2… Odinstalace dokončena.it if you need to and if that isn't a quick fix), so here you go:

flatpak update -y

Vyhledávají se aktualizace… Informace: org.kde.Platform//5.12 je end-of-life, z důvodu: We strongly recommend moving to the latest stable version of the Plaform and SDK Aplikace používající toto prostředí: org.kde.falkon Informace: org.gnome.Platform//40 je end-of-life, z důvodu: The GNOME 40 runtime is no longer supported as of March 21, 2022. Please ask your application developer to migrate to a supported platform. Informace: org.freedesktop.Platform.html5-codecs//18.08 je end-of-life, z důvodu: The Freedesktop SDK 18.08 runtime is no longer supported as of 31th August 2020. Please ask your application developer to migrate to a supported platform.

  1. 	org.freedesktop.Platform.Locale	20.08	u	flathub	< 322,3 MB
    
  2. 	org.freedesktop.Platform.Locale	21.08	u	flathub	< 325,8 MB
    
  3. 	org.gnome.Epiphany.Locale	stable	u	flathub	< 2,3 MB
    
  4. 	org.gnome.Platform.Locale	40	u	flathub	< 333,9 MB
    
  5. 	org.gnome.Platform.Locale	41	u	flathub	< 336,6 MB
    
  6. 	org.kde.Platform.Locale	5.15-21.08	u	flathub	< 345,4 MB
    
  7. 	org.kde.subtitlecomposer.Locale	stable	u	flathub	< 547,4 kB
    
  8. 	org.gnome.Platform	40	r
    

Aktualizace 1/8… Aktualizace 1/8… 0% 0 bajtů/s Aktualizace 1/8… ██████ 30% Aktualizace 1/8… ████████████████████ 100% Aktualizace 1/8… ████████████████████ 100% 1,5 MB/s Aktualizace 2/8… Aktualizace 2/8… 0% 0 bajtů/s Aktualizace 2/8… 0% Aktualizace 2/8… ████████████▊ 64% Aktualizace 2/8… ██████████████▏ 71% Aktualizace 2/8… ███████████████▍ 77% 136,2 kB/s Aktualizace 2/8… ████████████████▌ 83% 617,2 kB/s Aktualizace 2/8… ██████████████████ 90% 1,8 MB/s Aktualizace 2/8… ██████████████████▌ 93% 1,5 MB/s Aktualizace 2/8… ███████████████████▍ 97% 2,1 MB/s Aktualizace 2/8… ████████████████████ 100% 2,4 MB/s Aktualizace 3/8… Aktualizace 3/8… 0% 0 bajtů/s Aktualizace 3/8… 0% Aktualizace 3/8… ▌ 3% Aktualizace 3/8… ███████████ 55% Aktualizace 3/8… █████████████▊ 69% 13,0 kB/s Aktualizace 3/8… ███████████████▌ 78% 16,4 kB/s Aktualizace 3/8… ██████████████████▍ 92% 803,1 kB/s Aktualizace 3/8… ████████████████████ 100% 517,2 kB/s Aktualizace 4/8… Aktualizace 4/8… 0% 0 bajtů/s Aktualizace 4/8… ▏ 1% Aktualizace 4/8… █████████████▏ 66% Aktualizace 4/8… ███████████████▊ 79% Aktualizace 4/8… ████████████████████ 100% 323,3 kB/s Aktualizace 5/8… Aktualizace 5/8… 0% 0 bajtů/s Aktualizace 5/8… ▏ 1% Aktualizace 5/8… ██████████████ 70% Aktualizace 5/8… ████████████████▊ 84% Aktualizace 5/8… ████████████████████ 100% 578,3 kB/s Aktualizace 6/8… Aktualizace 6/8… 0% 0 bajtů/s Aktualizace 6/8… 0% Aktualizace 6/8… ██████████ 50% Aktualizace 6/8… █████████▏ 46% Aktualizace 6/8… ██████████▍ 52% 241,1 kB/s Aktualizace 6/8… █████████▏ 46% 354,4 kB/s Aktualizace 6/8… █████████▏ 46% 890,2 kB/s Aktualizace 6/8… ██████████▏ 51% 859,7 kB/s Aktualizace 6/8… ███████████▏ 56% 1,2 MB/s Aktualizace 6/8… ████████████ 60% 1,5 MB/s Aktualizace 6/8… █████████████▍ 67% 1,3 MB/s Aktualizace 6/8… ██████████████ 70% 1,5 MB/s Aktualizace 6/8… ███████████████▍ 77% 1,8 MB/s Aktualizace 6/8… ████████████████▍ 82% 2,1 MB/s Aktualizace 6/8… █████████████████▌ 88% 1,7 MB/s 00:00 Aktualizace 6/8… ██████████████████▊ 94% 2,0 MB/s 00:00 Aktualizace 6/8… ████████████████████ 100% 2,2 MB/s 00:00 Aktualizace 7/8… Aktualizace 7/8… 0% 0 bajtů/s Aktualizace 7/8… ▌ 3% Aktualizace 7/8… ▌ 3% Aktualizace 7/8… ▌ 3% Aktualizace 7/8… ██████████████ 70% 9,5 kB/s Aktualizace 7/8… █████████████████▌ 88% 20,0 kB/s Aktualizace 7/8… ████████████████████ 100% 29,8 kB/s Odinstalace 8/8… Změny dokončeny. Informace: org.kde.Platform//5.15 je end-of-life, z důvodu: We strongly recommend moving to the latest stable version of the Plaform and SDK

  1. 	org.kde.Platform.Locale	5.15	r
    
  2. 	org.kde.Platform	5.15	r
    

Odinstalace 1/2… Odinstalace 2/2… Odinstalace dokončena. Odinstalace dokončena.

Maybe this will help you. Go to the terminal and type sudo (your cli editor) /etc/profile.d/locale.sh. Then look for the line LANG=${LANG:-C}. If the line is the same, change it with your language. For me, for example, it is: LANG=de_DE. UTF-8{LANG:de_DE. UTF-8}. Then log out and log in or restart your system completely. Maybe the bug will be fixed.

Monstanner avatar Jun 10 '22 05:06 Monstanner

This bug exists in all versions for me until I ran LANG='' flatpak update

MANICX100 avatar Jun 10 '22 07:06 MANICX100

My report was made on staging (which I have a script that deletes it and reinstalls it every time on launch so that I'm sure that I have the newest version when testing), as previously mentioned. Monnstaner's heavily garbled comment has "Folks, when possible, let me know if this issue happens on the latest release (0.10.3)" sprinkled in several spots, so I'm not sure if he was trying to ask me if I had the latest release or something else entirely.

Maybe this will help you. Go to the terminal and type sudo (your cli editor) /etc/profile.d/locale.sh.

There is no locale.sh in the /etc/profile.d folder. Yes, I'm under root.

image

Templayer avatar Jun 10 '22 08:06 Templayer

My report was made on staging (which I have a script that deletes it and reinstalls it every time on launch so that I'm sure that I have the newest version when testing), as previously mentioned. Monnstaner's heavily garbled comment has "Folks, when possible, let me know if this issue happens on the latest release (0.10.3)" sprinkled in several spots, so I'm not sure if he was trying to ask me if I had the latest release or something else entirely.

Maybe this will help you. Go to the terminal and type sudo (your cli editor) /etc/profile.d/locale.sh.

There is no locale.sh in the /etc/profile.d folder. Yes, I'm under root.

image

I'm just trying to help. For me, it had something to do with the locale configuration. You are using a Debian based distro. I, on the other hand, use Arch. It is normal that there are different solutions / my solution does not work for you. I thought, maybe it could also be the locale configuration for you. Anyway, I'm now logging out of the thread. Hopefully, the bug will be fixed as soon as possible,

Monstanner avatar Jun 10 '22 10:06 Monstanner

I'm just trying to help. For me, it had something to do with the locale configuration. You are using a Debian based distro. I, on the other hand, use Arch. It is normal that there are different solutions / my solution does not work for you. I thought, maybe it could also be the locale configuration for you. Anyway, I'm now logging out of the thread. Hopefully, the bug will be fixed as soon as possible,

I wasn't angry, I was just stating facts and the current state for me.

Templayer avatar Jun 10 '22 12:06 Templayer

Bug exists in v0.10.5. Executing LANG='' flatpak update on the terminal solved the issue, but it would be nice if bauh could support this.

brccabral avatar Jan 18 '23 22:01 brccabral

Bug exists in v0.10.5. Executing LANG='' flatpak update on the terminal solved the issue, but it would be nice if bauh could support this.

I just got used to running Full Update for flatpacks.

Templayer avatar Jan 18 '23 22:01 Templayer

This was happening for me for a long time, until it stopped happening. The flatpacks still don't show up how much space they are going to take (showing "?" instead), but the locales are now installed properly.

image

image

upgrade_2023123_1674463710.log

Templayer avatar Jan 23 '23 08:01 Templayer