安装问题 xdg-desktop-menu: No writable system menu directory found

mir*_*ams 6 xdg debian-installer software-installation

安装 IBM tsm 备份客户端时,我在 lucid 上收到以下消息(适用于精确)

> sudo apt-get upgrade
Setting up tsm-client (6.4.0.7-3) ...
xdg-desktop-menu: No writable system menu directory found.
dpkg: error processing tsm-client (--configure):
 subprocess installed post-installation script returned error exit status 3
Errors were encountered while processing:
 tsm-client
E: Sub-process /usr/bin/dpkg returned an error code (1)
Run Code Online (Sandbox Code Playgroud)

这里有什么问题?

mir*_*ams 21

在 linux 错误报告中找到了答案。这是 xdg 中的一个错误。我发现您可以通过简单地创建它正在寻找的文件夹来解决它。IE

sudo mkdir /usr/share/desktop-directories/
Run Code Online (Sandbox Code Playgroud)

  • 好东西。一年多了,今天我正在设置我的新工作笔记本电脑。尝试安装 Spotify 我再次遇到此错误,不得不使用 Google 搜索,找到了这个答案和我自己的旧评论。迷幻。同样令人失望的是,在 Debian 9.1 中仍然存在这样一个老错误并困扰着我 (5认同)
  • 什么!?我不明白。创建此目录解决了我的问题([安装spotify-client](https://www.spotify.com/no/download/linux/)),但没有将任何内容放入该目录中。它仍然是完全空的。 (3认同)