Re: Restore RPM database?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
To: plug-discuss
Subject: Re: Restore RPM database?
On Sun, 2005-02-06 at 08:46 -0700, Alan Dayley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> My RPM database thinks I have nothing installed. How do I fix it?
>
> Today I ran a normal 'apt-get update' on my Fedora Core 2 box. It went out
> and hit the usual repositories, getting updated lists in some cases. Fine.
>
> I ran 'apt-get upgrade' and it came back with:
>
> # apt-get upgrade
> Reading Package Lists... Done
> Building Dependency Tree... Done
> 0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
> #
>
> OK. I expect there to be something to upgrade.
>
> So a cranked up synaptic. It shows that nothing is installed! Um... I am
> using a running system so lots of things are already installed!

----
rm -fr /var/lib/rpm/__*

rpm --rebuilddb

rpm -qa

apt-get upgrade

you should be very happy - btw, did you check out smart?

Craig

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss