On Thu, Dec 04, 2003 at 09:16:38AM -0500, Net Llama! wrote:
On Thu, 4 Dec 2003, Jeff Johnson wrote:
I'd be happy to, but the box in question has been running rpm-3.0.6, and i read somewhere (that i can't find now) that the rpm DB from rpm-3.x isn't compatible with rpm-4.x. So, i fear losing my DB if i upgrade. If this is not true, i'll gladly jump to 4.x.
Tar up /var/lib/rpm and upgrade to rpm-4.0.5, and convert from db1 -> db3 is my suggestion.
Is this as simple as running: rpm --rebuilddb
after upgrading to rpm-4.x ?
Yup.
Save tarball of /var/lib/rpm first.
I finally had some time to do this, but it didn't turn out too well. I backed up /var/lib/rpm, built rpm-4.0.5, installed it, ran 'rpm --rebuilddb', and now the only thing in the rpm DB is rpm-4.0.5. Am i missing something obvious?
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ L. Friedman netllama@xxxxxxxxxxxxx Linux Step-by-step & TyGeMo: http://netllama.ipfox.com
11:40am up 17:37, 1 user, load average: 0.08, 0.24, 0.19
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list