Re: _rpm.error: rpmdb open failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 7/5/2013 2:13 PM, Ljubomir Ljubojevic wrote:
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@xxxxxxxxxxxx
<mailto:russell@xxxxxxxxxxxx>> 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??????



Hi Ljubomir,

This is installing into a separate install root (via --installroot), not the base system itself. This is then later used to create diskless PXE boot images for booting client systems.

This works fine on CentOS 6.3, but as you can see generates that error on CentOS 6.4. Trying to get the node used to create these images up to CentOS 6.4 if I can.
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum




[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux