Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The org.freedesktop.Platform.GL.default runtime is both unused and installed by default #3004

Closed
LaurentBonnaud opened this issue Jul 5, 2019 · 6 comments
Labels

Comments

@LaurentBonnaud
Copy link

Linux distribution and version

Ubuntu 19.04 (disco)

Flatpak version

1.4.2-flatpak1~cosmic
(the flatpak PPA does not provide a build for Ubuntu disco)

Description of the problem

flatpak uninstall --unused proposes to remove org.freedesktop.Platform.GL.default and flatpak update reinstalls it.

Steps to reproduce

$ flatpak uninstall --unused
        ID                                            Arch             Branch
 1.     org.freedesktop.Platform.GL.default           x86_64           19.08beta
Proceed with these changes to the Default system installation? [Y/n]: 
$ flatpak update
Looking for updates…
        ID                                       Arch        Branch        Remote            Download
 1. [✓] org.freedesktop.Platform.GL.default      x86_64      19.08beta     gnome-nightly     1.0 kB / 40.3 MB
Installation complete.
@LaurentBonnaud
Copy link
Author

LaurentBonnaud commented Jul 5, 2019

Here is a list of flatpaks installed on my system:

> $ flatpak list
> Name                       Application ID             Version           Branch    Origin             Installation
> Discord                    com.discordapp.Discord     0.0.9             stable    flathub            system
> Photo Editor               com.endlessm.photos        1.0.2             stable    flathub            system
> Teleport                   com.frac_tion.teleport     0.0.1             stable    flathub            system
> Authenticator              …elmoussaoui.Authenticator 3.32.1            stable    flathub            system
> Foliate                    …thub.johnfactotum.Foliate 1.3.1             stable    flathub            system
> Quaternion                 com.github.quaternion      0.0.9.4           stable    flathub            system
> Android Studio             com.google.AndroidStudio   3.4.1.0           stable    flathub            system
> VidCutter                  com.ozmartians.VidCutter   6.0.0.4           stable    flathub            system
> Skype                      com.skype.Client           8.45.0.41         stable    flathub            system
> Visual Studio Code         com.visualstudio.code      1.36.0            stable    flathub            system
> Riot                       im.riot.Riot               1.2.2             stable    flathub            system
> Atom                       io.atom.Atom               1.38.2            stable    flathub            system
> GNOME MPV                  io.github.GnomeMpv         0.16              stable    flathub            system
> Neovim                     io.neovim.nvim             0.3.5             stable    flathub            system
> Numpty Physics             io.thp.numptyphysics       0.3.4             stable    flathub            system
> Jami                       net.jami.Jami                                stable    flathub            system
> Scribus                    net.scribus.Scribus                          stable    flathub            system
> Luminance HDR              …rge.qtpfsgui.LuminanceHDR 2.6.0             stable    flathub            system
> Bluefish                   nl.openoffice.bluefish                       stable    flathub            system
> NetBeans                   org.apache.netbeans        11.0              stable    flathub            system
> Blender                    org.blender.Blender        2.79b             stable    flathub            system
> darktable                  org.darktable.Darktable                      stable    flathub            system
> Platform                   org.fedoraproject.Platform                   f30       fedora             system
> Builder                    org.flatpak.Builder                          stable    flathub            system
> Freedesktop.org Applicati… org.freedesktop.Platform   1.6               1.6       flathub            system
> Freedesktop Platform       org.freedesktop.Platform   18.08.32          18.08     flathub            system
> default                    …sktop.Platform.GL.default                   19.08beta gnome-nightly      system
> Intel VAAPI Driver         …ktop.Platform.VAAPI.Intel                   1.6       flathub            system
> Intel                      …ktop.Platform.VAAPI.Intel                   18.08     flathub            system
> Intel                      …ktop.Platform.VAAPI.Intel                   19.08beta gnome-nightly      system
> FFmpeg extension           …eedesktop.Platform.ffmpeg                   1.6       flathub            system
> ffmpeg-html5               …top.Platform.ffmpeg-html5                   19.08beta gnome-nightly      system
> html5-codecs               …top.Platform.html5-codecs                   18.08     flathub            system
> Freedesktop.org Software … org.freedesktop.Sdk        1.6               1.6       flathub            system
> Freedesktop SDK            org.freedesktop.Sdk        18.08.32          18.08     flathub            system
> Geany                      org.geany.Geany            1.35              stable    flathub            system
> GeoGebra                   org.geogebra.GeoGebra      6.0.546.0         stable    flathub            system
> GNU Image Manipulation Pr… org.gimp.GIMP              2.10.12           stable    flathub            system
> Books                      org.gnome.Books                              master    gnome-nightly-apps system
> GNOME Calculator           org.gnome.Calculator       3.33.3            master    gnome-nightly-apps system
> Calendar                   org.gnome.Calendar         3.32.0            master    gnome-nightly-apps system
> Eolie                      org.gnome.Eolie            0.9.60            stable    flathub            system
> Evince                     org.gnome.Evince                             master    gnome-nightly-apps system
> Evince                     org.gnome.Evince                             stable    flathub            system
> Fractal                    org.gnome.Fractal          4.0.0             stable    flathub            system
> Geary                      org.gnome.Geary            3.32.1            stable    flathub            system
> Glade                      org.gnome.Glade            3.22.0            master    gnome-nightly-apps system
> Lollypop                   org.gnome.Lollypop         1.1.3             stable    flathub            system
> GNOME Maps                 org.gnome.Maps                               stable    flathub            system
> News                       org.gnome.News                               master    gnome-nightly-apps system
> Photos                     org.gnome.Photos           3.32.0            master    gnome-nightly-apps system
> Photos                     org.gnome.Photos           3.32.0            stable    flathub            system
> GNOME Application Platfor… org.gnome.Platform                           3.28      flathub            system
> GNOME Application Platfor… org.gnome.Platform                           3.30      flathub            system
> GNOME Application Platfor… org.gnome.Platform                           3.32      flathub            system
> GNOME Application Platfor… org.gnome.Platform                           master    gnome-nightly      system
> Rhythmbox                  org.gnome.Rhythmbox3                         master    gnome-nightly-apps system
> GNOME Software Developmen… org.gnome.Sdk                                3.30      flathub            system
> GNOME Software Developmen… org.gnome.Sdk                                3.32      flathub            system
> GNOME Software Developmen… org.gnome.Sdk                                master    gnome-nightly      system
> Docs                       org.gnome.Sdk.Docs                           3.30      flathub            system
> GNOME Software             org.gnome.Software.XdgApp  3.31.90           master    gnome-nightly-apps system
> Sound Recorder             org.gnome.SoundRecorder    3.32.1            stable    flathub            system
> Weather                    org.gnome.Weather          3.32.2            stable    flathub            system
> Eye of GNOME               org.gnome.eog                                master    gnome-nightly-apps system
> Eye of GNOME               org.gnome.eog                                stable    flathub            system
> GNOME Fonts                org.gnome.font-viewer      3.32.0            stable    flathub            system
> frogr                      org.gnome.frogr                              master    gnome-nightly-apps system
> gedit                      org.gnome.gedit            3.32.0            master    gnome-nightly-apps system
> gedit                      org.gnome.gedit                              stable    flathub            system
> GNU Emacs                  org.gnu.emacs              26.2              stable    flathub            system
> Arc-Darker Gtk theme       ….gtk.Gtk3theme.Arc-Darker                   3.22      flathub            system
> Inkscape                   org.inkscape.Inkscape      0.92.4            stable    flathub            system
> Adwaita theme              org.kde.KStyle.Adwaita                       5.12      flathub            system
> KDE Application Platform   org.kde.Platform                             5.12      flathub            system
> KDE Software Development … org.kde.Sdk                                  5.12      flathub            system
> Gemini                     org.kde.calligragemini                       master    kdeapps            system
> Plan                       org.kde.calligraplan                         master    kdeapps            system
> digiKam                    org.kde.digikam                              master    kdeapps            system
> Dolphin                    org.kde.dolphin                              stable    flathub            system
> Elisa                      org.kde.elisa              0.4.2             stable    flathub            system
> Falkon                     org.kde.falkon                               master    kdeapps            system
> Kamoso                     org.kde.kamoso                               master    kdeapps            system
> Kdenlive                   org.kde.kdenlive           19.07.70          master    kdeapps            system
> Kdenlive                   org.kde.kdenlive           19.04.2           stable    flathub            system
> KDiff3                     org.kde.kdiff3                               master    kdeapps            system
> Konsole                    org.kde.konsole                              master    kdeapps            system
> Krita                      org.kde.krita              4.0.0.51 (beta 1) master    kdeapps            system
> Krita                      org.kde.krita              4.2.2.0           stable    flathub            system
> KTorrent                   org.kde.ktorrent                             master    kdeapps            system
> Marble                     org.kde.marble                               master    kdeapps            system
> Okular                     org.kde.okular                               master    kdeapps            system
> Okular                     org.kde.okular                               stable    flathub            system
> Trojitá                    org.kde.trojita                              master    kdeapps            system
> KeePassXC                  org.keepassxc.KeePassXC    2.4.3             stable    flathub            system
> LibreOffice                …g.libreoffice.LibreOffice 6.2.4.2           stable    flathub            system
> Firefox                    org.mozilla.Firefox                          stable    fedora             system
> Thunderbird                org.mozilla.Thunderbird                      stable    fedora             system
> Nextcloud                  org.nextcloud.Nextcloud                      stable    flathub            system
> GNU Octave                 org.octave.Octave          5.1.0             stable    flathub            system
> OpenShot Video Editor      org.openshot.OpenShot      2.4.4             stable    flathub            system
> Pitivi                     org.pitivi.Pitivi          0.999             stable    flathub            system
> Codecs                     org.pitivi.Pitivi.Codecs                     stable    flathub            system
> Remmina                    org.remmina.Remmina                          stable    flathub            system
> Shotcut                    org.shotcut.Shotcut        19.06.15          stable    flathub            system
> Signal                     org.signal.Signal          1.25.3            stable    flathub            system
> Telegram Desktop           org.telegram.desktop       1.7.9             stable    flathub            system
> VLC                        org.videolan.VLC           3.0.7.1           stable    flathub            system

