Bug 27126 - Flatpak package is outdated
Summary: Flatpak package is outdated
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: High critical
Target Milestone: Mageia 7
Assignee: Neal Gompa
QA Contact:
URL:
Whiteboard: Cauldron updated OK
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-17 19:53 CEST by Jose Manuel López
Modified: 2020-09-19 22:52 CEST (History)
4 users (show)

See Also:
Source RPM: flatpak-1.4.1-1.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Jose Manuel López 2020-08-17 19:53:30 CEST
Description of problem: The Mageia Flatpak version is outdated, the current version in Mageia is 1.4.1 and the last version is 1.8.1. There are some applications that don't works fine, and I reported these bugs in respective sites. They have asked me wich flatpak version and operative system I have. When I have seen the flatpak version of Mageia, I have asked me..Could be that bugs be it by this version outdated?

Version-Release number of selected component (if applicable): Mageia 7.1 and Flatpak 1.4.1


How reproducible: Install Flatpak and check the version


Steps to Reproduce:
1. Install flatpak and check the version.
2. The current version in Mageia is 1.4.1
3. The version in official github site is 1.8.1
Comment 1 Lewis Smith 2020-08-17 20:50:13 CEST
Thank you for the comment. You suspect that problems you are having with Flatpak might be due to our version being out of date.

It looks as if it applies also to Cauldron, so changing the Version accordingly.
 flatpak-1.4.1-1.mga7.src.rpm
 flatpak-1.6.2-1.mga8.src.rpm

Assigning to Neal, the package maintainer.

Source RPM: Flatpak => flatpak-1.4.1-1.mga7.src.rpm, flatpak-1.6.2-1.mga8.src.rpm
Version: 7 => Cauldron
Whiteboard: (none) => MGA7TOO
Assignee: bugsquad => ngompa13

Comment 2 Olav Vitters 2020-08-18 10:04:12 CEST
Neal: I forgot to check who owns it. I'm updating it to 1.8.1 in Cauldron. There's a few new BuildRequires.

CC: (none) => olav

Comment 3 Neal Gompa 2020-08-18 10:09:59 CEST
That's fine, Olav, but make sure you rebuild GNOME Software and Plasma Discover with the new libflatpak afterward, because despite the "stable" ABI for libflatpak, they tend to randomly crash and fail in odd ways if they aren't rebuilt against new libflatpak. This rule basically only matters when doing minor version upgrades, as patch versions are usually safe.
Comment 4 Neal Gompa 2020-08-18 10:10:35 CEST
Oh, and all the portals need to be updated too, since they closely track the interfaces and behaviors of flatpak itself.
Comment 5 Olav Vitters 2020-08-18 11:16:41 CEST
The KDE portal and Discover package has warnings not to rebuild it. Seems a bit silly, but I'm going to send a message to dev about that.
Comment 6 Nicolas Lécureuil 2020-08-18 11:22:22 CEST
please go ahead with this change :-)

CC: (none) => mageia

Comment 7 Olav Vitters 2020-08-18 11:31:37 CEST
Thanks! Also, sorry for being a bit harsh here about the instructions. When I linked to the bug I forgot how I wrote that.
Comment 8 Jose Manuel López 2020-08-21 12:06:47 CEST
Hi!

Since Mageia 8 Beta 1, I have installed Discover and flatpak 1.8.1. I can confirm from here, that the problem I had with the applications: Spotify, Deltachat and Element, has been solved and now they work perfectly.

So the bugs it reported are due to flatpak and its dependencies outdated I guess.
Comment 9 Jose Manuel López 2020-08-21 12:07:22 CEST
But if you want to use these applications or others without errors in Mageia 7 you will have to update it.
Comment 10 Morgan Leijström 2020-08-21 12:57:09 CEST
Related: do not forget
Bug 25978 - Package flatpak-tests require flatpak-libs which does not exist

CC: (none) => fri

Comment 11 Jose Manuel López 2020-08-24 11:41:04 CEST
But, In Mageia 7 I haven't have problems with the flatpak instalation.

The problem is that some applications no works fine because the flatpack version is outdated. I can confirm this, because in Mga8 I haven't this bug installing the same applications.
Comment 12 Aurelien Oudelet 2020-08-24 11:49:30 CEST
@Jose,
Have you done

$ flatpak update

in order to update all Frameworks ?


I haven't seen any error with Mageia 8b1.
I haven't mga7 installed on any PC.
Comment 13 Jose Manuel López 2020-08-27 16:46:14 CEST
I have tried this, appears in konsole:

[jose@localhost ~]$ flatpak update
Looking for updates…
GLib-GIO-Message: 16:36:37.895: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
Nothing to do.
[jose@localhost ~]$

The apps Spotify and Element has been installed with discover and in Mageia 7 don't works.

The same apps in Mageia 8 works fine installed from discover.
Comment 14 Aurelien Oudelet 2020-08-27 17:02:21 CEST
And doing flatpak update as root too?

Source RPM: flatpak-1.4.1-1.mga7.src.rpm, flatpak-1.6.2-1.mga8.src.rpm => flatpak-1.4.1-1.mga7.src.rpm

Comment 15 Olav Vitters 2020-08-27 18:07:45 CEST
(In reply to Jose Manuel López from comment #13)
> I have tried this, appears in konsole:
> 
> [jose@localhost ~]$ flatpak update
> Looking for updates…
> GLib-GIO-Message: 16:36:37.895: Using the 'memory' GSettings backend.  Your
> settings will not be saved or shared with other applications.

This message is odd. I'd expect dconf to be installed and working. Not sure if it's logical due to Flatpak. Normally it would causing all kinds of issues.
Comment 16 Morgan Leijström 2020-08-27 22:19:15 CEST
It updates here om a mga7, updated including updates testing repos.

[morgan@svarten ~]$ flatpak update
Looking for updates…


        ID                                              Arch         Gren        Remote         Hämta
 1. [✓] org.freedesktop.Platform                        x86_64       19.08       flathub          9,6 MB / 238,5 MB
 2. [✓] org.freedesktop.Platform.Locale                 x86_64       19.08       flathub         16,6 kB / 318,3 MB
 3. [✓] org.signal.Signal                               x86_64       stable      flathub        105,7 MB / 134,9 MB
 4. [✓] org.kde.Platform                                x86_64       5.14        flathub         53,4 MB / 362,5 MB
 5. [✓] org.freedesktop.Platform.GL.default             x86_64       19.08       flathub         23,2 MB / 89,1 MB
 6. [✓] org.freedesktop.Platform.GL.nvidia-430-64       x86_64       1.4         flathub         71,3 MB / 71,8 MB
 7. [✓] org.kde.Platform.Locale                         x86_64       5.14        flathub        255,7 kB / 337,6 MB
 8. [✓] org.qelectrotech.QElectroTech                   x86_64       master      qet-devel        5,2 MB / 16,5 MB

Updates complete.
Info: org.gnome.Platform is end-of-life, with reason: The GNOME 3.32 runtime is no longer supported as of 11th March 2020. Please ask your application developer to migrate to a supported platform.
Info: org.gnome.Platform.Locale is end-of-life, with reason: The GNOME 3.32 runtime is no longer supported as of 11th March 2020. Please ask your application developer to migrate to a supported platform.


        ID                                          Arch           Gren          Remote         Hämta
 1. [✓] org.gnome.Platform                          x86_64         3.36          flathub        40,5 MB / 324,5 MB
 2. [✓] org.gnome.Platform.Locale                   x86_64         3.36          flathub        88,0 kB / 323,0 MB
 3. [✓] org.freedesktop.Platform.GL.default         x86_64         19.08         flathub        23,2 MB / 89,1 MB

Updates complete.


Gotta go now. Will try Spotify later.
Comment 17 Morgan Leijström 2020-08-27 23:50:24 CEST
Installed spotify: seem to launch OK but silently (in double meaning ;) ) fail to play music.
In termimnal from where i launched it: 
/app/extra/share/spotify/spotify: /app/lib/libcurl-gnutls.so.4: no version information available (required by /app/extra/share/spotify/spotify)
/proc/self/exe: /app/lib/libcurl-gnutls.so.4: no version information available (required by /proc/self/exe)
Comment 18 Jose Manuel López 2020-09-01 11:27:59 CEST
I have already tried to do everything that is mentioned and the applications do not work in Mageia 7 and the current version of flatpak.
Comment 19 Aurelien Oudelet 2020-09-07 16:02:57 CEST
Same conclusion.

Flatpak is broken in Mageia 7. Mageia 8 Cauldron is OK! therefore.

This is same output trying launch Spotify in Mageia 7 (Install is ok).

/app/extra/bin/spotify: /app/lib/libcurl-gnutls.so.4: no version information available (required by /app/extra/bin/spotify)
Gtk-Message: 15:55:39.885: Failed to load module "canberra-gtk-module"
/app/extra/share/spotify/spotify: /app/lib/libcurl-gnutls.so.4: no version information available (required by /app/extra/share/spotify/spotify)
/proc/self/exe: /app/lib/libcurl-gnutls.so.4: no version information available (required by /proc/self/exe)
/proc/self/exe: /app/lib/libcurl-gnutls.so.4: no version information available (required by /proc/self/exe)

Seems there are outdated files. Flatpak 1.8 in M8 is OK. So please update or backport it for our users in M7.

Version: Cauldron => 7
Whiteboard: MGA7TOO => Cauldron updated OK
Target Milestone: --- => Mageia 7
Severity: normal => critical
Priority: Normal => High

Comment 20 Aurelien Oudelet 2020-09-07 16:07:03 CEST
Flatpak version of Spotify seems to not have access to Internet.
It complains about Firewall blocking network or bad proxy settings.

But even deactivate shorewall, it has no Internet access.
Therefore, seems there is a bad permission issue, that should be resolved by updating flatpak.
Comment 21 Dave Hodgins 2020-09-07 17:01:14 CEST
Note that to open the firewall, the command to use is "shorewall clear", not
stopping shorewall.

CC: (none) => davidwhodgins

Comment 22 Aurelien Oudelet 2020-09-07 17:11:07 CEST
Yeah Dave,
I already did that way before stopping shorewall.

It seems flatpak app can't have internet access, like if they don't have permission / right to do so.
Morgan Leijström 2020-09-18 18:48:16 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=25544

Comment 23 Aurelien Oudelet 2020-09-19 18:09:12 CEST
Hi,
This is High priority bug for a good reason.

Making Mageia even better than ever is best direction.
In order to do right thing, this bug should be examined and fixed as soon as possible.

Packagers, please make the status to Assigned when you are working on this.
Feel free to reassign the bug if bad-triaged. Also, if bug is old, please close it.

On October 1st 2020, we will drop priority to normal.
Comment 24 Jose Manuel López 2020-09-19 22:52:30 CEST
In Mageia 8 it works properly, it will be necessary to evaluate whether it is corrected for Mageia 7 or already waited for it to leave the Mageia 8 cauldron.

Note You need to log in before you can comment on or make changes to this bug.