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!
As another test I ran:
# apt-get install bash
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
basesystem (8.0-3)
filesystem (2.2.4-1)
glibc (2.3.3-27.1)
glibc-common (2.3.3-27.1)
libgcc (3.3.3-7)
libtermcap (2.0.8-38)
mktemp (1.5-7)
setup (2.5.33-1)
termcap (11.0.1-18.1)
tzdata (2005c-1.fc2)
The following NEW packages will be installed:
basesystem (8.0-3)
bash (2.05b-38)
filesystem (2.2.4-1)
glibc (2.3.3-27.1)
glibc-common (2.3.3-27.1)
libgcc (3.3.3-7)
libtermcap (2.0.8-38)
mktemp (1.5-7)
setup (2.5.33-1)
termcap (11.0.1-18.1)
tzdata (2005c-1.fc2)
0 upgraded, 11 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/22.1MB of archives.
After unpacking 68.8MB of additional disk space will be used.
Do you want to continue? [Y/n]n
#
I ran 'rpm --rebuilddb' which returned a prompt in about .2 seconds. Then,
rerunning the 'apt-get install bash' command with the same results as above.
I have come up dry in my online search (google, fedoraforum.org,
linuxquestions.org) but it is obvious that my rpm database is completely
blown away, somehow. Thus my question: How do I restore it?
Alan
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss