search for: rpmdb

Displaying 20 results from an estimated 119 matches for "rpmdb".

2005 Jul 20
4
Yum/rpm error (rpmdb versioning issue?)
Has anyone seen this before? [root at shelob rpm]# yum update rpmdb: Program version 4.2 doesn't match environment version error: db4 error(22) from dbenv->open: Invalid argument error: cannot open Packages index using db3 - Invalid argument (22) error: cannot open Packages database in /var/lib/rpm Traceback (most recent call last): File "/usr/bin/yum...
2004 Sep 21
1
yum updated to 3.3, rpmdb corrupted
I'd guess this is probably something pretty specific to my test box, but when I yum updated to 3.3 my rpmdb got totally hosed. Unfortunately, I didn't save the error that occured at the time because a rpm --rebuilddb _appeared_ to fix the problem. Unfortunately I found out later that I was left with a db that only contained a subset of the actual install base. I'm now trying to recover from th...
2019 Sep 14
2
RPMDB problem
When doing yum operations I get this message at the end of whatever yum was doing: ** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows: brscan4-0.4.8-1.x86_64 is a duplicate with brscan4-0.4.3-1.x86_64 It is true, if I do "rpm -qa | grep brscan" it shows two of them. what's the best/proper way to deal with this? -remove both, reinstall one? -remove one? which one? I do...
2013 May 18
1
CentOS 5.9 LiveCD build on CentOS 6.4?
Is it possible to create CentOS 5.9 LiveCD on CentOS 6.4 system? I am trying but getting following errors (rpmdb related): <snip> Installing: cups-pdf ################### [ 692/1011] semodule: SELinux policy is not managed or store cannot be accessed. rpmdb: /var/lib/rpm/Packages: unsupported hash version: 9 error: cannot open Packages index using db3 - Invalid argument (22) error: canno...
2019 Sep 14
0
RPMDB problem
On Sat, 2019-09-14 at 14:09 -0400, Fred Smith wrote: > When doing yum operations I get this message at the end of whatever > yum was doing: > > ** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows: > brscan4-0.4.8-1.x86_64 is a duplicate with brscan4-0.4.3-1.x86_64 > > It is true, if I do "rpm -qa | grep brscan" it shows two of them. > > what's the best/proper way to deal with this? > -remove both, reinstall one...
2008 Jun 22
1
problems installing samba
Dear all, I am trying to install Samba 3.0.30 on a new Centos 5 machine and I am getting following error. Samba has been downloaded form setnet. Could some please let me know how to fix this? rpmdb: Program version 4.3 doesn't match environment version error: db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch warning: cannot open Solve database in /usr/lib/rpmdb/x86_64-redhat-linux/CentO rpmdb: Program version 4.3 doesn't match environ...
2012 Jan 05
3
yum warning...
...om time to time I catch a yum warning. Last time it was today: # yum update ... Downloading Packages: vsftpd-2.2.2-6.el6_2.1.x86_64.rpm???????????????????????????????? | 149 kB???? 00:01???? Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Warning: RPMDB altered outside of yum. ? Updating?? : vsftpd-2.2.2-6.el6_2.1.x86_64???????????????????????????????????????? 1/2 ? Cleanup??? : vsftpd-2.2.2-6.el6_0.1.x86_64???????????????????????????????????????? 2/2 Updated: ? vsftpd.x86_64 0:2.2.2-6.el6_2.1?????????????????????????????????????????????????????...
2008 Jun 22
1
problems installing samba
Dear all, I am trying to install Samba 3.0.30 on a new Centos 5 machine and I am getting following error. Samba has been downloaded form setnet. Could some please let me know how to fix this? rpmdb: Program version 4.3 doesn't match environment version error: db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch warning: cannot open Solve database in /usr/lib/rpmdb/x86_64-redhat-linux/CentO rpmdb: Program version 4.3 doesn't match environ...
2008 Jan 10
4
yum hangs when Reading Local RPMDB
All of a sudden yum hangs on a Centos 4.5 (updated to the latest patch before 4.6) when I try to use it. "clean metadata" didn't help. The output of -d5 shows it gets to the point of "Reading Local RPMDB" and then sits there. The process doesn't die, but doesn't seem to do anything from that point on. strace shows this: futex(0xb76dcae8, FUTEX_WAIT, 2, NULL I remember that futex hangs have been mentioned in the past when doing "big" updates from 4.x to 4.y, but this wasn...
2004 Sep 24
0
Fwd: Re: yum updated to 3.3, rpmdb corrupted
Quoting Martin Hamant <mh at accelance.fr>: > on my freshly updated system ( 3.3 ): > > # cat /etc/redhat-release > CentOS release 3.3 (final) > # rpm -qa | wc -l > 483 > > And no such error message ... Indeed, in fact I'd be surprised if everyone was having this problem; I don't suppose 3.3 would have been released if they were. What I am suggesting is
2016 Dec 13
2
ipa rpm conflicts
does anybody see this: unning transaction Warning: RPMDB altered outside of yum. ** Found 8 pre-existing rpmdb problem(s), 'yum check' output follows: ipa-admintools-4.4.0-14.el7.centos.noarch has installed conflicts freeipa-admintools: ipa-admintools-4.4.0-14.el7.centos.noarch ipa-client-4.4.0-14.el7.centos.x86_64 has installed conflicts fre...
2020 Aug 26
2
[supermin PATCH] rpm: check for SQLite-based RPM DB
...it a/src/ph_rpm.ml b/src/ph_rpm.ml index dbe3bda..0821126 100644 --- a/src/ph_rpm.ml +++ b/src/ph_rpm.ml @@ -234,7 +234,10 @@ let rpm_package_name pkg = rpm.name let rpm_get_package_database_mtime () = - (lstat "/var/lib/rpm/Packages").st_mtime + try + (lstat "/var/lib/rpm/rpmdb.sqlite").st_mtime + with Unix_error (ENOENT, _, _) -> + (lstat "/var/lib/rpm/Packages").st_mtime (* Return the best provider of a particular RPM requirement. * -- 2.26.2
2016 Dec 13
1
ipa rpm conflicts
On Tue, Dec 13, 2016 at 04:44:06PM +0000, lejeczek wrote: > does anybody see this: > > unning transaction > Warning: RPMDB altered outside of yum. > ** Found 8 pre-existing rpmdb problem(s), 'yum check' output > follows: > ipa-admintools-4.4.0-14.el7.centos.noarch has installed conflicts > freeipa-admintools: ipa-admintools-4.4.0-14.el7.centos.noarch > ipa-client-4.4.0-14.el7.centos.x86_64 has in...
2007 Aug 22
0
rpm command freezing
...4096 295489 /root rpmq 10385 root rtd DIR 8,3 4096 2 / rpmq 10385 root txt REG 8,3 15672 1920708 /usr/lib/rpm/rpmq rpmq 10385 root mem REG 8,3 104436 558147 /lib64/ld-2.3.2.so rpmq 10385 root mem REG 0,56 16384 4804488 /mounted/etc/rpmdb/__db.001 (filer:/vol/v_s02/apps/sss) rpmq 10385 root mem REG 8,3 151168 1297631 /usr/lib64/librpmbuild-4.2.so rpmq 10385 root mem REG 8,3 327352 1297057 /usr/lib64/librpm- 4.2.so rpmq 10385 root mem REG 8,3 1025504 1296970 /usr/lib64/librpmdb- 4.2.so rpmq 10...
2005 Feb 27
1
RPM errors after moving /lib/tls to /lib/tls.disabled
Hello, I have been testing the latest unstable version of xen and noticed that after I move /lib/tls to /lib/tls.disabled I start receiving errors whenever I try to execute an rpm command (or yum commands - related to rpm). Just as an example here''s an error: rpm --import RPM-GPG-KEY rpmdb: unable to initialize mutex: Function not implemented rpmdb: /var/lib/rpm/__db.001: unable to initialize environment lock: Function not implemented error: db4 error(38) from dbenv->open: Function not implemented error: cannot open Packages index using db3 - Function not implemented (38) error: c...
2006 Jul 07
3
Upgrade 3.4 --> 3.7 went awry: rpmdb hosed
I installed CentOS 3.4 from a CD image I'd burned a while ago, and then attempted to update with yum to 3.7. All the packages installed OK, but at the very end of final cleanup I got an error message from db4 saying to "RUN RECOVERY". I did "rpm --rebuilddb" which may have been the wrong thing -- it issued an error about "pages missing". I then ran it again,
2017 Jul 06
2
ntsysv and chkconfig update error
...sv-1.7.2-1.el7_3.1.x86_64 (updates) > Requires: chkconfig = 1.7.2-1.el7_3.1 > Installed: chkconfig-1.3.61-4.el7.x86_64 (@anaconda) > chkconfig = 1.3.61-4.el7 > You could try using --skip-broken to work around the problem > ** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows: > ntsysv-1.7.2-1.el7.x86_64 has missing requires of chkconfig = ('0', > '1.7.2', '1.el7') Now, I've verified the chkconfig v1.7.2 package is available on the mirror we're using, I've rebuilt the RPM databas...
2020 Aug 27
1
Re: [supermin PATCH] rpm: check for SQLite-based RPM DB
...m.ml > > +++ b/src/ph_rpm.ml > > @@ -234,7 +234,10 @@ let rpm_package_name pkg = > > rpm.name > > > > let rpm_get_package_database_mtime () = > > - (lstat "/var/lib/rpm/Packages").st_mtime > > + try > > + (lstat "/var/lib/rpm/rpmdb.sqlite").st_mtime > > + with Unix_error (ENOENT, _, _) -> > > + (lstat "/var/lib/rpm/Packages").st_mtime > > > > (* Return the best provider of a particular RPM requirement. > > Yes this looks fine, ACK. If you really wanted you could factor...
2005 Mar 15
3
Asterisk@Home Install Problem
Whenever I try to install Asterisk@Home, I get this error at about 43% There was an error installing rpmdb-redhat-3.4-0.20050105. This can indicate media failure, lack of disk space, and/or hardware problems. This is a fatal error and your install will be aborted. Please verify your media and try your install again. I've gotten this on 3 different cd's I've burned. To make sure it wasn'...
2011 Dec 23
2
yum --import of RPMforge
....5.2-2.el6.rf.*.rpm results in: error: rpmforge-release-0.5.2-2.el6.rf.*.rpm: open failed: No such file or directory (Turning -vv on the -import) D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key D: loading keyring from rpmdb D: opening db environment /var/lib/rpm cdb:mpool:joinenv D: opening db index /var/lib/rpm/Packages rdonly mode=0x0 D: locked db index /var/lib/rpm/Packages D: opening db index /var/lib/rpm/Name rdonly mode=0x0 D: read h# 983 Header sanity check: OK D: added key gpg-pubke...