我想将 AWS EC2 服务器从 Amazon Linux 1 升级到 Amazon Linux 2。为了测试此升级,我运行了升级前助手,但失败了。
我想知道这个问题的原因或解决这个问题。
如果我应该写更多信息,请告诉我。
错误信息
001/006 ...running (Grub 2)The provided file is not a valid XML file
The provided file is not a valid XML file
我在网站上搜索,但我找不到这样的问题。
供您参考,不会生成以下验证结果文件。
/root/preupgrade/result.html
运行时的所有结果消息
[ec2-user@******* current]$ sudo yum instpreupg
The Preupgrade Assistant is a diagnostics tool
and does not perform the actual upgrade.
Do you want to continue? [Y/n]
Y
Gathering logs used by the Preupgrade Assistant:
All installed packages : 01/10 ...finished (time 00:00s)
All changed files : 02/10 ...finished (time 00:37s)
Changed config files : 03/10 ...finished (time 00:00s)
All users : 04/10 ...finished (time 00:00s)
All groups : 05/10 ...finished (time 00:00s)
Service statuses : 06/10 ...finished (time 00:00s)
All installed files : 07/10 ...finished (time 00:01s)
All local files : 08/10 ...finished (time 00:26s)
All executable files : 09/10 ...finished (time 00:28s)
Red Hat signed packages : 10/10 ...finished (time 00:00s)
Assessment of the system, running checks / SCE scripts:
001/006 ...running (Grub 2)The provided file is not a valid XML file
The provided file is not a valid XML file
[ec2-user@******* current]$
我成功安装了升级前助手。
[ec2-user@******* current]$ sudo yum install -y preupgrade-assistant preupgrade-assistant-al1toal2
版本
Amazon Linux(1) AMI x86_64