Need help installing yadt-shell

3 views
Skip to first unread message

Mårten Gustafsson

unread,
Jun 23, 2015, 5:34:11 AM6/23/15
to yadt-...@googlegroups.com
I am trying to install yadt on a CentOS machine. I need some help because I have got stuck. 

[root@yadt yadtshell-1.9.1]# uname -a
Linux yadt 3.10.0-123.9.3.el7.x86_64 #1 SMP Thu Nov 6 15:06:03 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux


The contents of the yadtshell-config package (was hoping there is a --force flag):

[root@yadt ~]# mkdir /etc/yadtshell
[root@yadt ~]# echo "LOG_DIR_PREFIX='/var/log/yadtshell'" > /etc/yadtshell/loggingconf.py

Preparation installation sequence:

[root@yadt ~]# yum install wget.x86_64
[root@yadt ~]# cd /usr/local/src
[root@yadt src]# yum install git.x86_64
[root@yadt src]# git clone https://github.com/yadt/yadtshell
[root@yadt src]# cd yadtshell
[root@yadt yadtshell]# yum install epel-release
[root@yadt yadtshell]# yum install python-pip.noarch
[root@yadt yadtshell]# pip install pybuilder
[root@yadt yadtshell]# yum groupinstall "Development Tools"
[root@yadt yadtshell]# yum install python-devel.x86_64
[root@yadt yadtshell]# pyb install_dependencies
[root@yadt yadtshell]# pyb
[root@yadt yadtshell]# cd target/dist/yadtshell-1.9.1
[root@yadt yadtshell-1.9.1]# ./setup.py bdist_rpm
[root@yadt yadtshell-1.9.1]# yum install python-docopt.noarch
[root@yadt yadtshell-1.9.1]# yum install python-simplejson.x86_64

Dependencies:
[root@yadt yadtshell-1.9.1]# yum list python-twisted-core.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * extras: centos.uib.no
 * updates: centos.uib.no
Installed Packages
python-twisted-core.x86_64                            12.2.0-4.el7                            @base

[root@yadt yadtshell-1.9.1]# which hostexpand
/bin/hostexpand

[root@yadt yadtshell-1.9.1]# rpm -qf /bin/hostexpand
file /bin/hostexpand is not owned by any package

[root@yadt yadtshell-1.9.1]# hostexpand --version
hostexpand 1.0.2
 
 

Installation:
[root@yadt yadtshell-1.9.1]# yum install dist/yadtshell-1.9.1-0.noarch.rpm
Loaded plugins: fastestmirror
Examining dist/yadtshell-1.9.1-0.noarch.rpm: yadtshell-1.9.1-0.noarch
Marking dist/yadtshell-1.9.1-0.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package yadtshell.noarch 0:1.9.1-0 will be installed
--> Processing Dependency: python-twisted >= 12 for package: yadtshell-1.9.1-0.noarch
Loading mirror speeds from cached hostfile
 * extras: centos.uib.no
 * updates: centos.uib.no
--> Processing Dependency: hostexpand for package: yadtshell-1.9.1-0.noarch
--> Processing Dependency: yadtshell-config for package: yadtshell-1.9.1-0.noarch
--> Finished Dependency Resolution
Error: Package: yadtshell-1.9.1-0.noarch (/yadtshell-1.9.1-0.noarch)
           Requires: python-twisted >= 12
Error: Package: yadtshell-1.9.1-0.noarch (/yadtshell-1.9.1-0.noarch)
           Requires: hostexpand
Error: Package: yadtshell-1.9.1-0.noarch (/yadtshell-1.9.1-0.noarch)
           Requires: yadtshell-config
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

What can I do to solve this?

Thanks

Mårten

Maximilien Riehl

unread,
Jun 23, 2015, 3:56:22 PM6/23/15
to yadt-...@googlegroups.com

Hi,

Please open an issue on GitHub, we're trying to get rid of google code / google groups.

Basically you need to install the dependencies (twisted, hostexpand, the config).
You might want to build the yadtshell-config rpm yourself (with FPM for example, an empty package will do) and get the other RPMs from our bintray repo. @locolupo can help you with that if you open up an issue on github :-)

--
You received this message because you are subscribed to the Google Groups "YADT Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yadt-devel+...@googlegroups.com.
To post to this group, send email to yadt-...@googlegroups.com.
Visit this group at http://groups.google.com/group/yadt-devel.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages