[mythtv-users] Re: vmlinuz and rpm db4 problems (FC1, ATrpms)

Mr. Myth mythtv at blandford.net
Sun Jan 9 12:48:24 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?
>
>  
>
>>I have /boot/vmlinuz-2.4.22-1.2199.nptl_52.rhfc1.at.  I tried making a 
>>symlink to it named vmlinuz-2.4.22-1.2199.nptl, but that didn't help. 
>>What gives?  Even if I fix problem #2 below, I still have no ALSA.
>>    
>>
>
>That's another kernel and requires another alsa-kmdl package.
>
>  
>
>>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
>  
>

I read the bug report but it doesn't solve it for me either.

If I run the export, then rpm works ok.  The apt-get's only updated one 
package - tk.  After I unexport LD_ASSUME_KERNEL, then rpm gives the 
above error again.

Michael


More information about the mythtv-users mailing list