Flatpak Update: Note that '/var/lib/flatpak/exports/share' is not in the search path

Morning,

Started a flatpak update Saturday night, and just checked it today and it stopped at update #4 org.freedesktop.Platform.GL.default,

 1. [✓] io.github.jliljebl.Flowblade.Locale                        stable                  u              flathub                 1.6 kB / 6.2 MB
 2. [✓] org.blender.Blender.Codecs                                 stable                  u              flathub                10.9 MB / 10.9 MB
 3. [✓] org.blender.Blender.Locale                                 stable                  u              flathub                 4.7 kB / 15.5 MB
 4. [|] org.freedesktop.Platform.GL.default                        22.08                   u              flathub                19.2 MB / 148.3 MB
 5. [ ] org.freedesktop.Platform.GL.default                        22.08-extra             u              flathub             < 148.3 MB
 6. [ ] org.freedesktop.Platform.GL.default                        23.08                   u              flathub             < 163.9 MB
 7. [ ] org.freedesktop.Platform.GL.default                        23.08-extra             u              flathub             < 163.9 MB
 8. [ ] org.freedesktop.Platform.GL.default                        24.08                   i              flathub             < 146.8 MB
 9. [ ] org.freedesktop.Platform.GL.default                        24.08extra              i              flathub             < 146.8 MB
10. [ ] org.freedesktop.Platform.GL.nvidia-470-239-06              1.4                     u              flathub             < 273.8 MB
11. [ ] org.freedesktop.Platform.GL.nvidia-470-256-02              1.4                     u              flathub             < 273.8 MB
12. [ ] org.freedesktop.Platform.Locale                            22.08                   u              flathub             < 333.0 MB (partial)
13. [ ] org.freedesktop.Platform.Locale                            23.08                   u              flathub             < 371.6 MB (partial)
14. [ ] org.freedesktop.Platform.Locale                            24.08                   i              flathub             < 379.7 MB (partial)
15. [ ] org.freedesktop.Platform.ffmpeg-full                       23.08                   u              flathub               < 9.2 MB
16. [ ] org.freedesktop.Platform.ffmpeg-full                       24.08                   i              flathub              < 12.2 MB
17. [ ] org.gnome.Platform.Locale                                  45                      u              flathub             < 380.5 MB (partial)
18. [ ] org.gnome.Platform.Locale                                  46                      u              flathub             < 379.0 MB (partial)
19. [ ] org.gnome.Platform.Locale                                  47                      i              flathub             < 386.3 MB (partial)
20. [ ] org.gtk.Gtk3theme.Breeze                                   3.22                    u              flathub             < 192.5 kB
21. [ ] org.gnome.Platform                                         47                      i              flathub             < 383.6 MB
22. [ ] io.dbeaver.DBeaverCommunity                                stable                  u              flathub             < 156.8 MB
23. [ ] org.freedesktop.Platform                                   24.08                   i              flathub             < 261.0 MB
24. [ ] io.gitlab.librewolf-community                              stable                  u              flathub             < 117.5 MB
25. [ ] org.gnome.Platform                                         46                      u              flathub             < 363.2 MB
26. [ ] org.gnome.Platform                                         45                      u              flathub             < 382.2 MB
27. [ ] io.github.jliljebl.Flowblade                               stable                  u              flathub              < 77.7 MB
28. [ ] org.freedesktop.Platform                                   23.08                   u              flathub             < 230.3 MB
29. [ ] tv.kodi.Kodi                                               stable                  u              flathub             < 222.8 MB
30. [ ] org.blender.Blender                                        stable                  u              flathub             < 450.9 MB
31. [ ] net.waterfox.waterfox                                      stable                  u              flathub             < 106.1 MB
32. [ ] org.freedesktop.Platform                                   22.08                   u              flathub             < 215.3 MB
33. [ ] org.kde.Platform.Locale                                    6.6                     u              flathub             < 392.4 MB (partial)
34. [ ] org.kde.Platform                                           6.6                     u              flathub             < 334.7 MB
35. [ ] org.kde.Platform.Locale                                    6.7                     u              flathub             < 392.4 MB (partial)
36. [ ] org.kde.Platform                                           6.7                     u              flathub             < 336.0 MB
37. [ ] org.shotcut.Shotcut                                        stable                  u              flathub              < 55.4 MB
38. [ ] org.kde.kdenlive.Locale                                    stable                  u              flathub               < 3.6 MB (partial)
39. [ ] org.kde.kdenlive                                           stable                  u              flathub             < 116.5 MB

Updating 39/39… ████████████████████ 100%  765.8 kB/s  00:0000
Note that '/var/lib/flatpak/exports/share' is not in the search path
set by the XDG_DATA_HOME and XDG_DATA_DIRS
environment variables, so applications may not
be able to find it until you set them. The
directories currently searched are:

- /root/.local/share
- /usr/local/share/
- /usr/share/

How do I fixed this mid-flight through the update?

It’s not clear what command was executed, because it was not included in the CLI (assumed) output (should also include the final empty prompt).

It’s also not clear how you opened the CLI. (did you use “sudo” to execute the command or did you open a new CLI as root user, then execute?)

Morning,

This is how I started on CLI and messages received before the update started:

nasheayahu@kbbn7server:~> sudo zypper update
[sudo] password for root: 
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...
Nothing to do.
nasheayahu@kbbn7server:~> sudo flatpak update -y
Looking for updates…

Info: runtime org.freedesktop.Platform branch 22.08 is end-of-life, with reason:
   org.freedesktop.Platform 22.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.

Info: runtime org.freedesktop.Platform.GL.default branch 22.08-extra is end-of-life, with reason:
   org.freedesktop.Platform 22.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.

Info: runtime org.freedesktop.Platform.GL.default branch 22.08 is end-of-life, with reason:
   org.freedesktop.Platform 22.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.
Required runtime for io.gitlab.librewolf-community/x86_64/stable (runtime/org.freedesktop.Platform/x86_64/24.08) found in remote flathub
Required runtime for io.dbeaver.DBeaverCommunity/x86_64/stable (runtime/org.gnome.Platform/x86_64/47) found in remote flathub

New io.gitlab.librewolf-community permissions:
    bus ownership [1]

    [1] io.gitlab.firefox.*

Why do you use sudo for flatpak? Do you install flatpaks system-wide or per-user?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.