“/var/lib/flatpak/exports/share”不在 XDG_DATA_HOME 和 XDG_DATA_DIRS 设置的搜索路径中

“/var/lib/flatpak/exports/share”不在 XDG_DATA_HOME 和 XDG_DATA_DIRS 设置的搜索路径中

奇怪的是,当我更新 Flatpaks 时,我在终端中收到以下消息:

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

但是,如果我运行, echo $XDG_DATA_DIRS 我会得到以下信息:

/home/myname/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/

对 Linux 有点陌生,所以我错过了什么吗?

作为上下文,我使用的是 Fedora 37

相关内容