报错
代码语言:javascript
复制> sudo apt-get upgrade
...
Adding shortcut to the menu
xdg-desktop-menu: No writable system menu directory found.
dpkg: 处理软件包 redisplus (--configure)时出错:
已安装 redisplus 软件包 post-installation 脚本 子进程返回错误状态 3
在处理时有错误发生:
redisplus
E: Sub-process /usr/bin/dpkg returned an error code (1)
代码语言:javascript
复制> sudo apt-get upgrade
Adding shortcut to the menu
xdg-desktop-menu: No writable system menu directory found.
dpkg: error processing redisplus (--configure):
subprocess installed post-installation script returned error exit status 3
Errors were encountered while processing:
redisplus
E: Sub-process /usr/bin/dpkg returned an error code (1)
解决办法
代码语言:javascript
复制sudo mkdir /usr/share/desktop-directories/