[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, 3 Jan 2004, Les Mikesell wrote:
> On Sat, 2004-01-03 at 21:55, Julius Szelagiewicz wrote:
> >  I am beginning to
> > think that i might need to *reinstall* 3.1.2 and then do a partial
> > restore, leave var and most of etc and usr alone, remove cups, apt-get
> > instal lprng, run "checkpc -f" .... goodness gracious, another sunday at
> > work!
> > 	neither rpmdb_verify nor db_verify found on the server. depression
> > sets in. julius
> >
>
> You are going to get the rpm database out of sync with what is
> on the machine if you don't match the restore of /var/lib/rpm
> with the rest.  Do any rpm operations work with the files
> as you have them restored?  There were some bugs that were
> fixed in rpm.  If your current setup works well enough to
> install the update rpm for rpm it might fix things.
> Also, sometimes yum will work when apt-get doesn't.
>
Les,
	no rpm operation worked before i blew away the database - that
meant no yum as well. i cleaned out the rpm database just to be able to
use apt to remove cups and install lprng. this din't go smothly, but it
did go. still no joy with printtool, or printing, for that matter.
	the plan is: total destruction of th weekend by full install of
3.1.2 from scratch and than a very judicious restore:
/home, /usr/local/bin, stop dhcpd, blow away leases files, in /etc:
passwd, shadow, group, gshadow, dhcpd.conf, rsyncd.conf, ./init.d/nat ...

what am i forgetting here?




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