[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Fedora Core 2 lost all ability to make DB of installed rpms
- From: Enrique Perez-Terron <enrio online no>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: Fedora Core 2 lost all ability to make DB of installed rpms
- Date: Mon, 16 Aug 2004 00:30:40 +0200
On Sun, 2004-08-15 at 23:12, stuartb@thelinuxlink.net wrote:
> To save space I deleted all files in /var/spool/up2date and
> /var/spool/repackage. I don't think I was in /var/lib/rpm...
> I then did an rpm -qa and saw no rpms!
> I then did rpm --initdb --> no packages if I rpm -qa
> I then did rpm --rebuilddb --> no packages if I rpm -qa
> I then tried to install a package and I got tons of failed dependencies
> like missing glibc and bash.
> All programs are on the system but I can not get rpm to know about them.
> I can not install packages and be assured of dependencies..
> up2date thinks I have nothing on the system too!
> How can this be fixed.
> I had no backups of /var I didn't think anything important was there.
Quick, check the file /var/log/rpmpkgs, if it is there make a copy
before it is overwritten.
The package "rpm" places a script in /etc/cron.daily/rpm, and this
script executes "rpm -qa" (with a few additional options) and places the
output in said file. Cron, or perhaps it is "anacron", runs the scripts
in /etc/cron.daily once a day, on my machine it happens usually at 4 AM
every night.
Using this list you can probably reconstruct the rpm database.
I don't know how yet, do you have the Fedora Core 2 CD's or iso images?
I bet I can reconstruct that database on my computer and send it to you
if you send me the list.
Regards,
Enrique
>
> Stuart
>
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@redhat.com
> https://www.redhat.com/mailman/listinfo/rpm-list
>
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]