Re: _rpm.error: rpmdb open failed

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

 



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 gnome-applets gnome-panel gnome-session gnome-terminal metacity nautilus yelp expect bitmap-fonts desktop-backgrounds-basic xorg-x11-drivers xorg-x11-fonts-100dpi xorg-x11-fonts-75dpi xorg-x11-fonts-ISO8859-1-100dpi xorg-x11-fonts-ISO8859-1-75dpi xorg-x11-fonts-Type1 xorg-x11-fonts-misc xorg-x11-fonts-truetype xorg-x11-server-Xorg xorg-x11-xauth xorg-x11-xfs xorg-x11-xinit authconfig-gtk bitstream-vera-fonts dejavu-lgc-fonts firstboot gdm glx-utils krb5-auth-dialog openssh-askpass pirut pup rhgb rhn-setup-gnome system-config-date system-config-display system-config-network system-config-printer-gui system-config-services system-config-soundcard system-config-users vnc-server wdaemon xorg-x11-apps xorg-x11-twm xterm nss_ldap glx-utils dbus-x11 acl acpid amtu aspell at attr authconfig autoconf automake14 automake15 automake16 automake17 automake byacc ccid conman crash cscope ctags diffstat dos2unix doxygen dump ed fbset findutils finger fipscheck flex gettext glib gnupg hdparm imake indent kbd libdmx libevent libhugetlbfs libpfm libtool libXfont libXi libXpm libXau libXtst libXres libXaw libXrender libXft libXext libXmu libXi libXxf86vm libXv libXScrnSaver libXfontcache libXt libXp libXres libXfontcache libXft libXdmcp libXau libXrender libXrandr libXxf86misc libXfixes libXevie libX11 libXfixes libXrandr libXxf86vm libXdmcp libXt libXinerama libXcursor libXTrap libXpm libXext libXcursor libXTrap libX11 libXp libXxf86dga libXmu libXinerama lsof mcelog mdadm mgetty mkbootdisk mlocate mtools mtr nc neon nscd oddjob pax pfmon pinfo pirut pstack pycairo pygtk2 pyorbit pyparted pyspi quota rdist readahead rhgb rhpl rhpxl rmt rootfiles screen setarch setools setserial setuptool sos sox specspo splint sudo swig symlinks syslinux talk tmpwatch tree unix2dos valgrind vconfig vte wdaemon words xdelta xmlsec1 xsri xulrunner yelp zip aspell-en authconfig-gtk bitmap-fonts bitstream-vera-fonts ifd-egate oddjob-libs pcsc-lite pkinit-nss pygtk2-libglade rng-utils zisofs-tools nspr unixODBC gnome-utils gnome-session gftp mesa-libGLU blas lapack rcs flex texinfo glibc-devel boost boost-devel bison curl postgresql-libs squashfs-tools tclx tclx-devel apr apr-devel make ksh net-snmp-utils sendmail bash nfs-utils stunnel dhclient kernel openssh-server openssh-clients busybox-anaconda wget OpenIPMI OpenIPMI-libs OpenIPMI-devel OpenIPMI-perl OpenIPMI-python OpenIPMI-tools anacron binutils bind-utils compat-db compat-gcc-34 compat-gcc-34-c++ compat-gcc-34-g77 compat-glibc compat-glibc-headers compat-libcom_err compat-libf2c-34 compat-libgcc-296 compat-libstdc++-296 compat-libstdc++-33 compat-openldap compat-readline43 compat-slang coreutils file findutils gawk nano nmap ntp openmpi openmpi-devel perl psacct psmisc psutils readline readline-devel rcs rpm rpm-build rsh rsh-server rsync smartmontools stunnel strace star sysfsutils sysklogd sysstat tcl tcl-devel tclx tclx-devel tcpdump tcp_wrappers tcsh telnet telnet-server tftp time tix tix-devel tk tk-devel traceroute tzdata-2008i-1 vim-common vim-enhanced vim-minimal vixie-cron which ypbind yp-tools zsh eject fontconfig conftconfig-devel ftp freetype freetype-devel gcc gcc-c++ gcc-g77 gdb libaio libaio-devel libart_lgpl libattr libcap libevent libevent-devel libf2c libgcc libgcrypt libgpg-error libgssapi libgssapi-devel libidn libjpeg libmng libmng-static libogg libpcap libpng libuser libxml2 libxml2-python man minicom ntsysv openmotif22 openmotif openmotif-devel openmotif21 pam pam_ccreds pam_krb5 pam_passwdqc pam_smb passwd rdate tar vnc vnc-server xterm yum yum-changelog yum-fastestmirror yum-keys yum-list-data yum-metadata-parser yum-tmprepo yum-updatesd yum-upgrade-helper yum-utils yum-verify zlib zlib-devel sharutils 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> 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!



  Installing : compat-gcc-34-c++-3.4.6-4.x86_64                         713/714

  Installing : compat-libstdc++-296-2.96-138.i386                       714/714
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 285, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 219, in main
    return_code = base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 586, in doTransaction
    resultobject = self.runTransaction(cb=cb)
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1588, in runTransaction
    self.rpmdb.dropCachedDataPostTransaction(list(self.tsInfo))
  File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line 343, in dropCachedDataPostTransaction
    pkg = self.searchNevra(n, e, v, r, a)
  File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line 1197, in searchNevra
    return self._search(name, epoch, ver, rel, arch)
  File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line 1271, in _search
    mi = ts.dbMatch('name', name)
_rpm.error: rpmdb open failed
yum invocation failed



_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum




_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum

_______________________________________________
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