Anyone have any idea why I get this message when updating flatpaks?
I’m told that the flatpak/exports/share directory is not in the search path, and yet when I display those variables, it in the only one with anything set.
In addition, the output from flatpak is a bit knackered, as the message that is emitted is overwritten by the output that lists what was updated. There are actually 2 further lines displayed after - /root/.local/.share which are overwritten by subsequent output. I’m not even sure who writes the “flatpak” app to report a bug against it.
┌─🎩 lurcher ~
├─
└─➜ sudo flatpak update ⏱️ 3s 09:15 Thu 05-Feb
Looking for updates…
ID Branch Op Remote Download
1. [✓] dev.zed.Zed stable u flathub 125.6 MB / 131.7 MB
Updating… ████████████████████ 100% 11.4 MB/s 00:00
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
ID Branch Op Remote Download
1. [✓] dev.zed.Zed stable u flathub 125.6 MB / 131.7 MB
Updates complete.
┌─🎩 lurcher ~
├─
└─➜ echo $XDG_DATA_HOME ⏱️ 17s 10:40 Thu 05-Feb
┌─🎩 lurcher ~
├─
└─➜ echo $XDG_DATA_DIRS 10:41 Thu 05-Feb
/home/steve/.local/share/flatpak/exports/share /var/lib/flatpak/exports/share /usr/local/share /usr/share /var/lib/snapd/desktop