@TingPing
Copy link
Member

TingPing commented Jul 5, 2019

I imagine gnome master is pulling it in. And while technically nvidia users aren't using it everybody else is so it is always installed.

Though I suppose flatpak can grow some rules to avoid installing it for nvidia users its probably harmless.

flatpak uninstall --unused proposes to remove org.freedesktop.Platform.GL.default

That sounds like a bug though.

@mwleeds mwleeds added the bug label Jul 10, 2019
@nanonyme
Copy link
Contributor

Right, the Gnome master thing is probably related to the fact that Gnome master recently changed to use freedesktop-sdk 19.08beta as base runtime to squish bugs before release freeze. I'm assuming if you have Steam beta or Lutris beta installed (those are the only apps I know that use 19.08beta), this bug does not trigger.

@valentindavid
Copy link
Contributor

Now that 19.08 has been released, we will see this bug occurring more often.

alexlarsson added a commit that referenced this issue Sep 10, 2019
We were only handling the old single-value 'version' key, even though
we handled the 'versions' key when finding remote related refs.

The result of this was that some extensions, such as the 19.08 opengl
default one was installed by default (as it was found as remote related)
yet still removed with --unused (as it was not locally related).

Fixes #3004
@LaurentBonnaud
Copy link
Author

Thank you for the fix!

