| Summary: | while updating flatpak, it updates old nvidia/Freedesktop/GNOME platforms - remove manually! | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | peter lawford <petlaw726> |
| Component: | Release (media or process) | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | fri, sysadmin-bugs |
| Version: | 8 | Keywords: | UPSTREAM |
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | In our Wiki on Flatpak | ||
| Source RPM: | CVE: | ||
| Status comment: | |||
It downloads every driver again according https://github.com/flatpak/flatpak/issues/3750 So it seems to be an upstream issue. The actual driver is your number 8. Did you already try "flatpak uninstall --unused"? Thanks for the tip. I added chapter https://wiki.mageia.org/en/Flatpak#Cleaning Actually it is not only old nvidia drivers that keep lying around, apparently, see below. So I believe it is by design. Anyway nothing Mageia can do, but to note it in our wiki. (Please reopen if you think removals can and should be automated) On my system I had: $ flatpak list Namn Program-ID Version Gren Origin Installation ... Freedesktop Platform org.freedesktop.Platform 20.08.17 20.08 flathub user Freedesktop Platform org.freedesktop.Platform 21.08.9 21.08 flathub user Mesa org.freedesktop.Platform.GL.default 21.1.8 20.08 flathub user Mesa org.freedesktop.Platform.GL.default 21.3.3 21.08 flathub user nvidia-470-74 …edesktop.Platform.GL.nvidia-470-74 1.4 flathub user nvidia-470-86 …edesktop.Platform.GL.nvidia-470-86 1.4 flathub user nvidia-470-94 …edesktop.Platform.GL.nvidia-470-94 1.4 flathub user ... GNOME Application Platform ver… org.gnome.Platform 3.38 flathub user GNOME Application Platform ver… org.gnome.Platform 40 flathub user GNOME Application Platform ver… org.gnome.Platform 41 flathub user ... $ flatpak uninstall --unused These runtimes in installation 'user' are pinned and won't be removed; see flatpak-pin(1): runtime/org.freecadweb.FreeCAD.Manual/x86_64/stable ID Gren Op 1. org.freedesktop.Platform.GL.nvidia-470-74 1.4 r 2. org.freedesktop.Platform.GL.nvidia-470-86 1.4 r 3. org.freedesktop.Platform 20.08 r 4. org.freedesktop.Platform.Locale 20.08 r 5. org.gnome.Platform 40 r 6. org.gnome.Platform.Locale 40 r Proceed with these changes to the user installation? [Y/n]: y Keywords:
(none) =>
UPSTREAM # flatpak uninstall --unused
as root seems to work:
[root@magaux alain4]# flatpak uninstall --unused
ID Branch Op
1. [-] org.freedesktop.Platform.GL.default 20.08 r
2. [-] org.freedesktop.Platform.GL.nvidia-460-73-01 1.4 r
3. [-] org.freedesktop.Platform.GL.nvidia-460-80 1.4 r
4. [-] org.freedesktop.Platform.GL.nvidia-460-84 1.4 r
5. [-] org.freedesktop.Platform.GL.nvidia-470-74 1.4 r
6. [-] org.freedesktop.Platform.GL.nvidia-470-86 1.4 r
7. [-] org.kde.KStyle.Adwaita 5.15 r
8. [-] org.kde.Platform 5.15 r
9. [-] org.kde.Platform.Locale 5.15 r
Uninstall complete.
[root@magaux alain4]#
after having run the command # flatpak uninstall --unused
[root@mga6-64 alain4]# flatpak update
Looking for updates…
ID Branch Op Remote Download
1. [✓] org.freedesktop.Platform.GL.nvidia-470-94 1.4 u flathub 272,3 MB / 273,1 MB
2. [✓] org.kde.Platform.Locale 5.15-21.08 u flathub 24,8 kB / 345,0 MB
3. [✓] org.kde.Platform 5.15-21.08 u flathub 3,3 MB / 305,1 MB
Updates complete.
the problem seems to be fixed
Yes it works here too :) |
Description of problem: the actual nvidia platform is 470.94-1: [root@mag6 alain4]# rpm -qa |grep nvidia x11-driver-video-nvidia-current-470.94-1.mga8.nonfree nvidia-current-cuda-opencl-470.94-1.mga8.nonfree lib64nvidia-egl-wayland1-1.1.5-3.mga8 nvidia-current-utils-470.94-1.mga8.nonfree nvidia-current-doc-html-470.94-1.mga8.nonfree nvidia-cuda-toolkit-11.2.0-8.mga8.nonfree dkms-nvidia-current-470.94-1.mga8.nonfree [root@mag6 alain4]# but while updating flatpak: [root@mag6 alain4]# flatpak update Looking for updates… ID Branch Op Remote Download 1. [✓] org.flathub.flatpak_external_data_checker.Locale stable u flathub 1,6 kB / 1,7 MB 2. [✓] org.freedesktop.Platform.GL.default 20.08 u flathub 450,5 kB / 106,4 MB 3. [✓] org.freedesktop.Platform.GL.nvidia-460-73-01 1.4 u flathub 133,3 MB / 134,1 MB 4. [✓] org.freedesktop.Platform.GL.nvidia-460-80 1.4 u flathub 132,2 MB / 133,0 MB 5. [✓] org.freedesktop.Platform.GL.nvidia-460-84 1.4 u flathub 132,6 MB / 133,4 MB 6. [✓] org.freedesktop.Platform.GL.nvidia-470-74 1.4 u flathub 270,5 MB / 271,3 MB 7. [✓] org.freedesktop.Platform.GL.nvidia-470-86 1.4 u flathub 273,2 MB / 274,0 MB 8. [✓] org.freedesktop.Platform.GL.nvidia-470-94 1.4 u flathub 272,3 MB / 273,1 MB 9. [✓] org.freedesktop.Platform.Locale 20.08 u flathub 21,4 kB / 322,3 MB 10. [✓] org.freedesktop.Platform 20.08 u flathub 2,3 MB / 268,6 MB 11. [✓] org.flathub.flatpak-external-data-checker stable u flathub 4,0 MB / 12,5 MB 12. [✓] org.kde.KStyle.Adwaita 5.15 u flathub 704,5 kB / 6,6 MB 13. [✓] org.kde.KStyle.Adwaita 5.15-21.08 u flathub 793,6 kB / 6,6 MB Updates complete. [root@mag6 alain4]# Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3.