Fedora Linux Support Community & Resources Center
  #1  
Old 27th February 2004, 02:46 PM
kgreiner Offline
Registered User
 
Join Date: Feb 2004
Posts: 2
rpm -qa shows nothing

I have a small problem.

I have FC2 1.9 and a few days ago my system power outage, but that is not the problem, when i reboot the machine and tried to install some new rpm's it was telling me i had a lot of dependcies that needed to be installed, like /bin/sh, i did a rpm -qa and it showed nothing. I then started to see if i had kernel installed nothing. I tried a rpm --rebuilddb , no luck, then a rpm --initdb, still no luck.

Any idea on how I can resolve this problem.

I tried up2date,apt-get, and up2date and nothing appears to work.

I did --import some GPG keys and then did a -qa and not those are listed.

Since this is my test system my last resort it so reinstall FC.

Reply With Quote
  #2  
Old 27th February 2004, 03:09 PM
mhelios Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Queensland, AU
Posts: 736
Try this:
Code:
rm -f /var/lib/rpm/__* ; rpm -vv --rebuilddb
__________________
mhelios@fedoraforum.org
Registered Linux User # 348963
GnuPG KeyID: 0xCE9F8922
Reply With Quote
  #3  
Old 27th February 2004, 03:18 PM
kgreiner Offline
Registered User
 
Join Date: Feb 2004
Posts: 2
tried it, but when i do a rpm -qa it still shows the gpg that i imported before

output from the command you gave me
D: rebuilding database /var/lib/rpm into /var/lib/rpmrebuilddb.7132
D: creating directory /var/lib/rpmrebuilddb.7132
D: opening old database with dbapi 3
D: opening db environment /var/lib/rpm/Packages create:cdb:mpool
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
D: locked db index /var/lib/rpm/Packages
D: opening new database with dbapi 3
D: opening db environment /var/lib/rpmrebuilddb.7132/Packages create:mpool
D: opening db index /var/lib/rpmrebuilddb.7132/Packages create mode=0x42
D: read h# 2 Header sanity check: OK
D: +++ h# 1 Header sanity check: OK
D: opening db index /var/lib/rpmrebuilddb.7132/Name create mode=0x42
D: adding "gpg-pubkey" to Name index.
D: opening db index /var/lib/rpmrebuilddb.7132/Group create mode=0x42
D: adding "Public Keys" to Group index.
D: opening db index /var/lib/rpmrebuilddb.7132/Providename create mode=0x42
D: adding 2 entries to Providename index.
D: opening db index /var/lib/rpmrebuilddb.7132/Provideversion create mode=0x42
D: adding 2 entries to Provideversion index.
D: opening db index /var/lib/rpmrebuilddb.7132/Installtid create mode=0x42
D: adding 1 entries to Installtid index.
D: opening db index /var/lib/rpmrebuilddb.7132/Pubkeys create mode=0x42
D: adding 1 entries to Pubkeys index.
D: read h# 4 Header sanity check: OK
D: +++ h# 2 Header sanity check: OK
D: adding "gpg-pubkey" to Name index.
D: adding "Public Keys" to Group index.
D: adding 2 entries to Providename index.
D: adding 2 entries to Provideversion index.
D: adding 1 entries to Installtid index.
D: adding 1 entries to Pubkeys index.
D: read h# 6 Header sanity check: OK
D: +++ h# 3 Header sanity check: OK
D: adding "gpg-pubkey" to Name index.
D: adding "Public Keys" to Group index.
D: adding 2 entries to Providename index.
D: adding 2 entries to Provideversion index.
D: adding 1 entries to Installtid index.
D: adding 1 entries to Pubkeys index.
D: read h# 1 Header sanity check: OK
D: +++ h# 4 Header sanity check: OK
D: adding "gpg-pubkey" to Name index.
D: adding "Public Keys" to Group index.
D: adding 2 entries to Providename index.
D: adding 2 entries to Provideversion index.
D: adding 1 entries to Installtid index.
D: adding 1 entries to Pubkeys index.
D: read h# 3 Header sanity check: OK
D: +++ h# 5 Header sanity check: OK
D: adding "gpg-pubkey" to Name index.
D: adding "Public Keys" to Group index.
D: adding 2 entries to Providename index.
D: adding 2 entries to Provideversion index.
D: adding 1 entries to Installtid index.
D: adding 1 entries to Pubkeys index.
D: read h# 5 Header sanity check: OK
D: +++ h# 6 Header sanity check: OK
D: adding "gpg-pubkey" to Name index.
D: adding "Public Keys" to Group index.
D: adding 2 entries to Providename index.
D: adding 2 entries to Provideversion index.
D: adding 1 entries to Installtid index.
D: adding 1 entries to Pubkeys index.
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
D: closed db index /var/lib/rpmrebuilddb.7132/Pubkeys
D: closed db index /var/lib/rpmrebuilddb.7132/Installtid
D: closed db index /var/lib/rpmrebuilddb.7132/Provideversion
D: closed db index /var/lib/rpmrebuilddb.7132/Providename
D: closed db index /var/lib/rpmrebuilddb.7132/Group
D: closed db index /var/lib/rpmrebuilddb.7132/Name
D: closed db index /var/lib/rpmrebuilddb.7132/Packages
D: closed db environment /var/lib/rpmrebuilddb.7132/Packages
D: removing directory /var/lib/rpmrebuilddb.7132
Reply With Quote
Reply

Tags
rpm, shows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
4GB RAM shows as 3.5GB in Fedora agoela Hardware & Laptops 4 25th July 2008 01:03 AM
new battery always shows low panamaszr12 Hardware & Laptops 1 28th February 2006 04:43 AM
3.5 TB drive shows only as 1.32 TB rahulkats Hardware & Laptops 2 26th January 2006 05:04 PM


Current GMT-time: 17:45 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat