[Control Center] 无法正常在控制中心中升级,每次都提示“系统备份失败”
Tofloor
poster avatar
get200
deepin
2022-02-26 05:52
Author

截图_选择区域_20220225215139.jpg

Reply Favorite View the author
All Replies
andktan
deepin
2022-02-26 06:49
#1

试试终端升级还出现吗

Reply View the author
get200
deepin
2022-02-26 07:32
#2
andktan

试试终端升级还出现吗

终端可以正常升级,但是下次再次升级时,从控制中心升还是报“系统备份失败”

Reply View the author
忘记、过去
deepin
2022-02-27 00:43
#3

rmCoreFile.tar.gz

解压文件得到 rmCoreFile.sh,右键文件->属性->权限管理,勾选“允许以程序执行”。双击文件,选择“在终端中运行”,需要输入密码。运行结束后看看控制中心能不能正常备份?

文件内容:

#!/bin/bash

#set -x

# Get Rootb partition info
RootbPath=$(blkid | grep Rootb | awk -F ":" {'print $1'})
RootbType=$(blkid | grep Rootb | awk -F " " {'print $4'} | awk -F "\"" {'print $2'})
RootbMountPoint="/mnt/rootb"

# Mount Rootb and remove /core
if [ ! -d "$RootbMountPoint" ] ; then
	sudo mkdir -p $RootbMountPoint
fi

if [ -n "$(grep $RootbMountPoint /proc/mounts)" ] ; then
	sudo umount $RootbMountPoint
fi

if [ -n "$RootbPath" -a -n "$RootbType" ] ; then
	sudo mount -t $RootbType $RootbPath $RootbMountPoint

	if [ -f "${RootbMountPoint}/core" ] ; then
		if [ $(file "${RootbMountPoint}/core" | grep deepin-home-appstore-daemon | wc -l) != 0 ] ; then
			sudo rm ${RootbMountPoint}/core
		fi
	fi

	sudo umount $RootbMountPoint

	if [ -d "$RootbMountPoint" ] ; then
		sudo rm -rf $RootbMountPoint
	fi
fi

# Remove /core
if [ -f "/core" ] ; then
	if [ $(file "/core" | grep deepin-home-appstore-daemon | wc -l) != 0 ] ; then
		sudo rm /core
	fi
fi

#read

Reply View the author
a2035274
deepin
2022-02-27 03:59
#4
忘记、过去

rmCoreFile.tar.gz

解压文件得到 rmCoreFile.sh,右键文件->属性->权限管理,勾选“允许以程序执行”。双击文件,选择“在终端中运行”,需要输入密码。运行结束后看看控制中心能不能正常备份?

文件内容:

#!/bin/bash

#set -x

# Get Rootb partition info
RootbPath=$(blkid | grep Rootb | awk -F ":" {'print $1'})
RootbType=$(blkid | grep Rootb | awk -F " " {'print $4'} | awk -F "\"" {'print $2'})
RootbMountPoint="/mnt/rootb"

# Mount Rootb and remove /core
if [ ! -d "$RootbMountPoint" ] ; then
	sudo mkdir -p $RootbMountPoint
fi

if [ -n "$(grep $RootbMountPoint /proc/mounts)" ] ; then
	sudo umount $RootbMountPoint
fi

if [ -n "$RootbPath" -a -n "$RootbType" ] ; then
	sudo mount -t $RootbType $RootbPath $RootbMountPoint

	if [ -f "${RootbMountPoint}/core" ] ; then
		if [ $(file "${RootbMountPoint}/core" | grep deepin-home-appstore-daemon | wc -l) != 0 ] ; then
			sudo rm ${RootbMountPoint}/core
		fi
	fi

	sudo umount $RootbMountPoint

	if [ -d "$RootbMountPoint" ] ; then
		sudo rm -rf $RootbMountPoint
	fi
fi

# Remove /core
if [ -f "/core" ] ; then
	if [ $(file "/core" | grep deepin-home-appstore-daemon | wc -l) != 0 ] ; then
		sudo rm /core
	fi
fi

#read

怀疑全盘安装后 改Roota Rootb Recovery 分区了fstab 里面有变化 备份不成功

Reply View the author
get200
deepin
2022-03-05 20:50
#5
忘记、过去

rmCoreFile.tar.gz

解压文件得到 rmCoreFile.sh,右键文件->属性->权限管理,勾选“允许以程序执行”。双击文件,选择“在终端中运行”,需要输入密码。运行结束后看看控制中心能不能正常备份?

文件内容:

#!/bin/bash

#set -x

# Get Rootb partition info
RootbPath=$(blkid | grep Rootb | awk -F ":" {'print $1'})
RootbType=$(blkid | grep Rootb | awk -F " " {'print $4'} | awk -F "\"" {'print $2'})
RootbMountPoint="/mnt/rootb"

# Mount Rootb and remove /core
if [ ! -d "$RootbMountPoint" ] ; then
	sudo mkdir -p $RootbMountPoint
fi

if [ -n "$(grep $RootbMountPoint /proc/mounts)" ] ; then
	sudo umount $RootbMountPoint
fi

if [ -n "$RootbPath" -a -n "$RootbType" ] ; then
	sudo mount -t $RootbType $RootbPath $RootbMountPoint

	if [ -f "${RootbMountPoint}/core" ] ; then
		if [ $(file "${RootbMountPoint}/core" | grep deepin-home-appstore-daemon | wc -l) != 0 ] ; then
			sudo rm ${RootbMountPoint}/core
		fi
	fi

	sudo umount $RootbMountPoint

	if [ -d "$RootbMountPoint" ] ; then
		sudo rm -rf $RootbMountPoint
	fi
fi

# Remove /core
if [ -f "/core" ] ; then
	if [ $(file "/core" | grep deepin-home-appstore-daemon | wc -l) != 0 ] ; then
		sudo rm /core
	fi
fi

#read

今天有更新试了一下,还是无法更新

Reply View the author
孔方兄
deepin
2022-04-09 05:27
#6

截图_选择区域_20220408212556.png

我也遇到了

Reply View the author
asen2017
deepin
2022-04-24 07:40
#7

进去boot目录,删掉一些没用的数据就可以了,我是删了一些文件名为内核旧版本号的文件就可以了

image.png

Reply View the author