Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I am trying to upgrade my earlier Red Hat system to the current release, but it complains that it can find a valid RPM data base. What do I need to do?

0
Posted

I am trying to upgrade my earlier Red Hat system to the current release, but it complains that it can find a valid RPM data base. What do I need to do?

0

The problem is that a very few earlier versions of RPM would write the database in a way that seems corrupted to later versions. Rebuilding the database fixes the install problems. We will need to upgrade RPM on your system to the one on the installation CD-ROM, and rebuild the databases. First thing to do is mount the latest CD-ROM on the system. mount /mnt/cdrom After doing this upgrade ‘rpm’ off the CD-ROM like so: cd /mnt/cdrom/RedHat/RPMS rpm -Uvh –nodeps –force rpm-*rpm When the new RPM is installed, rebuild the database. rpm –rebuilddb This will put the database in a format that the installation RPM can use (since they are the same.

0

The problem is that a very few earlier versions of RPM would write the database in a way that seems corrupted to later versions. Rebuilding the database fixes the install problems. We will need to upgrade RPM on your system to the one on the installation CD-ROM, and rebuild the databases. First thing to do is mount the latest CD-ROM on the system. mount /mnt/cdrom After doing this upgrade ‘rpm’ off the CD-ROM like so: cd /mnt/cdrom/RedHat/RPMS rpm -Uvh –nodeps –force rpm-*rpm When the new RPM is installed, rebuild the database.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123