【环境信息】
OS:LTS-SP1
repo源:SP1 everything
【操作步骤】
dnf install -y festival-help
dnf remove -y festival-help
【预期结果】
卸载成功
【实际结果】
卸载过程有异常信息
拆分卸载脚本,应该是:
postuninstall scriptlet (using /bin/sh):
if [ "$1" = 0 ]; then
/sbin/install-info --delete /usr/share/info/festival.info.gz /usr/share/info/dir --section "Accessibility" > /dev/null 2>&1
fi
/usr/share/info/festival.info.gz文件在卸载之后已经不存在了,所以报错。正确的方法应该是在卸载之前执行。
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
已处理:
!8:install-info should be executed before the help package is uninstalled
!9:install-info should be executed before the help package is uninstalled。
!10:install-info should be executed before the help package is uninstalled。
!11:install-info should be executed before the help package is uninstalled
!12:install-info should be executed before the help package is uninstalled。
登录 后才可以发表评论