vinifmor / bauh

Graphical user interface for managing your Linux applications. Supports AppImage, Debian and Arch packages (including AUR), Flatpak, Snap and native Web applications
zlib License
959 stars 71 forks source link

Locale items detected as in need of updating, yet say they are already installed if update via bauh is attempted #238

Closed Templayer closed 2 years ago

Templayer commented 2 years ago

Describe the bug

These locale list items are always there after a restart: image

If I attempt to update them via bauh, it says that all of them are already installed

image image image

Result (sometimes those Locale list items disappear after attempting to install them until restart, when they reappear. And sometimes, they don't, as was this case, even after refreshing bauh): image

Update logs: upgrade_2022315_1647334282_summary.txt upgrade_2022315_1647334282.log

Software Environment bauh version: 0.10.0 O.S: Linux Mint 20.3 Una with Cinnamon; kernel: 5.4.0-104-generic Python version: Python 3.8.10 + Python 2.7.18 (I would assume it uses the first one, because of pip3) Installation method: pip3 (it would be great if the bauh Help dialog would also say if it is under pip, AppImage, etc. )

PS: I would like to thank you for developing bauh, I've been using it almost on day one after getting Mint, and it had excellent results for me. (I was looking for something specific that could handle flatpack updates properly, originally).

This issue has been always present, I was just hoping on each bauh update for it to be fixed, but it never was.

vinifmor commented 2 years ago

Hello @Templayer , that's odd. I'm going to test some scenarios here to see if I reach the same issue. What Flatpak's version is installed on your system ?

Templayer commented 2 years ago

Hello @Templayer , that's odd. I'm going to test some scenarios here to see if I reach the same issue. What Flatpak's version is installed on your system ?

@vinifmor Flatpak 1.12.4

Also what might play into this - it is a Czech version of Linux Mint. With Czech locale, Czech input/keyboard layout, etc. by default. It had a standalone Czech image for installation. Have been using it for months now (updating everything on a daily basis) without a fault.

I hated updates on Windows, yet I love them in Mint/Ubuntu. :)

Templayer commented 2 years ago

@vinifmor If you need anything else than the flatpack version, please tell me. Ideally with terminal commands needed, if they are needed.

This issue has been bothering me for months and I really wish to get rid of it.

Templayer commented 2 years ago

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

Might be connected to this. There might be Czech diacritics Unicode-based symbols in paths and such, maybe bauh has problems with that somewhere? Like these and their uppercase variants: úůěščřžýáíéňťď

vinifmor commented 2 years ago

Let's try to figure out what's going on. Please, paste the output of the following commands:

1) LANG=en flatpak update --system 2) LANG=en flatpak update --user 3) LANG=en flatpak list --columns=application,ref,arch,branch,description,origin,options,name,version 4) Launch bauh through a terminal client, and try updating the locales. If there are errors outputs, please, paste them here.

Templayer commented 2 years ago

Let's try to figure out what's going on. Please, paste the output of the following commands:

  1. LANG=en flatpak update --system
  2. LANG=en flatpak update --user
  3. LANG=en flatpak list --columns=application,ref,arch,branch,description,origin,options,name,version
  4. Launch bauh through a terminal client, and try updating the locales. If there are errors outputs, please, paste them here.

1. jboksa1@JB-PC:~$ LANG=en flatpak update --system Looking for updates? Info: org.freedesktop.Platform.html5-codecs//18.08 is end-of-life, with reason: 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.

    ID                                          Branch     Op Remote  Download
  1. com.github.Eloston.UngoogledChromium.Locale stable u flathub < 112.8?kB
  2. fr.handbrake.ghb.Locale stable u flathub < 471.8?kB
  3. org.freedesktop.Platform.Locale 20.08 u flathub < 322.3?MB
  4. org.freedesktop.Platform.Locale 21.08 u flathub < 325.8?MB
  5. org.gnome.Epiphany.Locale stable u flathub < 2.3?MB
  6. org.gnome.Platform.Locale 40 u flathub < 333.9?MB
  7. org.gnome.Platform.Locale 41 u flathub < 336.5?MB
  8. org.kde.Platform.Locale 5.15-21.08 u flathub < 345.2?MB

