Re: [SLUG] File corruption

From: Smitty (76543a@mpinet.net)
Date: Mon Jul 23 2001 - 01:14:42 EDT


Ed, I appreciate your very accurate advice!
Rather than rebuild the rpmdb and reinstall out of date progs, I bought SuSE
7.2 Professional and updated the whole system. Linux is getting better all
the time and SuSE does a great job with their distro!
Thanks.
Smitty

On Sunday 22 July 2001 17:18, you wrote:
> 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:35:50 EDT