Thank you very much for the suggestion, I'll give it a shot.

BTW, I also tried running the command

ltsp-build-client

without any --arch specified but it had the same errors.

During the installation tests I also tried to remove the __db.0001, __db.0002, 
__db.0003 and __db_0004 with

rm  /var/lib/rpm/__db*  whenever they appeared, as some web pages suggested in 
regard to the db3 errors in the root.log.  But the same error messages showed 
up.

--- On Tue, 6/18/13, Joshua Trimm  wrote:

> From: Joshua Trimm 
> Subject: Re: [Ltsp-discuss] ltsp-build-client failed after 78% completion
> To: ltsp-discuss@lists.sourceforge.net
> Date: Tuesday, June 18, 2013, 11:30 PM
> https://bugs.launchpad.net/ltsp/+bug/1188119
> 
> Once fix rpm's have been processed you will need to update
> them through 
> yum, then run:
> 
> $ ltsp-build-client --release epel-6-x86_64
> 
> On 6/18/13 4:46 PM, Km - wrote:
> > Hi, I am installing LTSP on CentOS 6.4 64-bit machine
> using the procedure at
> >
> > http://wiki.ltsp.org/wiki/Category:Fedora
> >
> > * How to install
> >    rpm --import http://ltsprepo.s3.amazonaws.com/rpm/RPM-GPG-KEY-ltsp
> >    rpm -Uvh 
http://ltsprepo.s3.amazonaws.com/rpm/el6/x86_64/ltsp-release-5-9.el6.noarch.rpm
> >    yum install ltsp-server
> >    Edit config files in /etc/ltsp/
> >    ltsp-build-client
> >    Read the docs!!
> >
> >
> > I got to running the ltsp-build-client part.
> >
> > I ran the command
> >
> > ltsp-build-client --arch=x86_64
> >
> > It installed 78% then bombed out with the error:
> >
> > Error encountered running command: setarch i686
> /usr/bin/mock -r epel-6-i386  --target=i686
> --configdir=/etc/ltsp/mock --arch=i686 --copyin
> /etc/sysconfig/firstboot /etc/sysconfig/firstboot
> > check /opt/ltsp/mock/epel-6-i386/result/root.log for
> more detailed information
> >
> > I typed
> >
> > rm /var/lib/rpm/__db*
> >
> > as suggested by some web pages and ran the command a
> second time with
> >
> > ltsp-build-client
> >
> > But got the same error again.
> >
> > **  Did anyone have similar problems when
> installing ltsp?  Is this a problem with db3, yum, gpg
> key or what?
> >
> > [root@localhost2 result]# rpm -qa |grep -i db3
> > [root@localhost2 result]#
> >
> > [root@localhost2 rpm]# rpm -qa | grep -i db
> > dbus-1.2.24-7.el6_3.x86_64
> > eggdbus-0.6-3.el6.x86_64
> > foomatic-db-filesystem-4.0-7.20091126.el6.noarch
> > libtdb-1.2.10-1.el6.x86_64
> > gdbm-1.8.0-36.el6.x86_64
> > dbus-glib-0.86-6.el6.x86_64
> > db4-utils-4.7.25-17.el6.x86_64
> > m17n-db-1.5.5-1.1.el6.noarch
> > dbus-python-0.83.0-6.1.el6.x86_64
> > foomatic-db-ppds-4.0-7.20091126.el6.noarch
> > mobile-broadband-provider-info-1.20100122-1.el6.noarch
> > db4-4.7.25-17.el6.x86_64
> > dbus-libs-1.2.24-7.el6_3.x86_64
> > foomatic-db-4.0-7.20091126.el6.noarch
> > m17n-db-datafiles-1.5.5-1.1.el6.noarch
> > [root@localhost2 rpm]#
> >
> > [root@localhost2 result]# rpm -qa | grep -i gpg
> > gpg-pubkey-c105b9de-4e0fd3a3
> > libgpg-error-1.7-4.el6.x86_64
> > pygpgme-0.1-18.20090824bzr68.el6.x86_64
> > gpg-pubkey-dd41c6ea-5152c1fa
> > gpgme-1.1.8-3.el6.x86_64
> > [root@localhost2 result]#
> >
> >
> > I also tried re-installing ltsp-server with
> >
> > yum --nogpgcheck install ltsp-server
> >
> > But the OS said that ltsp-server has already been
> installed.
> >
> > Thank you very much for your suggestions.
> >
> > I checked the
> /opt/ltsp/mock/epel-6-i386/result/root.log and it says:
> >
> > ...
> > Transaction Summary
> >
> 
================================================================================
> > Install     108 Package(s)
> >
> > Total download size: 95 M
> > Installed size: 210 M
> > rpmdb: Build signature doesn't match environment
> > error: db3 error(-30971) from dbenv->open:
> DB_VERSION_MISMATCH: Database environment version
> mismatch  <========  Error
> > error: cannot open Packages index using db3 - 
> (-30971)   <============
> > error: cannot open Packages database in /var/lib/rpm
> > rpmdb: Build signature doesn't match environment
> > error: db3 error(-30971) from dbenv->open:
> DB_VERSION_MISMATCH: Database environment version
> mismatch  <=====
> > error: cannot open Packages database in
> /var/lib/rpm   <================
> > error: /etc/pki/rpm-gpg/RPM-GPG-KEY-ltsp: key 1 import
> failed.    <===============
> >
> > Installed:
> >    dracut-network.noarch 0:004-303.el6
> >    dracut-tools.noarch 0:004-303.el6
> >    epel-release.noarch 0:6-8
> >    freerdp.i686 0:1.0.1-7.el6
> >    fuse-sshfs.i686 0:2.4-1.el6
> >    ldm.i686 0:2.2.11-4.el6
> > ...
> >
> >    rtkit.i686 0:0.5-1.el6
> >    speex.i686 0:1.2-0.12.rc1.1.el6
> >    terminus-fonts.noarch 0:4.30-1.el6
> >    ttmkfdir.i686 0:3.0.9-32.1.el6
> >    urw-fonts.noarch 0:2.4-10.el6
> >    vim-minimal.i686 2:7.2.411-1.8.el6
> >    xorg-x11-font-utils.i686 1:7.2-11.el6
> >
> >
> > DEBUG util.py:314:  Executing command:
> ['/bin/umount', '-n',
> '/opt/ltsp/mock/epel-6-i386/root/proc/filesystems']
> with env {'LANG': 'en_US.UTF-8',
> 'TERM': 'vt100', 'SHELL':
> '/bin/bash', 'HOSTNAME': 'mock',
> 'HOME': '/builddir', 'PATH':
> '/usr/bin:/bin:/usr/sbin:/sbin'}
> >
> > ...
> >
> > DEBUG util.py:354:  Child return code was: 0
> > DEBUG util.py:314:  Executing command:
> ['/bin/umount', '-n', '-l',
> '/opt/ltsp/mock/epel-6-i386/root/proc'] with env
> {'LANG': 'en_US.UTF-8', 'TERM':
> 'vt100', 'SHELL': '/bin/bash',
> 'HOSTNAME': 'mock', 'HOME':
> '/builddir', 'PATH':
> '/usr/bin:/bin:/usr/sbin:/sbin'}
> > DEBUG util.py:354:  Child return code was: 0
> > DEBUG util.py:116:  kill orphans
> > INFO backend.py:1014:  Mock Version: 1.1.30
> > DEBUG util.py:116:  kill orphans
> > INFO backend.py:1014:  Mock Version: 1.1.30
> > DEBUG util.py:116:  kill orphans
> > INFO backend.py:1014:  Mock Version: 1.1.30
> > DEBUG util.py:116:  kill orphans
> > INFO backend.py:1014:  Mock Version: 1.1.30
> > DEBUG util.py:116:  kill orphans
> > INFO backend.py:1014:  Mock Version: 1.1.30
> > DEBUG util.py:116:  kill orphans
> > INFO backend.py:1014:  Mock Version: 1.1.30
> > DEBUG util.py:116:  kill orphans
> > INFO backend.py:1014:  Mock Version: 1.1.30
> > DEBUG util.py:116:  kill orphans
> > INFO backend.py:1014:  Mock Version: 1.1.30
> > DEBUG util.py:116:  kill orphans
> > INFO backend.py:1014:  Mock Version: 1.1.30
> > DEBUG util.py:116:  kill orphans
> >
> >
> 
------------------------------------------------------------------------------
> > This SF.net email is sponsored by Windows:
> >
> > Build for Windows Store.
> >
> > http://p.sf.net/sfu/windows-dev2dev
> >
> _____________________________________________________________________
> > Ltsp-discuss mailing list.   To
> un-subscribe, or change prefs, goto:
> >        https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> > For additional LTSP help,   try #ltsp
> channel on irc.freenode.net
> 
> 
> 
------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
> 
> Build for Windows Store.
> 
> http://p.sf.net/sfu/windows-dev2dev
> _____________________________________________________________________
> Ltsp-discuss mailing list.   To un-subscribe,
> or change prefs, goto:
>       https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help,   try #ltsp channel
> on irc.freenode.net
>

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to