Install elastix in centos 6.7 on cloud server - linux

I want to install elastix 2.5 on my sever.
yum install -y elastix
then I got this error
Finished Dependency Resolution
Error: Package: 2009020507:asterisk-1.8.20.0-0.x86_64 (iso)
Requires: libcurl.so.3()(64bit)
Available: curl-7.15.5-15.el5.x86_64 (iso)
libcurl.so.3()(64bit)
Installed: curl-7.19.7-46.el6.x86_64 (#base)
Not found
Error: Package: 2009020507:asterisk-1.8.20.0-0.x86_64 (iso)
Requires: librpmio-4.4.so()(64bit)
Available: rpm-libs-4.4.2.3-31.el5.x86_64 (iso)
librpmio-4.4.so()(64bit)
Installed: rpm-libs-4.8.0-47.el6.x86_64 (#base)
Not found
Error: Package: 1:perl-Archive-Tar-1.39.1-1.el5_5.2.noarch (iso)
Requires: perl(:MODULE_COMPAT_5.8.8)
Available: 4:perl-5.8.8-38.el5_8.x86_64 (iso)
perl(:MODULE_COMPAT_5.8.8)
Installed: 4:perl-5.10.1-141.el6_7.1.x86_64 (#updates)
Not found
Available: 4:perl-5.10.1-141.el6.x86_64 (base)
Not found
Error: Package: 2009020507:asterisk-1.8.20.0-0.x86_64 (iso)
Requires: librpm-4.4.so()(64bit)
Available: rpm-libs-4.4.2.3-31.el5.x86_64 (iso)
librpm-4.4.so()(64bit)
Installed: rpm-libs-4.8.0-47.el6.x86_64 (#base)
Not found
Error: Package: elastix-portknock-0.0.1-0.x86_64 (iso)
Requires: libpcap.so.0.9.4()(64bit)
Available: 14:libpcap-0.9.4-15.el5.x86_64 (iso)
libpcap.so.0.9.4()(64bit)
Available: 14:libpcap-1.4.0-4.20130826git2dbcaa1.el6.i686 (base)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Seem the error say need to downgrade each package. But it is so very conflict, especially on the curl.
Is there any possible solution to get through with the error or any alternative ways? I just want to install elastix on centos 6.7.
Is there anyone who can help?
Thanks in advance.

Related

linotp fails installation on rhel 7

i'm trying to install linotp:
yum install -y LinOTP LinOTP_mariadb
fails with error:
Error: Package: LinOTP-2.11.2-1.el7.x86_64 (linotp)
Requires: python-webob < 1.4
Error: Package: python-pylons-1.0.1-2.el7.noarch (epel)
Requires: python-webtest >= 1.1
Error: Package: LinOTP-2.11.2-1.el7.x86_64 (linotp)
Requires: perl(Switch)
Error: Package: python-pyrad-2.0-4.el7.noarch (epel)
Requires: python-twisted-core
Error: Package: LinOTP-2.11.2-1.el7.x86_64 (linotp)
Requires: perl(WWW::Curl::Easy)
Error: Package: python-pylons-1.0.1-2.el7.noarch (epel)
Requires: python-webob >= 0.9.6.1
Error: Package: LinOTP-2.11.2-1.el7.x86_64 (linotp)
Requires: python-qrcode >= 2.4
Error: Package: python-weberror-0.10.3-8.el7.noarch (epel)
Requires: python-webob
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
has anyone seen this before and what was the resolutionm

Problem on installing phpmyadmin on centos 7

I have deleted my phpmyadmin by mistake while updating to php version 7.3
Now when i tried to install it back using this command sudo yum install phpmyadmin it is not installing I'm getting this response:
--> Processing Dependency: php-simplexml for package: phpMyAdmin49-4.9.3-1.el7.ius.noarch
--> Processing Dependency: php-recode for package: phpMyAdmin49-4.9.3-1.el7.ius.noarch
--> Processing Dependency: php-mbstring for package: phpMyAdmin49-4.9.3-1.el7.ius.noarch
--> Running transaction check
---> Package php-mbstring.x86_64 0:7.3.17-1.el7.remi will be installed
--> Processing Dependency: libonig.so.5()(64bit) for package: php-mbstring-7.3.17-1.el7.remi.x86_64
---> Package php-recode.x86_64 0:7.3.17-1.el7.remi will be installed
--> Processing Dependency: librecode.so.0()(64bit) for package: php-recode-7.3.17-1.el7.remi.x86_64
---> Package php-xml.x86_64 0:7.3.17-1.el7.remi will be installed
---> Package phpMyAdmin49.noarch 0:4.9.3-1.el7.ius will be installed
--> Processing Dependency: php-zip for package: phpMyAdmin49-4.9.3-1.el7.ius.noarch
Package php73-common-7.3.16-1.el7.ius.x86_64 is obsoleted by php-common-7.3.17-1.el7.remi.x86_64 which is already installed
--> Running transaction check
---> Package oniguruma5.x86_64 0:6.9.4-1.el7.remi will be installed
---> Package phpMyAdmin49.noarch 0:4.9.3-1.el7.ius will be installed
--> Processing Dependency: php-zip for package: phpMyAdmin49-4.9.3-1.el7.ius.noarch
Package php73-common-7.3.16-1.el7.ius.x86_64 is obsoleted by php-common-7.3.17-1.el7.remi.x86_64 which is already installed
---> Package recode.x86_64 0:3.6-38.el7 will be installed
--> Finished Dependency Resolution
Error: Package: phpMyAdmin49-4.9.3-1.el7.ius.noarch (ius)
Requires: php-zip
Available: php-common-5.4.16-46.el7.x86_64 (base)
php-zip
Available: php-common-5.4.16-46.1.el7_7.x86_64 (updates)
php-zip
Available: php-pecl-zip-1.18.1-1.el7.remi.5.6.x86_64 (remi-php56)
php-zip = 1:1.18.1-1.el7.remi.5.6
Available: php-pecl-zip-1.18.1-1.el7.remi.7.3.x86_64 (remi-php73)
php-zip = 1:1.18.1-1.el7.remi.7.3
Available: php-pecl-zip-1.18.2-1.el7.remi.5.6.x86_64 (remi-php56)
php-zip = 1:1.18.2-1.el7.remi.5.6
Available: php-pecl-zip-1.18.2-1.el7.remi.7.3.x86_64 (remi-php73)
php-zip = 1:1.18.2-1.el7.remi.7.3
Available: php72u-common-7.2.26-1.el7.ius.x86_64 (ius)
php-zip
Available: php72u-common-7.2.27-1.el7.ius.x86_64 (ius)
php-zip
Available: php72u-common-7.2.28-1.el7.ius.x86_64 (ius)
php-zip
Available: php73-common-7.3.14-1.el7.ius.x86_64 (ius)
php-zip
Available: php73-common-7.3.15-1.el7.ius.x86_64 (ius)
php-zip
Available: php73-common-7.3.16-1.el7.ius.x86_64 (ius)
php-zip
Installed: php-common-7.3.17-1.el7.remi.x86_64 (#remi-php73)
Not found
Available: php-common-5.6.40-19.el7.remi.x86_64 (remi-php56)
Not found
Available: php-common-5.6.40-20.el7.remi.x86_64 (remi-php56)
Not found
Available: php-common-7.3.16-1.el7.remi.x86_64 (remi-php73)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
the php version was updated with no problems however the phpmyadmin it's not installing what can i do to get it back?
Don't mixed so much PHP providers, especially; don't mix "IUS" and "Remi".
If you want PHP 7.3, only keep "remi-php73", and you can take phpMyAdmin (5.0.2) from "remi"
yum-config-manager --enable remi-php73
yum-config-manager --disable remi-php56
yum-config-manager --disable ius
yum --enablerepo=remi install phpMyAdmin
As Remi said, don't mix his repository with IUS. Pick one or the other. If you decide to go with IUS, we have phpMyAdmin49 and phpMyAdmin50 packages available. Asking yum to install phpMyAdmin will likely result in it trying to install the EPEL phpMyAdmin package, which is stuck at version 4.4.x to remain compatible with stock PHP 5.4.x.

How to install ffmpeg on rhel7

whein i installing ffmpeg on RHEL,i got an error like this
> Error: Package: libavdevice-2.6.8-3.el7.nux.x86_64 (nux-dextop)
> Requires: libopenal.so.1()(64bit) Error: Package: ffmpeg-libs-2.6.8-3.el7.nux.x86_64 (nux-dextop)
> Requires: libva.so.1()(64bit) Error: Package: ffmpeg-2.6.8-3.el7.nux.x86_64 (nux-dextop)
> Requires: libvdpau.so.1()(64bit) Error: Package: libavdevice-2.6.8-3.el7.nux.x86_64 (nux-dextop)
> Requires: libSDL-1.2.so.0()(64bit) Error: Package: ffmpeg-libs-2.6.8-3.el7.nux.x86_64 (nux-dextop)
> Requires: libass.so.5()(64bit) Error: Package: ffmpeg-libs-2.6.8-3.el7.nux.x86_64 (nux-dextop)
> Requires: libschroedinger-1.0.so.0()(64bit) Error: Package: ffmpeg-2.6.8-3.el7.nux.x86_64 (nux-dextop)
> Requires: libSDL-1.2.so.0()(64bit
RHEL7 is not registered.
You can use one of the 3rd-party repositories that offer multimedia packages, such as negativo17 (which needs the regular EPEL repository enabled):
# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# yum-config-manager --add-repo https://negativo17.org/repos/epel-multimedia.repo
# yum install ffmpeg
Btw, an unregistered installation of RHEL isn't a good idea -- no security updates, no easy installation of software, etc. I would suggest either buying a subscription, or using a free alternative, such as CentOS.
You can install ffmpeg on your rhel7 server using RPM.
sudo yum install -y https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
sudo yum install -y ffmpeg
After the install verify ffmpeg version
ffmpeg -version
For more information check the below link.
ffmpeg basic examples

Failed to install Varnish due to dependencies errors

I'm trying install varnish on CentOS 6.7 and get following errors. Can somebody help?
yum install varnish
.....
Finished Dependency Resolution
Error: Package: varnish-libs-4.1.0-1.el7.x86_64 (varnish-4.1)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: varnish-4.1.0-1.el7.x86_64 (varnish-4.1)
Requires: systemd-units
Error: Package: varnish-4.1.0-1.el7.x86_64 (varnish-4.1)
Requires: libpcre.so.1()(64bit)
Error: Package: varnish-4.1.0-1.el7.x86_64 (varnish-4.1)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: varnish-libs-4.1.0-1.el7.x86_64 (varnish-4.1)
Requires: libpcre.so.1()(64bit)
Error: Package: varnish-4.1.0-1.el7.x86_64 (varnish-4.1)
Requires: systemd-sysv
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
You will need to install varnish from source. Follow these steps:
https://www.varnish-cache.org/docs/trunk/installation/install.html#compiling-varnish-from-source
Start by downloading the tarball:
http://repo.varnish-cache.org/source/
Then install the packages listed:
yum install -y autoconf automake jemalloc-devel libedit-devel libtool ncurses-devel pcre-devel pkgconfig python-docutils python-sphinx graphviz
tar xzvf downloaded-filename.tar.gz
cd name-of-the-folder-from-tarball
sh autogen.sh
sh configure
make
make check
(go make some tea)
make install
Read the notes on starting the service: https://www.varnish-cache.org/docs/trunk/installation/install.html#compiling-varnish-from-source
I'm not allowed to comment but I've upvoted the answer above. I just used it to install Varnish 5.2 on Amazon Linux. The downside of this approach is that you don't get a nice tidy "sudo service varnish start" option, but the upside is that at least you've got Varnish 5.
One change to the answer above. The location of the source has changed. You'll find it here now:
http://varnish-cache.org/releases/

RHEL6 installed wrong version of rpmforge

I installed the wrong version of rpmforge for el7. Then I ran an update which installed this package on my system
python-crypto-2.6.1-1.el7.rf.x86_64
Notice the el7 but I am on rhel6. I then realized and removed the wrong repository and installed the right one for el6.
$ rpm -qa | grep rpmfor
rpmforge-release-0.5.2-2.el6.rf.x86_64
But the above process has broken the update process, which I know I could work around using --skip-broken option. How do I downgrade for the above mentioned package. I tried to uninstall and install it back again but I get this error:
Error: Trying to remove "c4ebpl", which is protected
It shows me some protected packages which can't be removed.
Update process using sudo yum update gives me this error:
Error: Package: python-crypto-2.6.1-1.el7.rf.x86_64 (rpmforge)
Requires: libgmp.so.10()(64bit)
Error: Package: python-crypto-2.6.1-1.el7.rf.x86_64 (rpmforge)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: python-crypto-2.6.1-1.el7.rf.x86_64 (rpmforge)
Requires: python(abi) = 2.7
Installed: python-2.6.6-52.el6.x86_64 (#el66/$releasever)
python(abi) = 2.6
Error: Package: python-crypto-2.6.1-1.el7.rf.x86_64 (rpmforge)
Requires: libpython2.7.so.1.0()(64bit)
You could try using --skip-broken to work around the problem
Would anyone know how to downgrade to the original packages? Is there a way to do a factory reset? Or do I need to re-install linux again?
Some things I tried:
I deleted the python-crypto.x86_64 package using this command
sudo rpm --nodeps -e python-crypto.x86_64
And the update went through. So I thought I should install the python-crypto.x86_64package now as I have the right el6 rpmforge repository. So I ran this command sudo yum install python-crypto.x86_64 but I got the same error:
Resolving Dependencies
--> Running transaction check
---> Package python-crypto.x86_64 0:2.6.1-1.el7.rf will be installed
--> Processing Dependency: python(abi) = 2.7 for package: python-crypto-2.6.1-1.el7.rf.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: python-crypto-2.6.1-1.el7.rf.x86_64
--> Processing Dependency: libpython2.7.so.1.0()(64bit) for package: python-crypto-2.6.1-1.el7.rf.x86_64
--> Processing Dependency: libgmp.so.10()(64bit) for package: python-crypto-2.6.1-1.el7.rf.x86_64
--> Finished Dependency Resolution
Error: Package: python-crypto-2.6.1-1.el7.rf.x86_64 (rpmforge)
Requires: libgmp.so.10()(64bit)
Error: Package: python-crypto-2.6.1-1.el7.rf.x86_64 (rpmforge)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: python-crypto-2.6.1-1.el7.rf.x86_64 (rpmforge)
Requires: python(abi) = 2.7
Installed: python-2.6.6-52.el6.x86_64 (#el66/$releasever)
python(abi) = 2.6
Error: Package: python-crypto-2.6.1-1.el7.rf.x86_64 (rpmforge)
Requires: libpython2.7.so.1.0()(64bit)
You could try using --skip-broken to work around the problem
I don't know why its trying to find the el7 package? I have these libraries in my machine.
$ rpm -qa | grep rpmfor
rpmforge-release-0.5.3-1.el7.rf.x86_64
Solution from #Michael Hapton on this link
Here is the solution. I take no credit for it.
First you need to install the correct rpmforge-release package. Download it and use rpm -U --oldpackage to install it over the wrong package.
Second, you need to clean the cached yum metadata that it had. Use yum clean all to get rid of everything.
Third, use yum distro-sync to downgrade any packages that were installed for the wrong distribution. (And note that this will also upgrade any out-of-date packages.)

Resources