Sphinx installation error - shell

I'm trying to install Sphinx on my CentOS 6.5 VPS and get the following error.
root#hen [~]# yum localinstall sphinx-2.1.7-1.rhel6.x86_64.rpm
Loaded plugins: downloadonly, fastestmirror
Setting up Local Package Process
Examining sphinx-2.1.7-1.rhel6.x86_64.rpm: sphinx-2.1.7-1.rhel6.x86_64
Marking sphinx-2.1.7-1.rhel6.x86_64.rpm to be installed
Loading mirror speeds from cached hostfile
* base: mirrors.adams.net
* extras: centos-distro.cavecreek.net
* updates: mirrors.bluehost.com
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
hgdedi | 2.5 kB 00:00
updates | 3.4 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package sphinx.x86_64 0:2.1.7-1.rhel6 will be installed
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: sphinx-2.1.7-1.rhel6.x86_64
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: sphinx-2.1.7-1.rhel6.x86_64
--> Processing Dependency: libodbc.so.2()(64bit) for package: sphinx-2.1.7-1.rhel6.x86_64
--> Processing Dependency: libpq.so.5()(64bit) for package: sphinx-2.1.7-1.rhel6.x86_64
--> Running transaction check
---> Package postgresql-libs.x86_64 0:8.4.20-1.el6_5 will be installed
---> Package sphinx.x86_64 0:2.1.7-1.rhel6 will be installed
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: sphinx-2.1.7-1.rhel6.x86_64
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: sphinx-2.1.7-1.rhel6.x86_64
---> Package unixODBC.x86_64 0:2.2.14-12.el6_3 will be installed
--> Finished Dependency Resolution
Error: Package: sphinx-2.1.7-1.rhel6.x86_64 (/sphinx-2.1.7-1.rhel6.x86_64)
Requires: libmysqlclient.so.16()(64bit)
Error: Package: sphinx-2.1.7-1.rhel6.x86_64 (/sphinx-2.1.7-1.rhel6.x86_64)
Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)
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'm more or less lost when it comes to shell commands so I hope someone can guide me :)

In theory
yum install mysql-devel
first, should sort it.

Related

Error when installing libcxx and libcxxabi rpm - requires: /usr/sbin/ldconfig - Centos7

I can't seem to find any articles with the following two libc errors. I've also tried the following commands with no luck...
yum install glibc*
yum install yum-utils
yum update yum*
package-cleanup --dupes
package-cleanup --cleandupes
rm /etc/ld.so.cache
ldconfig
Full printout of yum update command
[root#test etc]# yum update
Loaded plugins: langpacks, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Resolving Dependencies
--> Running transaction check
---> Package glibc.x86_64 0:2.17-325.el7_9 will be updated
---> Package glibc.x86_64 0:2.17-326.el7_9 will be an update
---> Package glibc-common.x86_64 0:2.17-325.el7_9 will be updated
---> Package glibc-common.x86_64 0:2.17-326.el7_9 will be an update
---> Package glibc-devel.x86_64 0:2.17-325.el7_9 will be updated
---> Package glibc-devel.x86_64 0:2.17-326.el7_9 will be an update
---> Package glibc-headers.x86_64 0:2.17-325.el7_9 will be updated
---> Package glibc-headers.x86_64 0:2.17-326.el7_9 will be an update
---> Package kernel-headers.x86_64 0:3.10.0-1160.62.1.el7 will be updated
---> Package kernel-headers.x86_64 0:3.10.0-1160.66.1.el7 will be an update
--> Processing Dependency: /usr/sbin/ldconfig for package: libcxx-11.0.1-1.el7.x86_64
--> Processing Dependency: /usr/sbin/ldconfig for package: libcxxabi-11.0.1-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: libcxx-11.0.1-1.el7.x86_64 (installed)
Requires: /usr/sbin/ldconfig
Removing: glibc-2.17-325.el7_9.x86_64 (#spacewalk_centos7)
Not found
Updated By: glibc-2.17-326.el7_9.x86_64 (spacewalk_centos7)
Not found
Error: Package: libcxxabi-11.0.1-1.el7.x86_64 (installed)
Requires: /usr/sbin/ldconfig
Removing: glibc-2.17-325.el7_9.x86_64 (#spacewalk_centos7)
Not found
Updated By: glibc-2.17-326.el7_9.x86_64 (spacewalk_centos7)
Not found
[root#test etc]# rpm -qa | grep glibc
glibc-common-2.17-325.el7_9.x86_64
glibc-2.17-325.el7_9.x86_64
glibc-devel-2.17-325.el7_9.x86_64
glibc-headers-2.17-325.el7_9.x86_64
Check your /etc/yum.conf and see if you exclude any of the packages that might be blocking your installation.
I don't see any exclusions.
# in /etc/yum.repos.dc
http_caching=packages
[/etc/yum.conf][1]
[1]: https://i.stack.imgur.com/wImmA.png

Can't install supervisor in ec2 instance as a service manager for ASP .Net Core project [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I want to run a ASP.Net Core application with supervisor package manager in Amazon Linux 2. Execute following command to install supervisor
$sudo yum install supervisor
Its says:
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
No package supervisor available.
Error: Nothing to do
Os detail:
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
Also tried with
$sudo yum install epel-release
Same error:
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
No package epel-release available.
Error: Nothing to do
epel-release is available in Amazon Linux Extra topic "epel"
$sudo amazon-linux-extras install epel
And then I tried with
$sudo yum install supervisor
output!
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
150 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package supervisor.noarch 0:3.1.4-1.el7 will be installed
--> Processing Dependency: python-meld3 >= 0.6.5 for package: supervisor-3.1.4-1.el7.noarch
--> Running transaction check
---> Package python-meld3.x86_64 0:0.6.10-1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================================================================
Installing:
supervisor noarch 3.1.4-1.el7 epel 446 k
Installing for dependencies:
python-meld3 x86_64 0.6.10-1.el7 epel 73 k
Transaction Summary
=============================================================================================================================================================================================================================================
Install 1 Package (+1 Dependent package)
Total download size: 519 k
Installed size: 2.5 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/2/epel/packages/python-meld3-0.6.10-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for python-meld3-0.6.10-1.el7.x86_64.rpm is not installed
(1/2): python-meld3-0.6.10-1.el7.x86_64.rpm | 73 kB 00:00:00
(2/2): supervisor-3.1.4-1.el7.noarch.rpm | 446 kB 00:00:00
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 1.5 MB/s | 519 kB 00:00:00
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
Userid : "Fedora EPEL (7) <epel#fedoraproject.org>"
Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
Package : epel-release-7-11.noarch (#amzn2extra-epel)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : python-meld3-0.6.10-1.el7.x86_64 1/2
Installing : supervisor-3.1.4-1.el7.noarch 2/2
Verifying : python-meld3-0.6.10-1.el7.x86_64 1/2
Verifying : supervisor-3.1.4-1.el7.noarch 2/2
Installed:
supervisor.noarch 0:3.1.4-1.el7
Dependency Installed:
python-meld3.x86_64 0:0.6.10-1.el7
Complete!

yum install complains about already installed dependency

I mean to install a package that is apparently not available in my registered repos (see RedHat, which package provides hdf5.h).
So I downloaded hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686.rpm from rpmfind.net, and tried installing from file, obtaining complaints about some missing files (see (1) below).
But those files exist in my system (see (2) below).
How can I work around this issue to get a functional system?
This seems to deal with a related but different issue.
Test #1:
# yum install /shared/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686.rpm
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Examining /shared/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686.rpm: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686
Marking /shared/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package hdf5-openmpi-devel.i686 0:1.8.5.patch1-10.el6 will be installed
--> Processing Dependency: hdf5-openmpi(x86-32) = 1.8.5.patch1-10.el6 for package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686
--> Processing Dependency: libhdf5.so.6 for package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686
--> Processing Dependency: libhdf5_fortran.so.6 for package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686
--> Processing Dependency: libhdf5_hl.so.6 for package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686
--> Processing Dependency: libhdf5hl_fortran.so.6 for package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686
--> Finished Dependency Resolution
Error: Package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686 (/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686)
Requires: libhdf5.so.6
Error: Package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686 (/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686)
Requires: hdf5-openmpi(x86-32) = 1.8.5.patch1-10.el6
Error: Package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686 (/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686)
Requires: libhdf5_fortran.so.6
Error: Package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686 (/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686)
Requires: libhdf5_hl.so.6
Error: Package: hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686 (/hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686)
Requires: libhdf5hl_fortran.so.6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Test #2:
$ repoquery -l --installed hdf5
/usr/bin/gif2h5
/usr/bin/h52gif
/usr/bin/h5copy
/usr/bin/h5debug
/usr/bin/h5diff
/usr/bin/h5dump
/usr/bin/h5import
/usr/bin/h5jam
/usr/bin/h5ls
/usr/bin/h5mkgrp
/usr/bin/h5perf_serial
/usr/bin/h5repack
/usr/bin/h5repart
/usr/bin/h5stat
/usr/bin/h5unjam
/usr/lib64/libhdf5.so.6
/usr/lib64/libhdf5.so.6.0.4
/usr/lib64/libhdf5_cpp.so.6
/usr/lib64/libhdf5_cpp.so.6.0.4
/usr/lib64/libhdf5_fortran.so.6
/usr/lib64/libhdf5_fortran.so.6.0.4
/usr/lib64/libhdf5_hl.so.6
/usr/lib64/libhdf5_hl.so.6.0.4
/usr/lib64/libhdf5_hl_cpp.so.6
/usr/lib64/libhdf5_hl_cpp.so.6.0.4
/usr/lib64/libhdf5hl_fortran.so.6
/usr/lib64/libhdf5hl_fortran.so.6.0.4
/usr/share/doc/hdf5-1.8.5.patch1
/usr/share/doc/hdf5-1.8.5.patch1/COPYING
/usr/share/doc/hdf5-1.8.5.patch1/HISTORY-1_0-1_8_0_rc3.txt
/usr/share/doc/hdf5-1.8.5.patch1/HISTORY-1_8.txt
/usr/share/doc/hdf5-1.8.5.patch1/MANIFEST
/usr/share/doc/hdf5-1.8.5.patch1/README.txt
/usr/share/doc/hdf5-1.8.5.patch1/RELEASE.txt
The installed package was a different versiĆ³n and for a different architecture.
I learned this with
$ repoquery -q -f --installed */libhdf5.so*
hdf5-0:1.8.5.patch1-9.el6.x86_64
Thus, I downloaded and installed
# yum install hdf5-1.8.5.patch1-10.el6.x86_64.rpm
...
# yum install hdf5-openmpi-1.8.5.patch1-10.el6.x86_64.rpm hdf5-openmpi-devel-1.8.5.patch1-10.el6.x86_64.rpm
...
and it did not complain.
This hinted me at the answer.
See also this.

openproject installation issue

I am trying to install openproject by following this link to install into amazon centos instance:
https://www.openproject.org/download/packaged-installation-core/
But I am getting below error and it is getting failed.
[root#ip-10-28-11-38 ec2-user]# sudo yum install openproject
Loaded plugins: priorities, update-motd, upgrade-helper amzn-main/latest
| 2.1 kB 00:00 amzn-updates/latest
| 2.3 kB 00:00 openproject
| 2.9 kB 00:00 openproject/primary_db
| 50 kB 00:00 Resolving Dependencies
--> Running transaction check
---> Package openproject.x86_64 0:4.0.6-1422376810.876f3af.centos6 will be installed
--> Processing Dependency: postgresql-libs for package: openproject-4.0.6-1422376810.876f3af.centos6.x86_64
--> Processing Dependency: mysql-libs for package: openproject-4.0.6-1422376810.876f3af.centos6.x86_64
--> Processing Dependency: libevent for package: openproject-4.0.6-1422376810.876f3af.centos6.x86_64
--> Processing Dependency: dialog for package: openproject-4.0.6-1422376810.876f3af.centos6.x86_64
--> Running transaction check
---> Package dialog.x86_64 0:1.1-9.20080819.1.5.amzn1 will be installed
---> Package libevent.x86_64 0:2.0.18-1.10.amzn1 will be installed
---> Package mysql55-libs.x86_64 0:5.5.40-1.3.amzn1 will be installed
---> Package postgresql92-libs.x86_64 0:9.2.9-1.46.amzn1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================ Package Arch Version Repository
Size
================================================================================ Installing: openproject x86_64 4.0.6-1422376810.876f3af.centos6
openproject 56 M Installing for dependencies: dialog
x86_64 1.1-9.20080819.1.5.amzn1 amzn-main 205 k libevent
x86_64 2.0.18-1.10.amzn1 amzn-main 278 k
mysql55-libs x86_64 5.5.40-1.3.amzn1
amzn-updates 813 k postgresql92-libs x86_64 9.2.9-1.46.amzn1
amzn-main 254 k
Transaction Summary
================================================================================ Install 1 Package (+4 Dependent packages)
Total download size: 58 M
Installed size: 198 M
Is this ok [y/d/N]: y
Downloading packages:
(1/5): dialog-1.1-9.20080819.1.5.amzn1.x86_64.rpm | 205 kB 00:00
(2/5): libevent-2.0.18-1.10.amzn1.x86_64.rpm | 278 kB 00:00
(3/5): mysql55-libs-5.5.40-1.3.amzn1.x86_64.rpm | 813 kB 00:00
(4/5): openproject-4.0.6-1422376810.876f3af.centos6.x86_ | 56 MB 00:03
(5/5): postgresql92-libs-9.2.9-1.46.amzn1.x86_64.rpm | 254 kB 00:00
-------------------------------------------------------------------------------- Total 15 MB/s | 58 MB
00:03 Running transaction check
Running transaction test
Transaction test succeeded
Running transaction Installing :
dialog-1.1-9.20080819.1.5.amzn1.x86_64
1/5 Installing : postgresql92-libs-9.2.9-1.46.amzn1.x86_64
2/5 Installing : mysql55-libs-5.5.40-1.3.amzn1.x86_64
3/5 Installing : libevent-2.0.18-1.10.amzn1.x86_64
4/5 /var/tmp/rpm-tmp.NKChbC: line 18: addgroup: command not found
error: %pre(openproject-4.0.6-1422376810.876f3af.centos6.x86_64)
scriptlet failed, exit status 127 Error in PREIN scriptlet in rpm
package openproject-4.0.6-1422376810.876f3af.centos6.x86_64
Verifying : libevent-2.0.18-1.10.amzn1.x86_64
1/5 Verifying : mysql55-libs-5.5.40-1.3.amzn1.x86_64
2/5 Verifying : postgresql92-libs-9.2.9-1.46.amzn1.x86_64
3/5 Verifying : dialog-1.1-9.20080819.1.5.amzn1.x86_64
4/5 Verifying : openproject-4.0.6-1422376810.876f3af.centos6.x86_64
5/5
Dependency Installed: dialog.x86_64 0:1.1-9.20080819.1.5.amzn1
libevent.x86_64 0:2.0.18-1.10.amzn1 mysql55-libs.x86_64
0:5.5.40-1.3.amzn1 postgresql92-libs.x86_64 0:9.2.9-1.46.amzn1
Failed: openproject.x86_64 0:4.0.6-1422376810.876f3af.centos6
Complete!
Can anybody help me for solving this issue?
It seems to me that the addgroup command is not found on your system. Try if you can execute the addgroup command (e.g.: sudo addgroup). If it is not found try what is suggested here: Bash: groupadd: command not found

Not able to install gcc in fedora 16

I'm trying to install gcc in fedora 16 and I'm facing the following issue.
[root#fedora ~]yum install gcc
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete- transaction first to finish them.
--> Running transaction check
---> Package gcc.x86_64 0:4.6.3-2.fc16 will be installed
--> Processing Dependency: libgomp = 4.6.3-2.fc16 for package: gcc-4.6.3-2.fc16.x86_64
--> Processing Dependency: cpp = 4.6.3-2.fc16 for package: gcc-4.6.3-2.fc16.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.6.3-2.fc16.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.6.3-2.fc16.x86_64
--> Processing Dependency: binutils >= 2.20.51.0.2-12 for package: gcc-4.6.3-2.fc16.x86_64
--> Processing Dependency: libmpc.so.2()(64bit) for package: gcc-4.6.3-2.fc16.x86_64
--> Running transaction check
---> Package binutils.x86_64 0:2.21.53.0.1-6.fc16 will be installed
---> Package cloog-ppl.x86_64 0:0.15.11-1.fc16 will be installed
--> Processing Dependency: libppl_c.so.4()(64bit) for package: cloog- ppl-0.15.11-1.fc16.x86_64
--> Processing Dependency: libppl.so.9()(64bit) for package: cloog-ppl-0.15.11-1.fc16.x86_64
---> Package cpp.x86_64 0:4.6.3-2.fc16 will be installed
---> Package glibc-devel.x86_64 0:2.14.90-24.fc16.9 will be installed
--> Processing Dependency: glibc-headers = 2.14.90-24.fc16.9 for package: glibc-devel-2.14.90-24.fc16.9.x86_64
--> Processing Dependency: glibc = 2.14.90-24.fc16.9 for package: glibc-devel-2.14.90-24.fc16.9.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.14.90-24.fc16.9.x86_64
---> Package libgomp.x86_64 0:4.6.2-1.fc16 will be updated
---> Package libgomp.x86_64 0:4.6.3-2.fc16 will be an update
---> Package libmpc.x86_64 0:0.9-1.fc16 will be installed
--> Running transaction check
---> Package glibc.x86_64 0:2.14.90-14 will be updated
--> Processing Dependency: glibc = 2.14.90-14 for package: glibc-common-2.14.90-14.x86_64
---> Package glibc.x86_64 0:2.14.90-24.fc16.9 will be an update
---> Package glibc-headers.x86_64 0:2.14.90-24.fc16.9 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.14.90-24.fc16.9.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.14.90-24.fc16.9.x86_64
---> Package ppl.x86_64 0:0.11.2-3.fc16 will be installed
--> Processing Dependency: libpwl.so.5()(64bit) for package: ppl-0.11.2-3.fc16.x86_64
--> Running transaction check
---> Package glibc.i686 0:2.14.90-14 will be installed
--> Processing Dependency: libfreebl3.so for package: glibc-2.14.90-14.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.14.90-14.i686
---> Package glibc.x86_64 0:2.14.90-14 will be updated
---> Package kernel-headers.x86_64 0:3.6.11-4.fc16 will be installed
---> Package ppl-pwl.x86_64 0:0.11.2-3.fc16 will be installed
--> Running transaction check
---> Package nss-softokn-freebl.i686 0:3.14.1-3.fc16 will be installed
--> Finished Dependency Resolution
Error: Protected multilib versions: glibc-2.14.90-24.fc16.9.x86_64 != glibc-2.14.90-14.i686
Error: Protected multilib versions: nss-softokn-freebl-3.14.1-3.fc16.i686 != nss-softokn-freebl-3.12.10-4.fc16.x86_64
My OS is 64 bit version and I tried with installing glibc i686 version because of this issue.But I'm facing the same issue again.
On a 64 bit Fedora system, both 32 bit (ex:glibc-2.14.90-14.i686) and 64 bit (ex:glibc-2.14.90-24.fc16.9.x86_64) library must be of the same version.
The solution has already been posted in the Fedora official forum.
package-cleanup --dupes
package-cleanup --cleandupes
yum clean all
yum update
yum install gcc

Resources