Proceed with these changes to the system installation? [Y/n]:

    ID                                              Branch         Op     Remote     Download
  1. [?] com.github.Eloston.UngoogledChromium.Locale stable u flathub 1.6?kB / 112.8?kB
  2. [?] fr.handbrake.ghb.Locale stable u flathub 189.2?kB / 471.8?kB
  3. [?] org.freedesktop.Platform.Locale 20.08 u flathub 460.5?kB / 322.3?MB
  4. [?] org.freedesktop.Platform.Locale 21.08 u flathub 3.4?MB / 325.8?MB
  5. [?] org.gnome.Epiphany.Locale stable u flathub 251.0?kB / 2.3?MB
  6. [?] org.gnome.Platform.Locale 40 u flathub 154.7?kB / 333.9?MB
  7. [?] org.gnome.Platform.Locale 41 u flathub 4.0?MB / 336.5?MB
  8. [?] org.kde.Platform.Locale 5.15-21.08 u flathub 9.6?MB / 345.2?MB

Updates complete.

2. jboksa1@JB-PC:~$ LANG=en flatpak update --user Looking for updates? Nothing to do.

3. jboksa1@JB-PC:~$ LANG=en flatpak list --columns=application,ref,arch,branch,description,origin,options,name,version Applica? Ref Arch Branch De? Origin ? ? Version ?hromium com.github.Eloston.UngoogledChromium/x86_64/stable x86_64 stable A ? flathub ? ? 99.0.4844.51 ?.Codecs com.github.Eloston.UngoogledChromium.Codecs/x86_64/stable x86_64 stable flathub ? ? ?auncher com.github.micahflee.torbrowser-launcher/x86_64/stable x86_64 stable A ? flathub ? ? 0.3.5 ?.ClamTk com.gitlab.davem.ClamTk/x86_64/stable x86_64 stable Ea? flathub ? ? 6.13 ?tepadqq com.notepadqq.Notepadqq/x86_64/stable x86_64 stable An? flathub ? ? 1.4.8 ?ake.ghb fr.handbrake.ghb/x86_64/stable x86_64 stable P?? flathub ? ? 1.5.1 ?.PeaZip io.github.peazip.PeaZip/x86_64/stable x86_64 stable Fr? flathub ? ? 8.5.0 ?on.i386 io.github.peazip.PeaZip.Addon.i386/x86_64/stable x86_64 stable pe? flathub ? ? 1.0.0 ?lesscut no.mifi.losslesscut/x86_64/stable x86_64 stable Sa? flathub ? ? 3.44.0 ?latform org.freedesktop.Platform/x86_64/20.08 x86_64 20.08 Sh? flathub ? ? 20.08.18 ?latform org.freedesktop.Platform/x86_64/20.08 x86_64 20.08 Sh? flathub ? ? 20.08.18 ?latform org.freedesktop.Platform/x86_64/21.08 x86_64 21.08 Sh? flathub ? ? 21.08.11 ?at.i386 org.freedesktop.Platform.Compat.i386/x86_64/20.08 x86_64 20.08 flathub ? ? ?default org.freedesktop.Platform.GL.default/x86_64/20.08 x86_64 20.08 Me? flathub ? ? 21.1.8 ?default org.freedesktop.Platform.GL.default/x86_64/20.08 x86_64 20.08 Me? flathub ? ? 21.1.8 ?default org.freedesktop.Platform.GL.default/x86_64/21.08 x86_64 21.08 Me? flathub ? ? 21.3.6 ?default org.freedesktop.Platform.GL.default/x86_64/21.08 x86_64 21.08 Me? flathub ? ? 21.3.6 ?default org.freedesktop.Platform.GL32.default/x86_64/20.08 x86_64 20.08 flathub ? ? ?eg-full org.freedesktop.Platform.ffmpeg-full/x86_64/21.08 x86_64 21.08 flathub ? ? ?-codecs org.freedesktop.Platform.html5-codecs/x86_64/18.08 x86_64 18.08 flathub ? ? ?penh264 org.freedesktop.Platform.openh264/x86_64/2.0 x86_64 2.0 Op? flathub ? ? 2.1.0 ?penh264 org.freedesktop.Platform.openh264/x86_64/2.0 x86_64 2.0 Op? flathub ? ? 2.1.0 ?piphany org.gnome.Epiphany/x86_64/stable x86_64 stable We? flathub ? ? 41.3 ?latform org.gnome.Platform/x86_64/40 x86_64 40 Sh? flathub ? ? ?latform org.gnome.Platform/x86_64/41 x86_64 41 Sh? flathub ? ? ?.Mint-Y org.gtk.Gtk3theme.Mint-Y/x86_64/3.22 x86_64 3.22 Mi? flathub ? ? ?.Mint-Y org.gtk.Gtk3theme.Mint-Y/x86_64/3.22 x86_64 3.22 Mi? flathub ? ? ?-Purple org.gtk.Gtk3theme.Mint-Y-Dark-Purple/x86_64/3.22 x86_64 3.22 Mi? flathub ? ? ?nloader org.jdownloader.JDownloader/x86_64/stable x86_64 stable Do? flathub ? ? 2.0 ?latform org.kde.Platform/x86_64/5.12 x86_64 5.12 Sh? flathub ? ? ?latform org.kde.Platform/x86_64/5.15 x86_64 5.15 Sh? flathub ? ? ?latform org.kde.Platform/x86_64/5.15-21.08 x86_64 5.15-21.08 Sh? flathub ? ? ?latform org.kde.Platform/x86_64/5.15-21.08 x86_64 5.15-21.08 Sh? flathub ? ? ?.falkon org.kde.falkon/x86_64/master x86_64 master We? kdeapps ? ? ?omposer org.kde.subtitlecomposer/x86_64/stable x86_64 stable Vi? flathub ? ? 0.7.1 ?NetSurf org.netsurf_browser.NetSurf/x86_64/stable x86_64 stable sm? flathub ? ? 3.10 ?onlinux org.phoenicis.playonlinux/x86_64/stable x86_64 stable In? flathub ? ? 5.0-alpha-3 ?torrent org.qbittorrent.qBittorrent/x86_64/stable x86_64 stable An? flathub ? ? 4.4.1 ?browser org.qutebrowser.qutebrowser/x86_64/stable x86_64 stable A ? flathub ? ? 2.4.0

Those question marks seem very weird. Is that normal?

image

jboksa1@JB-PC:~$ bauh qt5ct: using qt5ct plugin Unknown property letter-spacing Unknown property letter-spacing qt5ct: custom style sheet is disabled Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing Unknown property letter-spacing

The Locales are no longer there if launched from the terminal.

image

I'm going to try the non-terminal one (shouldn't that be the same? I guess not - the icon on the panel is different (treasure chest if launched from terminal versus a box with a planet)).

The result is the same (no more Locales). I'll hit comment and then I will reply after a restart...

Templayer commented 2 years ago

After restart, opening the bauh "normally" (nonterminal command call via launcher) - they are finally gone! Thank you!

Now, why wasn't bauh able to do the same thing? Hm...

Anyway, if you wish for bauh to get a professional Czech translation for free, you just have to ask me.

Also, it would be great if bauh came in the form of apk for Mint, but I guess everyone wants their favourite package/installation mechanism to have bauh. :P

vinifmor commented 2 years ago

The question marks are not normal. If you execute any of these commands without the LANG="en", they still show up ?

If you want to contribute with translations, have a look here

About packaging: for now bauh supports 3 formats (AppImage, Python/Wheel, Arch package). It is hard to keep several of them. Flatpak would be next one, but there are some restrictions that don't allow bauh to work properly.

vinifmor commented 2 years ago

You issues are gone because you proceeded with the upgrade through the "flatpak update" command. Anyway, I'm going to test some scenarios based on you outputs.

Templayer commented 2 years ago

About packaging: for now bauh supports 3 formats (AppImage, Python/Wheel, Arch package). It is hard to keep several of them. Flatpak would be next one, but there are some restrictions that don't allow bauh to work properly.

Yeah, I read about that on various issues here, permission problems, etc. The best solution would be for someone to join you in your efforts to dedicate himself to that (or just have a bunch of people that have a lot of experience with various package/installation managers). I'm a total newbie, so that won't be me. Unless you want help with Java/JVM. Actually, hilariously enough, I just found THIS: https://www.jython.org/

If you want to contribute with translations, have a look here

Seems... straightforward enough! I might actually do that! Yay!

The question marks are not normal. If you execute any of these commands without the LANG="en", they still show up ?

I'll try that tomorrow. I have Linux Mint on my laptop that I use to work/code at my office, and I'm home now.

Templayer commented 2 years ago

The question marks are not normal. If you execute any of these commands without the LANG="en", they still show up ?

I'll try that tomorrow. I have Linux Mint on my laptop that I use to work/code at my office, and I'm home now.

@vinifmor It looks perfectly fine if lang isn't "en". D:

jboksa1@JB-PC:~$ flatpak update --system Vyhledávají se aktualizace… 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.

    ID                                          Větev  Op Vzdálený repozitář Stažení
  1. com.github.Eloston.UngoogledChromium.Codecs stable u flathub < 1,1 MB
  2. com.github.Eloston.UngoogledChromium stable u flathub < 115,6 MB

Pokračovat s těmito změnami do systémové instalace? [Y/n]:

    ID                                          Větev  Op Vzdálený repozitář Stažení
  1. [✓] com.github.Eloston.UngoogledChromium.Codecs stable u flathub 1,0 kB / 1,1 MB
  2. [✓] com.github.Eloston.UngoogledChromium stable u flathub 77,8 MB / 115,6 MB

Aktualizace dokončeny.

image image image

jboksa1@JB-PC:~$ flatpak update --user Vyhledávají se aktualizace… Není co dělat.

jboksa1@JB-PC:~$ flatpak list --columns=application,ref,arch,branch,description,origin,options,name,version … Ref Architektura Větev … Původ … … Verze … com.github.Eloston.UngoogledChromium/x86_64/stable x86_64 stable … flathub … … 99.0.4844.51 … com.github.Eloston.UngoogledChromium.Codecs/x86_64/stable x86_64 stable flathub … … … com.github.micahflee.torbrowser-launcher/x86_64/stable x86_64 stable … flathub … … 0.3.5 … com.gitlab.davem.ClamTk/x86_64/stable x86_64 stable … flathub … … 6.13 … com.notepadqq.Notepadqq/x86_64/stable x86_64 stable … flathub … … 1.4.8 … fr.handbrake.ghb/x86_64/stable x86_64 stable … flathub … … 1.5.1 … io.github.peazip.PeaZip/x86_64/stable x86_64 stable … flathub … … 8.5.0 … io.github.peazip.PeaZip.Addon.i386/x86_64/stable x86_64 stable … flathub … … 1.0.0 … no.mifi.losslesscut/x86_64/stable x86_64 stable … flathub … … 3.44.0 … org.freedesktop.Platform/x86_64/20.08 x86_64 20.08 … flathub … … 20.08.18 … org.freedesktop.Platform/x86_64/20.08 x86_64 20.08 … flathub … … 20.08.18 … org.freedesktop.Platform/x86_64/21.08 x86_64 21.08 … flathub … … 21.08.11 … org.freedesktop.Platform.Compat.i386/x86_64/20.08 x86_64 20.08 flathub … … … org.freedesktop.Platform.GL.default/x86_64/20.08 x86_64 20.08 … flathub … … 21.1.8 … org.freedesktop.Platform.GL.default/x86_64/20.08 x86_64 20.08 … flathub … … 21.1.8 … org.freedesktop.Platform.GL.default/x86_64/21.08 x86_64 21.08 … flathub … … 21.3.6 … org.freedesktop.Platform.GL.default/x86_64/21.08 x86_64 21.08 … flathub … … 21.3.6 … org.freedesktop.Platform.GL32.default/x86_64/20.08 x86_64 20.08 flathub … … … org.freedesktop.Platform.ffmpeg-full/x86_64/21.08 x86_64 21.08 flathub … … … org.freedesktop.Platform.html5-codecs/x86_64/18.08 x86_64 18.08 flathub … … … org.freedesktop.Platform.openh264/x86_64/2.0 x86_64 2.0 … flathub … … 2.1.0 … org.freedesktop.Platform.openh264/x86_64/2.0 x86_64 2.0 … flathub … … 2.1.0 … org.gnome.Epiphany/x86_64/stable x86_64 stable … flathub … … 41.3 … org.gnome.Platform/x86_64/40 x86_64 40 … flathub … … … org.gnome.Platform/x86_64/41 x86_64 41 … flathub … … … org.gtk.Gtk3theme.Mint-Y/x86_64/3.22 x86_64 3.22 … flathub … … … org.gtk.Gtk3theme.Mint-Y/x86_64/3.22 x86_64 3.22 … flathub … … … org.gtk.Gtk3theme.Mint-Y-Dark-Purple/x86_64/3.22 x86_64 3.22 … flathub … … … org.jdownloader.JDownloader/x86_64/stable x86_64 stable … flathub … … 2.0 … org.kde.Platform/x86_64/5.12 x86_64 5.12 … flathub … … … org.kde.Platform/x86_64/5.15 x86_64 5.15 … flathub … … … org.kde.Platform/x86_64/5.15-21.08 x86_64 5.15-21.08 … flathub … … … org.kde.Platform/x86_64/5.15-21.08 x86_64 5.15-21.08 … flathub … … … org.kde.falkon/x86_64/master x86_64 master … kdeapps … … … org.kde.subtitlecomposer/x86_64/stable x86_64 stable … flathub … … 0.7.1 … org.netsurf_browser.NetSurf/x86_64/stable x86_64 stable … flathub … … 3.10 … org.phoenicis.playonlinux/x86_64/stable x86_64 stable … flathub … … 5.0-alpha-3 … org.qbittorrent.qBittorrent/x86_64/stable x86_64 stable … flathub … … 4.4.1 … org.qutebrowser.qutebrowser/x86_64/stable x86_64 stable … flathub … … 2.4.0

image

Templayer commented 2 years ago

I've also tried to apply the current user language and encoding to everything via mintlocale, I'm going to restart and check out the result. If there's any.

EDIT: There wasn't any change.

vinifmor commented 2 years ago

Try setting executing the update command like this LANG='' flatpak update and paste the output here, please.

Templayer commented 2 years ago

jboksa1@JB-PC:~$ LANG='' flatpak update Looking for updates? Info: org.freedesktop.Platform.html5-codecs//18.08 is end-of-life, with reason: 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. Nothing to do.

Tried the column thingie:

jboksa1@JB-PC:~$ LANG='' flatpak list --columns=application,ref,arch,branch,description,origin,options,name,version ? Ref Arch Branch ? Origin ? ? Version ? com.github.Eloston.UngoogledChromium/x86_64/stable x86_64 stable ? flathub ? ? 99.0.4844.51 ? com.github.Eloston.UngoogledChromium.Codecs/x86_64/stable x86_64 stable flathub ? ? ? com.github.micahflee.torbrowser-launcher/x86_64/stable x86_64 stable ? flathub ? ? 0.3.5 ? com.gitlab.davem.ClamTk/x86_64/stable x86_64 stable ? flathub ? ? 6.13 ? com.notepadqq.Notepadqq/x86_64/stable x86_64 stable ? flathub ? ? 1.4.8 ? fr.handbrake.ghb/x86_64/stable x86_64 stable ? flathub ? ? 1.5.1 ? io.github.peazip.PeaZip/x86_64/stable x86_64 stable ? flathub ? ? 8.5.0 ? io.github.peazip.PeaZip.Addon.i386/x86_64/stable x86_64 stable ? flathub ? ? 1.0.0 ? no.mifi.losslesscut/x86_64/stable x86_64 stable ? flathub ? ? 3.44.0 ... and a bunch more.

