dpkg: 处理软件包 scenebuilder 时出错
Tofloor
poster avatar
bjxxl
deepin
2020-12-25 07:56
Author
dpkg: 处理软件包 scenebuilder (--configure)时出错:
已安装 scenebuilder 软件包 post-installation 脚本 子进程返回错误状态 3
正在处理用于 man-db (2.8.5-2) 的触发器 ...
在处理时有错误发生:
scenebuilder
E: Sub-process /usr/bin/dpkg returned an error code (1)
正在设置 scenebuilder (8.5.0) ...
Adding shortcut to the menu
xdg-desktop-menu: No writable system menu directory found.
dpkg: 处理软件包 scenebuilder (--configure)时出错:
已安装 scenebuilder 软件包 post-installation 脚本 子进程返回错误状态 3
在处理时有错误发生:
scenebuilder

今天用系统自带的软件包安装器安装sceneBuilder(javaFX可视化布局管理工具)安装失败,之后通过应用商店安装或卸载软件总提示失败,但实际上应用确实不见了(在应用托盘里看不到了),当我用apt安装应用时总提示上面的错误。命令行查询sceneBuilder得出已安装,命令行卸载提示上面所示的错误,whereis显示:"sceneBuilder:"

Reply Favorite View the author
All Replies
guaguale
deepin
2020-12-25 16:56
#1

再点击下,然后卸载先

Reply View the author
lcw0268
deepin
2020-12-25 21:07
#2

sudo apt remove 出错的包。


Reply View the author
bjxxl
deepin
2020-12-26 05:56
#3
lcw0268

sudo apt remove 出错的包。


正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 sceneBuilder


Reply View the author
lcw0268
deepin
2020-12-26 15:10
#4
bjxxl
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 sceneBuilder


sudo apt install -f

Reply View the author
bjxxl
deepin
2020-12-27 06:20
#5
guaguale

再点击下,然后卸载先

今天忽然解决了,原来scenebuilder被安装到了/opt下,然后我发现能运行,但是可能是安装时配置出错了,导致dkpg出了问题,每次安装软件都处理失败(实际安装了),

我到/var/lib/dpkg/status把那条记录给删了,虽然我不明白软件包管理原理,但生效了

我年纪太大了,想当年,我......

Reply View the author