Thursday, March 5, 2009

Fedora 10: yum update rpm db fail and meta data did not match error fixed

hey folks
I was trying to update my yum using: yum update but was getting an error saying that rpm db is failed, but I have fixed up that thing in the following steps.

Step 1: clean the yum
yum clean all

Step 2: removing all rpm db from /var/lib/rpm
rm -fr /var/lib/rpm/__db*

Step 3: Now update the yum
yum update


Now enjoy

2 comments:

  1. Thank you,
    yum clean all ; yum update -y
    fixed my yum problem, (didn't need the rm -rf)

    Roges

    ReplyDelete
  2. Hm, for fedora it does not require to remove, but older debian systems require that step.

    ReplyDelete