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?
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.
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
- 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?
- I am trying to upgrade my Red Hat system to the current release, but it complains that it can find a valid RPM database. What do I need to do?
- What is the frequency and means for system upgrade and release?