[mythtv-users] Re: vmlinuz and rpm db4 problems (FC1, ATrpms)
Mike Jasper
e394td at comcast.net
Sun Jan 9 14:20:30 EST 2005
Axel Thimm wrote:
> On Sat, Jan 08, 2005 at 09:57:25PM -0800, Mike Jasper wrote:
>
>>1) I was fooling around with ALSA tonight and uninstalled the
>>kernel-module-alsa package. I tried reinstalling it (also the alsa-kmdl
>>package), but got an error like this:
>>
>>The following packages have unmet dependencies:
>> kernel-module-alsa-2.4.22-1.2199.nptl: Depends:
>>/boot/vmlinuz-2.4.22-1.2199.nptl but it is not installable
>
>
> Do you have RedHat's updates in the sources.list?
You're right, I had that disabled. I re-enabled it.
>>2) I did an apt-get dist-upgrade tonight and now my rpm database seems
>>to be hosed. Tried finding a solution on Google but didn't come up with
>>much. Here's what I get why I try to do anything related to rpm:
>>
>># rpm -qa | grep kmdl
>>rpmdb: Berkeley DB library configured to support only DB_PRIVATE
>>environments
>>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
>
>
> Check out http://bugzilla.atrpms.net/show_bug.cgi?id=384:
>
> export LD_ASSUME_KERNEL=2.4.1
> rm -f /var/lib/rpm/__*
> rpm --rebuilddb
> apt-get update
> apt-get upgrade
> export -n LD_ASSUME_KERNEL
Ended up trying that last night, but I never had any files matching
/var/lib/rpm/__* anyway. I assumed an even earlier kernel and it didn't
work. Tried your approach this morning and it worked at first, but then
a bit later I was getting the DB_PRIVATE error once again.
I have given up and started a new FC3 install. Having problems with the
nvidia module though, so I'll start a new thread :-(
Thanks for your help, Axel.
More information about the mythtv-users
mailing list