Error Cannot Open Packages Database In /$ Prefix /var/lib/rpm
Contents |
the system gave me the below error. [root@fedora-cloudibee error: cannot open packages index using db3 - invalid argument (22) home]# yum list | grep -i xml rpmdb: Thread/process 31902/140347322918656
Rpmdb: /var/lib/rpm/packages: Unexpected File Type Or Format
failed: Thread died in Berkeley DB library error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, rpmdb thread died in berkeley db library 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 error: cannot open packages index using db3 - permission denied (13) [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) 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
Error: Can't Create Transaction Lock On /
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 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 B
[ More options ] Related messages: [ Next message ] [ Previous message error: rpmdb open failed + cpanel ] [ In reply to ] [ Next in rpmdb: unable to join the environment thread ] [ Replies ] From:
Error Cannot Open Packages Database In /var/lib/rpm Redhat
Message-ID: <1243533087.4a1ecf1f25880@imp.free.fr> Selon Jeff Johnson
packages as examples. So I wrote a spec file, placed this spec file and the sources of the http://osdir.com/ml/linux.redhat.rpm.general/2002-12/msg00164.html packages to the right place (SOURCE and SPEC), ran an https://bugs.launchpad.net/bugs/1069350 rpmbuild -ba path/to/specfile/file.spec and got this error in the %install part : File must begin with "/" It curious, as my %file section looks like that : %file %defattr(-,root,root) /bin/ash.exe /man/man1/ash.1 Has anybody a good idea to help me ? Thanks in advance cannot open Yann PS : Here is my spec file --------------------------------------------- Summary: A Bourne Shell (/bin/sh) workalike Name: ash Version: 20020731 Release: 1 Serial: 1 Group: System Environment/Base License: GPL Vendor: Red Hat Software Packager: Yann Crausaz
RPM Edit Opinion Low Unassigned Edit You need to log in to change this bug's status. Affecting: RPM Filed here by: Daniel When: 2012-10-21 Completed: 2012-10-22 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance Opinion Low Assigned to Nobody Me Comment on this change (optional) Email me about changes to this bug report dkms (Debian) Edit New Unknown debbugs #741399 You need to log in to change this bug's status. Affecting: dkms (Debian) Filed here by: Mike Miller When: 2014-03-12 Target Distribution Baltix BOSS Juju Charms Collection Debian Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance New Unknown Assigned to unknown Remote Watch None, the status of the bug is updated manually. None, the status of the bug is updated manually. Debian Bug tracker #741324 Debian Bug tracker #741399 URL: The information about this bug in Launchpad is automatically pulled daily from the remote bug. This information was last pulled 22 hours ago. Comment on this change (optional) Email me about changes to this bug report dkms (Ubuntu) Edit Confirmed Undecided Unassigned Edit You need to log in to change this bug's status. Affecting: dkms (Ubuntu) Filed here by: Peter Wu When: 2014-02-21 Confirmed: 2014-07-12 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance Confirmed Undecided Assigned to Nobody Me Comment on this change (optional) Email me about changes to this bug report Trusty Confirmed Undecided Unassigned Edit You need to log in to change this bug's status. Affecting: dkms (Ubuntu Trusty) Filed here by: Robie Basak When: 2015-02-23 Confirmed: 2016-02-16 Package (Find…) Status Importance Confirmed Undecided Assigned to Nobody Me Comment on this change (optional) Email me about changes to this bug report rpm (Debian) Edit Fix Rel