Deepin_linux_An_error_occurred_while_applying_changes_xdg_desktop-menu_No_writable_system_menu_directory_found解决方案md

Terwer 经验分享 Linux评论27字数 656阅读2分11秒阅读模式

错误日志

Selecting previously unselected package oneblog4j.
(Reading database ... 264884 files and directories currently installed.)
Preparing to unpack .../bundles/oneblog4j-1.0.3.deb ...
Unpacking oneblog4j (1.0.3) ...
Setting up oneblog4j (1.0.3)/ ...
Adding shortcut to the menu
An error occurred while applying changes:
An error occurred while applying changes: xdg-desktop-menu: No writable system menu directory found.
dpkg: error processing package oneblog4j (--install):
 installed oneblog4j package post-installation script subprocess returned error exit status 3
Errors were encountered while processing:
 oneblog4j

解决方案

sudo mkdir /usr/share/desktop-directories/

PS:安装 deb 无法创建目录问题,直接赋予权限,再打开。文章源自浅海拾贝-https://blog.terwergreen.com/xdg-desktop-menu-no-writable-system-menu-directory-found.html

sudo chown -R terwer:terwer /opt/oneblog4j

文章源自浅海拾贝-https://blog.terwergreen.com/xdg-desktop-menu-no-writable-system-menu-directory-found.html

相关文章
  • 扫码加我微信
  • 验证消息请输入:来自你的博客
  • weinxin
  • 我的微信公众号
  • 微信扫一扫与我交流吧
  • weinxin
Terwer
匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: