本文主要是介绍Linux报错:subprocess installed post-installation script returned error exit status 3,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
报错
- 中文版
> 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)
- 英文版
> 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)
解决办法
- 终端执行以下代码
sudo mkdir /usr/share/desktop-directories/
这篇关于Linux报错:subprocess installed post-installation script returned error exit status 3的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!