Manually Migrating from CentOS 8 minimal to Navy Linux 8.5 minimal.

Here is how CentOS 8 minimal converted to Navy Linux 8.5 minimal.

Backup First

Create a backup of your machine before executing.

Install Navy Linux gpg-keys
yum install -y
Erase CentOS Release
rpm --erase --nodeps   $( rpm -qa | egrep 'centos' )
Create a Backup of all repositories and remove CentOS repositories
cp -R /etc/yum.repos.d /etc/yum.repos.backup
rm -rf /etc/yum.repos.d/Cent*
Setup Navy Linux Release Variables
echo "8" > /etc/dnf/vars/releasever
echo "8" > /etc/yum/vars/releasever
echo "8.5r1" > /etc/yum/vars/releaseversion
echo "8.5r1" > /etc/dnf/vars/releaseversion
uname -i > /etc/yum/vars/infra
uname -i > /etc/dnf/vars/infra
Create Navy Linux repositories
curl -o /etc/yum.repos.d/navy-linux-base.repo
curl -o /etc/yum.repos.d/navy-linux-every.repo
Upgrade to Navy linux
yum clean all
yum update -y


Welcome to Navy Linux Family, feel free to report any issue on Issue Tracker

Edit this page