Re: rpm database corrupted, how to recover?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 12, 2003, Torrey Hoffman <thoffman@xxxxxxxxx> wrote:

> While installing some rpms from FreshRPMs.net on my system, rpm
> segfaulted.  It seems to have corrupted the database in the process, and
> now all rpm commands hang.

rm -f /var/lib/rpm/__db*
rpm --rebuilddb

> So I moved /var/lib/rpm/Packages to /var/lib/rpm/Packages.corrupt

Don't do this.  It's what --rebuilddb would use to rebuild the
databases.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux