Re: [SLUG] File corruption

From: Ed Centanni (ecentan1@tampabay.rr.com)
Date: Sun Jul 22 2001 - 17:18:28 EDT


The man pages mention this:
rpm --rebuilddb

More information is to be had here:
http://www.rpmdp.org/rpmbook/node42.html

The SuSE KB does the paranoid thing and gives directions for backing up
the recovery database first.
http://sdb.suse.de/en/sdb/html/ke_rpm-db.html

If the database is ok but the packages just didn't get added in then you
may have to do a forced update or re-install to get them entered.

Ed.

Smitty wrote:
>
> Thanks, Ed!
> For those interested, here is what I did:
> deleted the defective /etc/rc.config file,
> copied the /etc/rc.config.old.o to /etc/rc.config
> edited /etc/rc.config in gvim to ensure that everything was correct and saved
> it.
> One other odd thing I noticed was any rpms I loaded after this are installed,
> but not acknowledged by the rpm database. How do I correct this?
> Smitty
>
> On Sunday 22 July 2001 13:41, you wrote:
> > Look for a file named rc.config.old and rc.config.old.o in the /etc
> > directory. These are previous configurations that can be used to go
> > back to the previous state.
> >
> > There are others also. To get a list:
> > (as root)
> > cd /etc
> > find . -name "*old*"
> >
> > Ed.
> >
> > Smitty wrote:
> > > I am using SuSE 7.1 and accidentally switched the box off during a
> > > package installation. I ended up with a corrupted /etc/rc.config file.
> > > It appears to be some printer script that got renamed! The original one
> > > appears lost or destroyed.
> > > Anyone with such experience who can offer a solution?
> > > Smitty



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:34:32 EDT