@nanonyme
Copy link
Contributor

Will this be backported to 1.4?

alexlarsson added a commit to alexlarsson/flatpak that referenced this issue Sep 18, 2019
We were only handling the old single-value 'version' key, even though
we handled the 'versions' key when finding remote related refs.

The result of this was that some extensions, such as the 19.08 opengl
default one was installed by default (as it was found as remote related)
yet still removed with --unused (as it was not locally related).

Fixes flatpak#3004

Closes: flatpak#3093
Approved by: mwleed

(manually cherry-picked from commit e4b1d16)
rh-atomic-bot pushed a commit that referenced this issue Sep 18, 2019
We were only handling the old single-value 'version' key, even though
we handled the 'versions' key when finding remote related refs.

The result of this was that some extensions, such as the 19.08 opengl
default one was installed by default (as it was found as remote related)
yet still removed with --unused (as it was not locally related).

Fixes #3004

Closes: #3093
Approved by: mwleed

(manually cherry-picked from commit e4b1d16)

Closes: #3111
Approved by: alexlarsson
alexlarsson added a commit that referenced this issue Sep 18, 2019
We were only handling the old single-value 'version' key, even though
we handled the 'versions' key when finding remote related refs.

The result of this was that some extensions, such as the 19.08 opengl
default one was installed by default (as it was found as remote related)
yet still removed with --unused (as it was not locally related).

Fixes #3004

Closes: #3093
Approved by: mwleed

(manually cherry-picked from commit e4b1d16)
alexlarsson added a commit to alexlarsson/flatpak that referenced this issue Sep 19, 2019
We were only handling the old single-value 'version' key, even though
we handled the 'versions' key when finding remote related refs.

The result of this was that some extensions, such as the 19.08 opengl
default one was installed by default (as it was found as remote related)
yet still removed with --unused (as it was not locally related).

Fixes flatpak#3004

Closes: flatpak#3093
Approved by: mwleed

(manually cherry-picked from commit aa7b62a)
rh-atomic-bot pushed a commit that referenced this issue Sep 19, 2019
We were only handling the old single-value 'version' key, even though
we handled the 'versions' key when finding remote related refs.

The result of this was that some extensions, such as the 19.08 opengl
default one was installed by default (as it was found as remote related)
yet still removed with --unused (as it was not locally related).

Fixes #3004

Closes: #3093
Approved by: mwleed

(manually cherry-picked from commit aa7b62a)

Closes: #3115
Approved by: alexlarsson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants