I'm trying to install Sphinx search on a CentOS VPS via SSH but I keep getting dependency issues that I can't seem to resolve.
Here's the OS I'm using:
cat /etc/redhat-release
CentOS 6.4 (Final)
uname -a
Linux host.example.com 2.6.32-042stab074.10 #1 SMP Fri Mar 1 09:18:44 MSK 2013 i686 i686 i386 GNU/Linux
This to me looks like I need the 32-bit CentOS 6 rpm so I tried to install it with this command:
sudo yum install http://sphinxsearch.com/files/sphinx-2.0.8-1.rhel6.i386.rpm
but I get the following error message:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.advancedhosters.com
* extras: centos.mirror.constant.com
* updates: mirror.lug.udel.edu
base | 3.7 kB 00:00
extras | 3.5 kB 00:00
updates | 3.4 kB 00:00
Setting up Install Process
sphinx-2.0.8-1.rhel6.i386.rpm | 5.6 MB 00:30
Examining /var/tmp/yum-root-oMekz6/sphinx-2.0.8-1.rhel6.i386.rpm: sphinx-2.0.8-1.rhel6.i386
Marking /var/tmp/yum-root-oMekz6/sphinx-2.0.8-1.rhel6.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package sphinx.i386 0:2.0.8-1.rhel6 will be installed
--> Processing Dependency: libmysqlclient.so.16 for package: sphinx-2.0.8-1.rhel6.i386
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16) for package: sphinx-2.0.8-1.rhel6.i386
--> Finished Dependency Resolution
Error: Package: sphinx-2.0.8-1.rhel6.i386 (/sphinx-2.0.8-1.rhel6.i386)
Requires: libmysqlclient.so.16
Error: Package: sphinx-2.0.8-1.rhel6.i386 (/sphinx-2.0.8-1.rhel6.i386)
Requires: libmysqlclient.so.16(libmysqlclient_16)
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0
sendmail-cf-8.14.4-8.el6.noarch has missing requires of sendmail = ('0', '8.14.4', '8.el6')
No matter what I try I always seem to be missing libmysqlclient.so.16.
Any idea where I can find this package?
yum install mysql-devel
should do it.
Install the remi repository:
[http://blog.famillecollet.com/pages/Config-en]
Enterprise Linux 6 (with EPEL) i386 or x86_64
wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
then install compat-mysql51
yum --enablerepo=remi install compat-mysql51
then install sphinx from the rpm downloaded
yum localinstall sphinx-2.1.2-1.rhel6.SYSTEM-VERSION.rpm
Use the SphinxSearch docker files (docker hub link) to easily install SphinxSearch.
Grab it:
docker pull leodido/sphinxsearch:latest
If you want to see how to compile from source (which I recommend as the better mode to install SphinxSearch), look into them - e.g., here.
Related
I tried following the instructions on nodesource by running these commands as root:
curl --silent --location https://rpm.nodesource.com/setup_8.x | bash -
yum install -y nodejs
But when I run node -v afterward I can see that it only installed 0.10.48. I can see in the output of the second command that it's selecting the wrong version of the package for download:
Loaded plugins: fastestmirror, priorities
Setting up Install Process
Loading mirror speeds from cached hostfile
* epel: mirror.steadfast.net
* remi: repo1.sea.innoscale.net
* remi-safe: repo1.sea.innoscale.net
2418 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package nodejs.x86_64 0:0.10.48-3.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================================================================================================
Package Arch Version Repository Size
=========================================================================================================================================================================================
Installing:
nodejs x86_64 0.10.48-3.el6 epel 2.1 M
Transaction Summary
=========================================================================================================================================================================================
Install 1 Package(s)
Total download size: 2.1 M
Installed size: 7.1 M
Downloading Packages:
nodejs-0.10.48-3.el6.x86_64.rpm | 2.1 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : nodejs-0.10.48-3.el6.x86_64 1/1
Verifying : nodejs-0.10.48-3.el6.x86_64 1/1
Installed:
nodejs.x86_64 0:0.10.48-3.el6
Complete!
I've tried uninstalling with yum remove -y nodejs npm and then running rm -fv /etc/yum.repos.d/nodesource*, yum clean all, yum update and then reinstalling but nothing seems to work.
Why doesn't it resolve to the v8 package?
I had the same problem few days ago and I was not able to install Node version 8 via the nodesource repository.
In fact, there is no setup_8.x script in the rpm repository yet.
I end up with n package to get Node version 8:
# yum install nodejs // you need to have npm installed
# npm install -g n
# n stable
# node -v // v8.4.0
Aim: Install latest docker (v1.12) in rhel 7 in offline mode
I got dependency error while installing docker 1.12 in rhel 7, and I
tried to find those dependencies in internet but didn't found those
dependencies except selinux-policy rpm.
I tried to install after yum update.
I found dependencies of docker 1.7 on internet, installed in rhel 6.7
but could not make same way for docker 1.12 in rhel 7
I tried below things
Installed docker 1.12 when system(test machine) is connected to internet and after installing docker 1.12 all dependencies will cache in /var/cahce/yum/rhel7/ location and search for above dependencies but didn't found.
Crated local yum repo and mounted iso file and then did yum update
and tried to install docker but still give same dependencies error.
I'm not sure how above steps are correct or right procedure, I just tired but anything didn't work.
my production environment does not have internet connection and it has only intranet connection only.
Can some one provide or advice me how to solve this and how to proceed this kind of problems?
Thanks in advance!
I'm kind of surprised you can't find at least the non-docker packages here as these come from standard CentOS repositories. In general, I'd use something like:
# yum provides "*/<filename>"
e.g.
# yum provides "*/libsystemd.so.*"
This obviously won't help if you've not configured the repositories on your target system, but it's pretty easy to run a Vagrant VM and see what's required there.
$ vagrant init bento/centos-7.2
$ vagrant ssh
then follow the docs at https://docs.docker.com/engine/installation/linux/centos/:
$ sudo tee /etc/yum.repos.d/docker.repo <<-'EOF'
[dockerrepo]
name=Docker Repository
baseurl=https://yum.dockerproject.org/repo/main/centos/7/
enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg
EOF
and install it:
$ sudo yum install docker-engine
On mine, this gives:
[vagrant#localhost ~]$ sudo yum install docker-engine
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.ukhost4u.com
* extras: mirror.vorboss.net
* updates: mirror.vorboss.net
Resolving Dependencies
--> Running transaction check
---> Package docker-engine.x86_64 0:1.12.1-1.el7.centos will be installed
--> Processing Dependency: docker-engine-selinux >= 1.12.1-1.el7.centos for package: docker-engine-1.12.1-1.el7.centos.x86_64
--> Processing Dependency: libseccomp.so.2()(64bit) for package: docker-engine-1.12.1-1.el7.centos.x86_64
--> Processing Dependency: libltdl.so.7()(64bit) for package: docker-engine-1.12.1-1.el7.centos.x86_64
--> Running transaction check
---> Package docker-engine-selinux.noarch 0:1.12.1-1.el7.centos will be installed
---> Package libseccomp.x86_64 0:2.2.1-1.el7 will be installed
---> Package libtool-ltdl.x86_64 0:2.4.2-21.el7_2 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================
Package Arch Version Repository Size ============================================================================================================
Installing:
docker-engine x86_64 1.12.1-1.el7.centos dockerrepo 19 M Installing for dependencies:
docker-engine-selinux noarch 1.12.1-1.el7.centos dockerrepo 28 k libseccomp x86_64 2.2.1-1.el7 base 49 k libtool-ltdl x86_64 2.4.2-21.el7_2 updates 49 k
Transaction Summary
============================================================================================================
Install 1 Package (+3 Dependent packages)
Total download size: 19 M
Installed size: 79 M
Running that yum provides command I gave above shows you that e.g. libsystemd.so* is in the systemd-libs package and available in the "updates" repo .. see http://mirror.centos.org/centos/7/updates/x86_64/Packages/
Try this command:
yum install libtool-ltdl
After this re-run installation command.
This will be done automatically, if you have "docker-ce" repository.
Good luck!
I am trying to install snort on an amazon virtual machine, and I am running into a dependency issue. I would really appreciate any help! :D
Operating system info below:
# uname -a
Linux hostname 4.1.13-19.30.amzn1.x86_64 #1 SMP Fri Dec 11 03:42:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
I have downloaded the snort rpm, (the centos version as that is what amazon linux is based on, I have also tried directly with yum, and I have encountered the same issue). Evidence below:
# yum localinstall snort-2.9.8.0-1.centos7.x86_64.rpm
Loaded plugins: priorities, update-motd, upgrade-helper
Examining snort-2.9.8.0-1.centos7.x86_64.rpm: 1:snort-2.9.8.0-1.x86_64
Marking snort-2.9.8.0-1.centos7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package snort.x86_64 1:2.9.8.0-1 will be installed
--> Processing Dependency: libdnet.so.1()(64bit) for package: 1:snort-2.9.8.0-1.x86_64
--> Processing Dependency: libpcre.so.1()(64bit) for package: 1:snort-2.9.8.0-1.x86_64
--> Finished Dependency Resolution
Error: Package: 1:snort-2.9.8.0-1.x86_64 (/snort-2.9.8.0-1.centos7.x86_64)
Requires: libdnet.so.1()(64bit)
Error: Package: 1:snort-2.9.8.0-1.x86_64 (/snort-2.9.8.0-1.centos7.x86_64)
Requires: libpcre.so.1()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I check the depencdancy with yum, evidence below:
# yum provides libdnet
Loaded plugins: priorities, update-motd, upgrade-helper
libdnet-1.11-1.1.el3.rf.x86_64 : Simple portable interface to lowlevel networking routines
Repo : installed
Could the issue be related to a symbolic link?
Or could it be an operating system incompatibility issue?
Any help at all would be greatly appreciated! :D
Thanks!
This finally fixed the libdnet error for me:
sudo yum install libdnet-devel.x86_64 --enablerepo=epel
I also had to install these through yum to get Snort and DAQ to configure and make properly:
bison.x86_64
flex.x86_64
libpcap.x86_64
pcre-devel.x86_64
Those four didn't require the EPEL (extended package) repo from yum.
I get the this error when i try yo install phpmyadmin on CentOS 6.5 VPS using this.
COMMAND :
sudo yum install phpmyadmin
ERROR :
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.solarvps.com
* epel: epel.mirror.constant.com
* extras: mirror.wiredtree.com
* rpmforge: repoforge.mirror.constant.com
* updates: mirrors.lga7.us.voxel.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package phpmyadmin.noarch 0:2.11.11.3-2.el6.rf will be installed
--> Processing Dependency: php-mbstring >= 4.1.0 for package: phpmyadmin-2.11.11.3-2.el6.rf.noarch
--> Running transaction check
---> Package php-mbstring.x86_64 0:5.3.3-27.el6_5 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5 for package: php-mbstring-5.3.3-27.el6_5.x86_64
--> Finished Dependency Resolution
Error: Package: php-mbstring-5.3.3-27.el6_5.x86_64 (updates)
Requires: php-common(x86-64) = 5.3.3-27.el6_5
Installed: php-common-5.4.30-1.el6.remi.x86_64 (#remi)
php-common(x86-64) = 5.4.30-1.el6.remi
Available: php-common-5.3.3-26.el6.x86_64 (base)
php-common(x86-64) = 5.3.3-26.el6
Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
php-common(x86-64) = 5.3.3-27.el6_5
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Somebody please Help. Thanx in advance
You've installed a more recent PHP version (5.4.30-1) from another source (#remi) than the officials (base) repository provides. Now you're trying to install the phpMyAdmin package, which depends on php-mbstring. php-mbstring is the actual problem here -- it's being automatically installed because phpmyadmin depends on it, but the version you're attempting to install isn't compatible with the rest of your PHP installation.
The solution is easy, though, since remi also provides phpmyadmin (quite a bit more recent version than you're attempting to install, too!). Just install phpmyadmin and php-common from the remi repository like you installed PHP. There are some instructions at http://blog.famillecollet.com/pages/Config-en if you forgot, but you managed to install the upgraded PHP already so you should be able to get the remi phpmyadmin installed pretty easily.
OR....
Download phpMyAdmin from http://www.phpmyadmin.net and uncompress it to your web root and forget about the package. php-mbstring isn't strictly required to run the application anyway, so you don't even need to worry about that part as long as you meet the other requirements.
You installed php5.4 from remi repository.
phpmyadmin needs php to work; but you are installing phpmyadmin from the official repository and that phpmyadmin version needs php5.3.
I guess you don't want to go back to php5.3, so just run this command:
yum --enablerepo=remi install phpmyadmin
If you didn't add remi repositories to you CentOS, you will have to previously run:
sudo rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
my questions is similar to this one -
Problems installing R on Linux CentOS 6.3
I installed epel, but when I run yum install R, I get the two dependency problems -
Error: Package: R-core-3.0.1-2.el6.x86_64 (epel)
Requires: libjpeg.so.62(LIBJPEG_6.2)(64bit)
Error: Package: R-core-devel-3.0.1-2.el6.x86_64 (epel)
Requires: texinfo-tex
I tried installing texinfo-tex using the rpm file from -
http://rpm.pbone.net/index.php3/stat/4/idpl/15993086/dir/scientific_linux_6/com/texinfo-tex-4.13a-8.el6.x86_64.rpm.html
However, this takes me into a long tree of missing dependencies. I downloaded and tried installing 5 different rpm files and each time there were some missing dependencies. Ans this was just one branch of this tree of dependencies. I figured, there has got to be a better way. Can some one help? This has been driving me nuts.
Edit: Another option I'm trying is building R from source. Not sure if this will work given the missing packages though. For now however, it says it can't find a fortran compiler ("No F77 compiler found"). I installed gcc, thinking that it would have one, but apparently not.
on RHEL6.4 do
subscription-manager repos --enable rhel-6-server-optional-rpms
yum install texinfo-tex
rpm -ivh http://mirror.unl.edu/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum install R
cheers Marten
I have the exact same problem and have spent about 3 hours attempting to find a yum repository out there for RHEL 6 that can solve this problem. So far, it appears that whoever added this dependency didn't actually try and install it once they added the dependency. These dependency mappings don't appear to exist anywhere in any repo that I can find.
…
So I got frustrated and tried this command
yum install texinfo-tex-4.13a-8.el6.x86_64.rpm
and it worked
Loaded plugins: rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
CentALT | 951 B 00:00
elrepo | 2.9 kB 00:00
epel/metalink | 13 kB 00:00
epel-testing/metalink | 13 kB 00:00
mongodb | 951 B 00:00
puppetlabs-enterprise-extras | 1.9 kB 00:00
remi | 2.9 kB 00:00
rhel-source | 2.5 kB 00:00
rhel-x86_64-server-6 | 1.8 kB 00:00
rpmforge | 1.9 kB 00:00
scl_python27 | 2.9 kB 00:00
scl_ruby193 | 2.9 kB 00:00
Setting up Install Process
Examining texinfo-tex-4.13a-8.el6.x86_64.rpm: texinfo-tex-4.13a-8.el6.x86_64
Marking texinfo-tex-4.13a-8.el6.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package texinfo-tex.x86_64 0:4.13a-8.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
texinfo-tex x86_64 4.13a-8.el6 /texinfo-tex-4.13a-8.el6.x86_64 387 k
Transaction Summary
================================================================================
Install 1 Package(s)
Total size: 387 k
Installed size: 387 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : texinfo-tex-4.13a-8.el6.x86_64 1/1
Verifying : texinfo-tex-4.13a-8.el6.x86_64 1/1
Installed:
texinfo-tex.x86_64 0:4.13a-8.el6
Complete!
# yum install R
Loaded plugins: rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package R.x86_64 0:3.0.1-2.el6 will be installed
--> Processing Dependency: R-devel = 3.0.1-2.el6 for package: R-3.0.1-2.el6.x86_64
--> Running transaction check
---> Package R-devel.x86_64 0:3.0.1-2.el6 will be installed
--> Processing Dependency: R-java-devel = 3.0.1-2.el6 for package: R-devel-3.0.1-2.el6.x86_64
--> Processing Dependency: R-core-devel = 3.0.1-2.el6 for package: R-devel-3.0.1-2.el6.x86_64
--> Running transaction check
---> Package R-core-devel.x86_64 0:3.0.1-2.el6 will be installed
---> Package R-java-devel.x86_64 0:3.0.1-2.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
R x86_64 3.0.1-2.el6 epel 19 k
Installing for dependencies:
R-core-devel x86_64 3.0.1-2.el6 epel 90 k
R-devel x86_64 3.0.1-2.el6 epel 19 k
R-java-devel x86_64 3.0.1-2.el6 epel 19 k
Transaction Summary
================================================================================
Install 4 Package(s)
Total download size: 147 k
Installed size: 326 k
Is this ok [y/N]:
Installing R on 6.6 RHEL 64 bit machine
After going through many pages i found this steps, so thought to share as a quick steps:
wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
"It's a package which is preferred for RHEL machine."
sudo yum install tcl
“The Tcl package contains the Tool Command Language, a robust general-purpose scripting language. This package is known to build and work properly using an LFS-7.7 platform. This package is known to build and work properly using the gcc-5 compiler.”
sudo yum clean all
“Cleans the yum cache”
sudo yum install R
“For installing R”
Try this one
rpm -ivh http://mirror.unl.edu/epel/6/x86_64/epel-release-6-7.noarch.rpm
The second is:
#yum install R
Thanks & Regards,
Alok
Try sudo yum groupinstall “Development Tools”
This installs development tools which includes all compilers.
I am also trying to install the same. Tried building from source. Now trying to build with yum. Let's see how it goes
"I tried this.. it said "package epel-release-6-8.noarch is already installed". "
But not enabled... See: https://bluehatrecord.wordpress.com/2014/10/13/installing-r-on-red-hat-enterprise-linux-6-5/
I was having the same issue, And many seem to be getting stuck on this.
The dependencies are available in the RedHat Repo [rhel-6-server-optional-rpms]. Enable the repo and R should install.