Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 22nd April 2008, 09:37 PM
powah Offline
Registered User
 
Join Date: Mar 2005
Posts: 83
rpm --initdb error: cannot open Packages index using db3

# rpm --initdb
error: cannot open Packages index using db3 - No such file or directory (2)

# rpm --rebuilddb
error: cannot open Packages index

How to fix this problem?
Reply With Quote
  #2  
Old 22nd April 2008, 09:41 PM
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 22,377
Try

Code:
su 
rm -rf  /var/lib/rpm/__db*
rpm --rebuilddb
__________________
https://admin.fedoraproject.org/pkgdb/users/packages/leigh123linux

https://badges.fedoraproject.org/user/leigh123linux
Reply With Quote
  #3  
Old 23rd April 2008, 02:14 PM
powah Offline
Registered User
 
Join Date: Mar 2005
Posts: 83
Quote:
Originally Posted by leigh123@linux
Try

Code:
su 
rm -rf  /var/lib/rpm/__db*
rpm --rebuilddb

The old problem is solved but another problem appeared.
# make
...
error: cannot open Providename index using db3 - No such file or directory (2)
error: cannot open Name index using db3 - No such file or directory (2)
error: cannot open Basenames index using db3 - No such file or directory (2)
error: cannot open Conflictname index using db3 - No such file or directory (2)
error: failed build dependencies:
perl is needed by app_server-4.9.9-9
openssl-devel is needed by app_server-4.9.9-9
sharutils is needed by app_server-4.9.9-9
tcp_wrappers is needed by app_server-4.9.9-9
/bin/login is needed by app_server-4.9.9-9
glibc-devel is needed by app_server-4.9.9-9
pam is needed by app_server-4.9.9-9
make: *** [linux_rpm_server] Error 1
Reply With Quote
Reply

Tags
db3, error, index, initdb, open, packages, rpm

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
Cannot index packages with yum Uladzimir Using Fedora 0 11th September 2005 08:36 PM


Current GMT-time: 03:22 (Thursday, 31-07-2014)

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