忘记、过去
2023-09-07 06:30 deepin
手动修改 /usr/share/initramfs-tools/hooks/deepin-upgrade-manager
,开头加上 set -e
,再手动执行看看哪里报错(如果这玩意儿是个脚本的话......)
Reply Like 0 View the author
手动修改 /usr/share/initramfs-tools/hooks/deepin-upgrade-manager
,开头加上 set -e
,再手动执行看看哪里报错(如果这玩意儿是个脚本的话......)
手动修改 /usr/share/initramfs-tools/hooks/deepin-upgrade-manager
,开头加上 set -e
,再手动执行看看哪里报错(如果这玩意儿是个脚本的话......)
root@8ba30f5dfdb6:/# cat /usr/share/initramfs-tools/hooks/deepin-upgrade-manager
#!/bin/bash
set -e
PREREQ=""
prereqs()
{
echo "${PREREQ}"
}
case "${1}" in
prepare)
prereqs
exit 0
;;
esac
. /usr/share/initramfs-tools/hook-functions
UPGRADER="/usr/sbin/deepin-upgrade-manager"
CP="/usr/bin/cp"
if [ -x ${UPGRADER} ]
then
copy_exec ${UPGRADER} /usr/sbin
copy_exec ${CP} /usr/bin
fi
root@8ba30f5dfdb6:/# /usr/share/initramfs-tools/hooks/deepin-upgrade-manager
root@8ba30f5dfdb6:/#
手动修改 /usr/share/initramfs-tools/hooks/deepin-upgrade-manager
,开头加上 set -e
,再手动执行看看哪里报错(如果这玩意儿是个脚本的话......)
没有报错,还是要怎么手动执行?
Popular Events
More
我采用docker容器部署V23,在安装apt install deepin-desktop-environment-* 时,遇到
cryptsetup: ERROR: Couldn't resolve device overlay
cryptsetup: WARNING: Couldn't determine root device
E: /usr/share/initramfs-tools/hooks/deepin-upgrade-manager failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.15.0-83-generic with 1.
dpkg: error processing package plymouth-theme-deepin-logo (--configure):
installed plymouth-theme-deepin-logo package post-installation script subprocess returned error exit status 1
不知道怎么解决?
各位大神有什么建议吗?