[rhn-users] up2date problems with EL 3.0
Jay Biddle
jay_biddle at direcway.com
Tue Dec 28 00:11:20 UTC 2004
How do I determine what release of Red Hat I am running ?
Thanks
Daniel Wittenberg wrote:
>Try:
>rm /var/lib/rpm/__*
>rpm --rebuilddb
>up2date -l
>
>Dan
>
>On Mon, 2004-12-27 at 14:38 -0800, George Goffe wrote:
>
>
>>Howdy,
>>
>>I'm having troubles with up2date and I don't know what else.
>>
>>I started getting ssl errors and followed that path for a while by
>>updating the certificate and then upgrading up2date. Now I'm seeing
>>other errors and am prety well lost at this point. Here's what I'm
>>seeing (below). Does anyone have any ideas as to how to proceed?
>>
>>Regards and thanks,
>>
>>George...
>>
>>
>>[root at temecula tmp]# up2date
>>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/sbin/up2date", line 1174, in ?
>> sys.exit(main() or 0)
>> File "/usr/sbin/up2date", line 656, in main
>> ret = sanityChecks(fromDaemon, hasGui)
>> File "/usr/sbin/up2date", line 288, in sanityChecks
>> if cfg["useGPG"] and gpgUtils.checkGPGInstallation() == 2:
>> File "gpgUtils.py", line 31, in checkGPGInstallation
>> File "gpgUtils.py", line 75, in findKey
>> File "rpmUtils.py", line 102, in installedHeadersNameVersion
>>TypeError: rpmdb open failed
>>
>>[root at temecula tmp]# rpm -qa db4
>>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
>>no packages
>>
>>[root at temecula tmp]# rpm --version
>>RPM version 4.2.3
>>_______________________________________________
>>rhn-users mailing list
>>rhn-users at redhat.com
>>https://www.redhat.com/mailman/listinfo/rhn-users
>>
>>
>
>_______________________________________________
>rhn-users mailing list
>rhn-users at redhat.com
>https://www.redhat.com/mailman/listinfo/rhn-users
>
>
>
>
More information about the rhn-users
mailing list