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

Re: [K12OSN] bad rpm database after restore from backup



On Sat, 2004-01-03 at 20:03, Julius Szelagiewicz wrote:
> 	I did all that immediately, to no avail, what i get for my efforts
> is: "rpmdb: /var/lib/rpm/Packages: unexpected file type or format"
> "error: can not open packages index"
> 
> removing all the files in the /var/lib/rpm and running recovery creates
> empty databas and apt-get loads signatures only. this server appears to be
> cursed ... julius
> 

I'm beginning to think you might have bad ram which would cause
completely unpredictable things (like database corruption) to
happen.  I'd try restoring /var/lib/rpm from your backup again
and then run /usr/lib/rpm/rpmdb_verify Packages (or db_verify
Packages, depending on your version).  You might be able to fix
it with db_dump and db_load if it is mostly OK.

If you have time, run the memory test from the install CD.

---
   Les Mikesell
    les futuresource com





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