我的系统是Centos 7.9,但是内核已经升级到5.4.154(非官方版本)了。现在我想把我的机器升级到8.4。我该怎么做呢?我试了很多方法。但是在某些地方有错误。
rdlzhqv91#
yum install epel-release -y yum install yum-utils # yum install rpmconf # rpmconf -a # package-cleanup --leaves # package-cleanup --orphans # yum install dnf # dnf -y remove yum yum-metadata-parser # rm -Rf /etc/yum # dnf upgrade # dnf install http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/centos-linux-repos-8-2.el8.noarch.rpm http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/centos-linux-release-8.3-1.2011.el8.noarch.rpm http://mirror.centos.org/centos/8/BaseOS/x86_64/os/Packages/centos-gpg-keys-8-2.el8.noarch.rpm # dnf clean all # rpm -e `rpm -q kernel` # rpm -e --nodeps sysvinit-tools # dnf -y --releasever=8 --allowerasing --setopt=deltarpm=false distro-sync # dnf -y install kernel-core # dnf -y groupupdate "Core" "Minimal Install"
1条答案
按热度按时间rdlzhqv91#