[Yum] _rpm.error: rpmdb open failed

Ljubomir Ljubojevic centos at plnet.rs
Fri Jul 5 19:13:56 UTC 2013


On 07/05/2013 07:46 PM, Russell Jones wrote:
> Here you go:
>
> /usr/bin/python /usr/bin/yum -y -c /tmp/genimage.30802.yum.conf
> --installroot=/install/netboot/centos5.4/x86_64/rootimg/ --disablerepo=*
> --enablerepo=centos5.4-x86_64-0 install bc mysql SysVinit control-center
<snip>
> jpackage-utils jwhois libutempter sos util-linux openssl097a kdebase.x86_64
>
>
> Contents of /tmp/genimage.30802.yum.conf:
> [centos5.4-x86_64-0]
> name=centos5.4-x86_64-0
> baseurl=file:///install/centos5.4/x86_64
> gpgpcheck=0
>
>
>
>
> On 7/5/2013 11:29 AM, Chris Kittlitz wrote:
>> What command are you executing?
>>
>>
>> On Fri, Jul 5, 2013 at 10:15 AM, Russell Jones <russell at jonesmail.me
>> <mailto:russell at jonesmail.me>> wrote:
>>
>>     Hi all,
>>
>>     Can anyone assist me with understanding what the below error
>>     means? This occurs when doing a "yum install" into a rootdir with
>>     CentOS 5 packages on a CentOS 6.4 server. This only occurs
>>     specifically with CentOS 6.4, if I do the exact same command on
>>     CentOS 6.3 it works fine. Thank you in advance for the help!
>>

Why in hell are you installing 5.x packages on 6.4 system??????

-- 
Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

StarOS, Mikrotik and CentOS/RHEL/Linux consultant


More information about the Yum mailing list