How to remove and recreate database RPM

In a root console, type the following commands:

  • Erase all database elements:
    rm -f /var/lib/rpm/__db*

  • Recreate database RPM (this may take a while):
    rpm --rebuilddb

  • Search for update:
    urpmi --auto-update

.
Credits: @jjm @jclvanier @mandian @ben79

3 Likes

Viele Danke!