Error Cannot Open Packages Database In /var/local/lib/rpm
Contents |
the system gave me the below error. [root@fedora-cloudibee home]# yum list | grep -i xml rpmdb: Thread/process 31902/140347322918656 failed:
Error Rpmdb Open Failed Centos
Thread died in Berkeley DB library error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: error rpmdb open failed redhat Fatal error, run database recovery error: cannot open Packages index using db3 - (-30974) error: cannot open Packages rpmdb thread died in berkeley db library database in /var/lib/rpm CRITICAL:yum.main: Error: rpmdb open failed [root@fedora-cloudibee home]# 12345678 [root@fedora-cloudibee home]# yum list | grep -i xmlrpmdb: Thread/process 31902/140347322918656 failed: Thread died in Berkeley DB libraryerror: db3 error(-30974)
Error: Cannot Open Packages Index Using Db3 - Invalid Argument (22)
from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recoveryerror: cannot open Packages index using db3 - (-30974)error: cannot open Packages database in /var/lib/rpmCRITICAL:yum.main:Error: rpmdb open failed[root@fedora-cloudibee home]# I inititally thought it was some issue with yum and its cache, so tried yum clean. That did not work!. [root@fedora-cloudibee home]# yum clean rpmdb: Thread/process 31902/140347322918656 failed: Thread died in Berkeley DB library
Rpmdb: /var/lib/rpm/packages: Unexpected File Type Or Format
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db3 - (-30974) error: cannot open Packages database in /var/lib/rpm CRITICAL:yum.main: Error: rpmdb open failed [root@fedora-cloudibee home]# rpm -qa rpmdb: Thread/process 31902/140347322918656 failed: Thread died in Berkeley DB library error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db3 - (-30974) error: cannot open Packages database in /var/lib/rpm rpmdb: Thread/process 31902/140347322918656 failed: Thread died in Berkeley DB library error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages database in /var/lib/rpm 123456789101112131415 [root@fedora-cloudibee home]# yum clean rpmdb: Thread/process 31902/140347322918656 failed: Thread died in Berkeley DB library error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db3 - (-30974) error: cannot open Packages database in /var/lib/rpm CRITICAL:yum.main: Error: rpmdb open failed[root@fedora-cloudibee home]# rpm -qa rpmdb: Thread/process 31902/140347322918656 failed: Thread died in Berkeley DB library error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db
Red Hat Certificate System Red Hat Satellite Subscription Asset Manager Red Hat Update Infrastructure rpmdb: unable to join the environment Red Hat Insights Ansible Tower by Red Hat Cloud Computing
Error: Cannot Open Packages Index Using Db3 - Permission Denied (13)
Back Red Hat CloudForms Red Hat OpenStack Platform Red Hat Cloud Infrastructure Red Hat Cloud error: can't create transaction lock on / Suite Red Hat OpenShift Container Platform Red Hat OpenShift Online Red Hat OpenShift Dedicated Storage Back Red Hat Gluster Storage Red Hat Ceph Storage http://www.cloudibee.com/corrupt-rpmdb-and-recovery/ JBoss Development and Management Back Red Hat JBoss Enterprise Application Platform Red Hat JBoss Data Grid Red Hat JBoss Web Server Red Hat JBoss Portal Red Hat JBoss Operations Network Red Hat JBoss Developer Studio JBoss Integration and Automation Back Red Hat JBoss Data Virtualization Red Hat JBoss Fuse Red https://access.redhat.com/solutions/6903 Hat JBoss A-MQ Red Hat JBoss BPM Suite Red Hat JBoss BRMS Mobile Back Red Hat Mobile Application Platform Services Back Consulting Technical Account Management Training & Certifications Red Hat Enterprise Linux Developer Program Support Get Support Production Support Development Support Product Life Cycle & Update Policies Knowledge Search Documentation Knowledgebase Videos Discussions Ecosystem Browse Certified Solutions Overview Partner Resources Tools Back Red Hat Insights Learn More Red Hat Access Labs Explore Labs Configuration Deployment Troubleshooting Security Additional Tools Red Hat Access plug-ins Red Hat Satellite Certificate Tool Security Back Product Security Center Security Updates Security Advisories Red Hat CVE Database Security Labs Resources Overview Security Blog Security Measurement Severity Ratings Backporting Policies Product Signing (GPG) Keys Community Back Discussions Red Hat Enterprise Linux Red Hat Virtualization Red Hat Satellite Customer Portal Private Groups All Discussions Start a Discussion Blogs Customer Portal Red Hat Product Sec
upgrading some packages from CentOS 4.4 General support questions including new installations Post Reply Print view Search Advanced search http://www.centos.org/forums/viewtopic.php?t=34477 7 posts • Page 1 of 1 Santi Posts: 5 Joined: https://forums.anandtech.com/threads/rpm-under-mac-os.301329/ 2006/09/03 21:26:03 Contact: Contact Santi Website Broken "yum" after upgrading some packages from CentOS 4.4 Quote Postby Santi » 2006/09/03 21:48:57 Hello,This morning I have updated a lot of packages from one CentOS 4.3 server, this is the output of "yum.log"Code: Select allSep 03 cannot open 12:40:51 Updated: strace.i386 4.5.14-0.EL4.1
Sep 03 12:41:06 Updated: yum.noarch 2.4.3-1.c4
Sep 03 12:41:34 Updated: net-snmp.i386 5.1.2-11.EL4.7
Sep 03 12:43:02 Updated: rpm-libs.i386 4.3.3-18_nonptl
Sep 03 12:43:05 Updated: rpm.i386 4.3.3-18_nonptl
Sep 03 12:43:06 Updated: samba-common.i386 3.0.10-1.4E.9
Sep 03 12:43:06 Updated: sysstat.i386 5.0.5-11.rhel4
Sep 03 12:43:10 Updated: rpmdb-CentOS.i386 2:4.4-0.20060823
Sep 03 12:43:11 Updated: sed.i386 4.1.2-5.EL4
Sep 03 12:43:11 cannot open packages Updated: rpm-python.i386 4.3.3-18_nonptl
Sep 03 12:43:12 Updated: rpm-build.i386 4.3.3-18_nonptl
Sep 03 12:43:13 Updated: samba-client.i386 3.0.10-1.4E.9
Sep 03 12:45:22 Updated: openssh.i386 3.9p1-8.RHEL4.15
Sep 03 12:45:22 Updated: openssh-clients.i386 3.9p1-8.RHEL4.15
Sep 03 12:45:22 Updated: openssh-server.i386 3.9p1-8.RHEL4.15
Sep 03 12:46:26 Updated: make.i386 1:3.80-6.EL4
Sep 03 12:46:41 Updated: libselinux.i386 1.19.1-7.2
Sep 03 12:47:41 Updated: wireless-tools.i386 1:28-0.pre16.3.3.EL4
Sep 03 12:48:19 Updated: popt.i386 1.9.1-18_nonptl
Sep 03 12:48:43 Updated: parted.i386 1.6.19-4.EL
Sep 03 12:49:53 Updated: mkinitrd.i386 4.2.1.8-1
Sep 03 12:49:53 Updated: psmisc.i386 21.4-4.1
Sep 03 12:49:53 Updated: rhnlib.noarch 1.8.7-4
Sep 03 12:49:53 Updated: file.i386 4.10-2.EL4.4
Sep 03 12:49:54 Updated: initscripts.i386 7.93.25.EL-1.centos4
Sep 03 12:49:56 Updated: up2date.i386 4.4.69-25.centos4.7
Sep 03 12:49:56 Updated: libgcc.i386 3.4.6-3
Sep 03 12:50:05 Updated: man-pages.noarch 1.67-9.EL4
Sep 03 12:50:06 Updated: mailx.i386 8.1.1-36.EL4
Sep 03 12:50:42 Updated: hal.i386 0.4.2-4.EL4
Sep 03 12:50:51 Updated: lsof.i386 4.72-1.4
Sep 03 12:51:35 Updated: bash.i386 3.0-19.3
Sep 03 12:51:35 Updated: cpp.i386 3.4.6-3
Sep 03 12:51:37 Updated: gcc.i386 3.4.6-3
Sep 03 12:51:37 Updated: apr.i386 0.9.4-24.5.c4.2
Sep 03 12:51:38 Updated: apr-devel.i386 0.9.4-24.5.c4.2
Sep 03 12:52:50 Updated: device-map
Display results as threads More... Useful Searches Recent Posts Menu Forums Forums Quick Links Search Forums Recent Posts Menu Log in Sign up AnandTech Forums: Technology, Hardware, Software, and Deals Forums > Software > Programming > RPM under Mac OS? Discussion in 'Programming' started by scootermaster, Jun 18, 2009. scootermaster Platinum Member Joined: Nov 29, 2005 Messages: 2,411 Likes Received: 0 I'm not sure what's up. I've installed the 5.x dmg and whatever, but it doesn't really do anything. I get the following error: error: cannot open Packages(0) index using db3 - No such file or directory (2) error: cannot open Packages database in /var/local/lib/rpm I've posted this in the Apple forum, but no one has any idea. Any thoughts? #1 scootermaster, Jun 18, 2009 Nothinman Elite Member Joined: Sep 14, 2001 Messages: 30,672 Likes Received: 0 Does /var/local/lib/rpm exist? #2 Nothinman, Jun 18, 2009 scootermaster Platinum Member Joined: Nov 29, 2005 Messages: 2,411 Likes Received: 0 Originally posted by: Nothinman Does /var/local/lib/rpm exist?Click to expand... Yes, but there's nothing in there. I also tried to install an older version via darwinports, so I'm not sure which one made the directory. By the date, I'm guessing the new version/DMG install of RPM. #3 scootermaster, Jun 18, 2009 scootermaster Platinum Member Joined: Nov 29, 2005 Messages: 2,411 Likes Received: 0 Thanks for responding...any thoughts? Do I need to make this manually? #4 scootermaster, Jun 19, 2009 Nothinman Elite Member Joined: Sep 14, 2001 Messages: 30,672 Likes Received: 0 I'm using Debian and I have RPM installed as well but it came with an empty database in /var/lib/rpm. Have you used initdb? From the man page: Use --initdb to create a new database if one doesn?t already exist (existing database is not overwritten), use --rebuilddb to rebuild the database indices from the installed package headers. #5 Nothinman, Jun 20, 2009 (You must log in or sign up to post here.) Show Ignored Content Your name or email address: Do you already have an account? No, create an account now. Yes, my password is: Forgot your password? Stay logged in Sign up now! New Posts Google developing custom silicon for future Pixel hardware Latest: beginner99, Oct