image

vinifmor commented 2 years ago

Ok.. I'm going to dig the Flatpak docs to see if I can fix this issue related to LANG/encoding.

Templayer commented 2 years ago

Got another stuck locale today.

image

vinifmor commented 2 years ago

For now I suggest you update these locales though the command line while the fix is not available

Templayer commented 2 years ago

Ok, I just wanted to let you know that I now have duplicated the issue and that a potential fix or some form of information gathering might be applied to that.

EDIT: I just wanted to say that if the "Got another stuck locale today." sounded bad in some way, it wasn't meant to - I appreciate you looking into the issue. :)

vinifmor commented 2 years ago

@Templayer , no worries. The fix will be available in the next minor release.

Templayer commented 2 years ago

@vinifmor Nice! What was the cause, if I may ask?

vinifmor commented 2 years ago

I'm still figuring out the best solution.

vinifmor commented 2 years ago

I've pushed a "escape valve" while the final solution is not available: its is a custom Flatpak action to fully update all apps and components. If you want to give it a shot,: https://github.com/vinifmor/bauh/archive/6c8adfe1edbc243390c2491dcef125885f84a5f5.tar.gz

Templayer commented 2 years ago

I cannot test that right now as I do not have Locales stuck in update hell.

I'll try to remember for the next time they pop up.

But first, I'll try to update them normally. Because if the versions are string compared or something... then this - https://github.com/vinifmor/bauh/issues/242 - might have been the cause. Maybe. I didn't take a look at the code yet. Too lazy for that. :D

vinifmor commented 2 years ago

@Templayer, I'm going to close this issue for now. I couldn't reproduce anymore (it might be related to the encoding already solved as you said). If it happens again, please, reopen the issue.

Templayer commented 2 years ago

Got stuck Locales again:

image

I've tried relaunching, but they are still there. I'll try to update... nope, still there. Here's the original log:

flatpak update -y org.kde.Platform.Locale/x86_64/5.15 --user --no-related --no-deps

Vyhledávají se aktualizace… Informace: org.kde.Platform.Locale//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 u flathub < 341,5 MB (částečný) Aktualizace… Aktualizace… 0% 0 bajtů/s Aktualizace… ████████████████████ 100% Aktualizace dokončeny. flatpak update -y org.kde.Platform/x86_64/5.15 --user --no-related --no-deps

Vyhledávají se aktualizace… 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 5.15 u flathub < 372,2 MB Aktualizace… Aktualizace… 0% 0 bajtů/s Aktualizace… ███ 15% Aktualizace… ███████▌ 38% Aktualizace… ██████████▏ 51% Aktualizace… ████████████▌ 63% 1,9 MB/s Aktualizace… ████████████████▍ 82% 2,5 MB/s Aktualizace… ███████████████████▊ 99% 3,0 MB/s Aktualizace… ████████████████████ 100% 1,5 MB/s Aktualizace dokončeny. flatpak update -y org.kde.Platform.Locale/x86_64/5.15 --user --no-related --no-deps

Vyhledávají se aktualizace… Informace: org.kde.Platform.Locale//5.15 je end-of-life, z důvodu: We strongly recommend moving to the latest stable version of the Plaform and SDK Není co dělat. flatpak update -y org.kde.Platform/x86_64/5.15-21.08 --user --no-related --no-deps

Vyhledávají se aktualizace…

  1. org.kde.Platform 5.15-21.08 u flathub < 305,5 MB Aktualizace… Aktualizace… 0% 0 bajtů/s Aktualizace… ██ 10% Aktualizace… █████▊ 29% Aktualizace… ██████████ 50% Aktualizace… █████████████▏ 66% 2,1 MB/s Aktualizace… ██████████████████▏ 91% 3,0 MB/s Aktualizace… ████████████████████ 100% 3,4 MB/s Aktualizace… ████████████████████ 100% 1,7 MB/s Aktualizace dokončeny. flatpak update -y org.qutebrowser.qutebrowser/x86_64/stable --user --no-related --no-deps

Vyhledávají se aktualizace…

  1. org.qutebrowser.qutebrowser stable u flathub < 126,5 MB Aktualizace… Aktualizace… 0% 0 bajtů/s Aktualizace… █▌ 8% Aktualizace… █▌ 8% Aktualizace… █▊ 9% Aktualizace… ██ 10% 3,7 MB/s Aktualizace… ██▏ 11% 4,3 MB/s Aktualizace… ██▏ 11% 4,9 MB/s Aktualizace… ██▏ 11% 2,8 MB/s Aktualizace… ██▍ 12% 3,3 MB/s Aktualizace… ██▌ 13% 3,6 MB/s Aktualizace… ██▌ 13% 2,6 MB/s Aktualizace… ██▌ 13% 2,7 MB/s Aktualizace… ██▊ 14% 3,0 MB/s Aktualizace… ██▊ 14% 3,3 MB/s Aktualizace… ███ 15% 2,6 MB/s 00:22 Aktualizace… ███ 15% 2,8 MB/s 00:22 Aktualizace… ███▏ 16% 3,0 MB/s 00:21 Aktualizace… ███▍ 17% 2,6 MB/s 00:24 Aktualizace… ███▍ 17% 2,8 MB/s 00:24 Aktualizace… ███▌ 18% 3,0 MB/s 00:22 Aktualizace… ███▊ 19% 2,7 MB/s 00:25 Aktualizace… ████ 20% 2,9 MB/s 00:24 Aktualizace… ████ 20% 3,0 MB/s 00:24 Aktualizace… ████▏ 21% 3,1 MB/s 00:22 Aktualizace… ████▍ 22% 2,9 MB/s 00:24 Aktualizace… ████▍ 22% 3,0 MB/s 00:24 Aktualizace… ████▌ 23% 3,1 MB/s 00:23 Aktualizace… ████▊ 24% 2,9 MB/s 00:25 Aktualizace… ████▊ 24% 3,0 MB/s 00:25 Aktualizace… █████ 25% 3,0 MB/s 00:24 Aktualizace… █████ 25% 2,7 MB/s 00:27 Aktualizace… █████ 25% 2,8 MB/s 00:27 Aktualizace… █████▏ 26% 2,8 MB/s 00:25 Aktualizace… █████▏ 26% 2,9 MB/s 00:25 Aktualizace… █████▏ 26% 2,6 MB/s 00:28 Aktualizace… █████▏ 26% 2,7 MB/s 00:28 Aktualizace… █████▍ 27% 2,7 MB/s 00:27 Aktualizace… █████▍ 27% 2,5 MB/s 00:29 Aktualizace… █████▍ 27% 2,5 MB/s 00:29 Aktualizace… █████▌ 28% 2,6 MB/s 00:28 Aktualizace… █████▌ 28% 2,5 MB/s 00:30 Aktualizace… █████▊ 29% 2,5 MB/s 00:29 Aktualizace… ██████ 30% 2,7 MB/s 00:28 Aktualizace… ██████▏ 31% 2,8 MB/s 00:26 Aktualizace… ██████▍ 32% 2,6 MB/s 00:27 Aktualizace… ██████▍ 32% 2,7 MB/s 00:27 Aktualizace… ██████▌ 33% 2,8 MB/s 00:26 Aktualizace… ██████▌ 33% 2,6 MB/s 00:28 Aktualizace… ██████▊ 34% 2,7 MB/s 00:27 Aktualizace… ██████▊ 34% 2,7 MB/s 00:27 Aktualizace… ███████ 35% 2,5 MB/s 00:27 Aktualizace… ███████ 35% 2,6 MB/s 00:27 Aktualizace… ███████▏ 36% 2,7 MB/s 00:26 Aktualizace… ███████▏ 36% 2,7 MB/s 00:26 Aktualizace… ███████▍ 37% 2,6 MB/s 00:27 Aktualizace… ███████▌ 38% 2,7 MB/s 00:26 Aktualizace… ███████▊ 39% 2,8 MB/s 00:25 Aktualizace… ████████ 40% 2,7 MB/s 00:25 Aktualizace… ████████▏ 41% 2,8 MB/s 00:24 Aktualizace… ████████▍ 42% 2,9 MB/s 00:23 Aktualizace… ████████▌ 43% 2,8 MB/s 00:23 Aktualizace… ████████▊ 44% 2,9 MB/s 00:22 Aktualizace… ████████▊ 44% 2,9 MB/s 00:22 Aktualizace… █████████ 45% 2,9 MB/s 00:22 Aktualizace… █████████▏ 46% 2,8 MB/s 00:22 Aktualizace… █████████▏ 46% 2,9 MB/s 00:22 Aktualizace… █████████▏ 46% 2,9 MB/s 00:22 Aktualizace… ████████████████████ 100% 2,7 MB/s 00:00 Varování: Not exporting file org.qutebrowser.qutebrowser.appdata.xml of unsupported type. Aktualizace dokončeny. sudo -S aptitude upgrade -q -y --no-gui --full-resolver vivaldi-stable -o Aptitude::ProblemResolver::RemoveScore=9999999 -o Aptitude::ProblemResolver::EssentialRemoveScore=9999999

Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... The following packages will be upgraded: vivaldi-stable 1 packages upgraded, 0 newly installed, 0 to remove and 10 not upgraded. Need to get 87,8 MB of archives. After unpacking 1 151 kB will be used. Writing extended state information... Get: 1 http://repo.vivaldi.com/stable/deb stable/main amd64 vivaldi-stable amd64 5.2.2623.24-1 [87,8 MB] Fetched 87,8 MB in 33s (2???685 kB/s) debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 417576 files and directories currently installed.) Preparing to unpack .../vivaldi-stable_5.2.2623.24-1_amd64.deb ... Unpacking vivaldi-stable (5.2.2623.24-1) over (5.1.2567.73-1) ... Setting up vivaldi-stable (5.2.2623.24-1) ... Processing triggers for mime-support (3.64ubuntu1) ... Processing triggers for gnome-menus (3.36.0-1ubuntu1) ... Processing triggers for desktop-file-utils (0.24+linuxmint1) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database...

Upgrade summary generated at: /tmp/bauh@jboksa1/logs/upgrade/upgrade_202246_1649226910_summary.txt Upgrade logs generated at: /tmp/bauh@jboksa1/logs/upgrade/upgrade_202246_1649226910.log

After trying to update the locales again:

image

flatpak update -y org.kde.Platform.Locale/x86_64/5.15-21.08 --user --no-related --no-deps

Vyhledávají se aktualizace…

  1. org.kde.Platform.Locale 5.15-21.08 u flathub < 345,2 MB (částečný) Aktualizace… Aktualizace… 0% 0 bajtů/s Aktualizace… ████████████████████ 100% Aktualizace dokončeny. flatpak update -y org.qutebrowser.qutebrowser.Locale/x86_64/stable --user --no-related --no-deps

Vyhledávají se aktualizace…

  1. org.qutebrowser.qutebrowser.Locale stable u flathub < 55,4 MB (částečný) Aktualizace… Aktualizace… 0% 0 bajtů/s Aktualizace… ████████████████████ 100% Aktualizace dokončeny.

And now it is gone. Weird.

Maybe it is because it tried to install the locale packages before the main packages? From what I can see in the log? So it didn't quite work until the locales were updated again AFTER the main packages were installed?

vinifmor commented 2 years ago

I have to test this scenario to confirm. Thanks for sharing it.