gowrann

Member
Oct 23, 2011
15
0
51
cPanel Access Level
Website Owner
Hi,
Trying to install s3cmd tools.

I have added in the repo
But when i run
yum install s3cmd
I get dependency errors:

[[email protected] yum.repos.d]# yum install s3cmd
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package s3cmd.x86_64 0:1.0.0-4.1 will be installed
--> Processing Dependency: python(abi) = 2.4 for package: s3cmd-1.0.0-4.1.x86_64
--> Processing Dependency: python-elementtree for package: s3cmd-1.0.0-4.1.x86_64
--> Finished Dependency Resolution
Error: Package: s3cmd-1.0.0-4.1.x86_64 (s3tools)
Requires: python-elementtree
Error: Package: s3cmd-1.0.0-4.1.x86_64 (s3tools)
Requires: python(abi) = 2.4
Installed: python-2.6.6-37.el6_4.x86_64 (@updates)
python(abi) = 2.6
Available: python-2.6.6-36.el6.i686 (base)
python(abi) = 2.6
You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
sendmail-cf-8.14.4-8.el6.noarch has missing requires of sendmail = ('0', '8.14.4', '8.el6')
I see a similar issue on Amazon with a solution to use 'epel' repo:
But not too sure if this will conflict with cPanel set up....

Any thoughts on best way forward - I previously have installed s3cmd on a cPanel VPS with no issues but now I have this python-elementree dependency.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,205
363
Hello :)

You may want to consider downloading the source code package directly if you prefer to not use the "epel" repository. Here is an example of how to do this:

Code:
cd /root
wget http://sourceforge.net/projects/s3tools/files/s3cmd/1.5.0-alpha3/s3cmd-1.5.0-alpha3.tar.gz/download
tar -zxvf s3cmd-1.5.0-alpha3.tar.gz
cd s3cmd-1.5.0-alpha3
python ./setup.py install
python
 >>> import S3
Note that the download location and directory path depend on the version you decide to install.

Thank you.
 

gowrann

Member
Oct 23, 2011
15
0
51
cPanel Access Level
Website Owner
Hi Michael,
Thanks for the reply - yes that would solve the install.

If I wanted to use the 'epel' repo so the package is kept up to date - how do i get that working with cPanel

I tried to enable:
Code:
[[email protected] ~]# yum --enablerepo epel
Loaded plugins: fastestmirror, security


Error getting repository data for epel, repository not found