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
Related
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.
I failed to install 'graphviz' on my RHEL server using 'yum' command
I downloaded graphviz-rhel.repo,and saved it at /etc/yum.repos.d/ following www.graphviz.org.Then I use "yum -y install 'graphviz*' ". But there are some errors.
Can someone help me?How to install this?
The error messages:
--> Finished Dependency Resolution
Error: Package: graphviz-lang-ocaml-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: ocaml(List) = a0e2e49d266ff302f8667651a43f71ba
Error: Package: graphviz-lang-ruby-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: /usr/bin/ruby
Error: Package: graphviz-lang-guile-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: libguile.so.17()(64bit)
Error: Package: graphviz-lang-ocaml-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: ocaml(Int32) = b2545c419b6b6a173cac4c0a3e7e0277
Error: Package: graphviz-lang-ocaml-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: ocaml
Error: Package: graphviz-x-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: libglut.so.3()(64bit)
Error: Package: graphviz-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: libANN.so.1()(64bit)
Error: Package: graphviz-lang-java-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: java
Error: Package: graphviz-lang-ocaml-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: ocaml(Callback) = 71e1f9b7f211661f1dfeedab5ffae0cc
Error: Package: graphviz-lang-guile-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: guile
Error: Package: graphviz-plugins-x-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: librsvg-2.so.2()(64bit)
Error: Package: graphviz-lang-ruby-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: libruby.so.1.8()(64bit)
Error: Package: graphviz-lang-ocaml-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: ocaml(Int64) = d501d6e89fdce41c79f274fb464995d5
Error: Package: graphviz-lang-php-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: /usr/bin/php
Error: Package: graphviz-lang-ocaml-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: ocaml(Obj) = 57b3fe2fcfe45ee25709b8ae556264d1
Error: Package: graphviz-lang-ocaml-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: ocaml(Pervasives) = 88cb1505c8bdf9a4dcd2cdf3452732b4
Error: Package: graphviz-lang-ruby-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: ruby
Error: Package: graphviz-lang-ocaml-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: ocaml(Hashtbl) = ee2a3220e38a4350c5bc131ce9f3f6ce
Error: Package: graphviz-gd-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: libgd.so.2()(64bit)
Error: Package: graphviz-x-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: libgtkglext-x11-1.0.so.0()(64bit)
Error: Package: graphviz-lang-tcl-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: libgd.so.2()(64bit)
Error: Package: graphviz-plugins-x-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: libpoppler-glib.so.4()(64bit)
Error: Package: graphviz-lang-ocaml-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: ocaml(Array) = 9c9fa5f11e2d6992c427dde4d1168489
Error: Package: graphviz-x-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: libgdkglext-x11-1.0.so.0()(64bit)
Error: Package: graphviz-lang-ocaml-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: ocaml(runtime) = 3.11.2
Error: Package: gts-0.7.6-14.el6.x86_64 (graphviz-stable)
Requires: libnetpbm.so.10()(64bit)
Error: Package: graphviz-lang-ocaml-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: ocaml(Gc) = bf884f8416bc19d4f57421e499a1aa8a
Error: Package: graphviz-plugins-gd-2.38.0-1.el6.x86_64 (graphviz-stable)
Requires: libgd.so.2()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I know the problem is about packages dependency,but yum can resolve dependency auto,isn't it?
How to install it with no wrong?
Really thanks,
Bruce
I found why this happen yesterday.
The problem is that 'graphviz*' depend on these packages.But this packages can not been found in current repo source.
download from ann-libs-1.1.1-4.el6.x86_64.rpm
rpm -ivh ann-libs-1.1.1-4.el6.x86_64.rpm
yum install 'graphviz*'
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.)
Update:
Please note that I did post a different flavor of this on the Unix & Linux SE, but received no helpful responses in the day before re-posting here. The information from that post that is relevant here is that I first added EPEL 7 to the list of repos using rpm -Uvh which is probably why the EL 7 version of R is being requested.
Anyway, as requested by user Sami Laine, here is the output from cat /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
And the output from rpm -q epel-release is epel-release-6-8.noarch.
I am trying to install R on a fresh CentOS 6.5 box, but am running into difficulties with dependencies. I added the EPEL 6 repo using rpm, and then ran a yum install R. It aborted with broken dependencies:
---> Package R-core.x86_64 0:3.1.1-3.el7 will be installed
--> Processing Dependency: libtiff.so.5(LIBTIFF_4.0)(64bit) for package: R-core-3.1.1-3.el7.x86_64
--> Processing Dependency: libpng15.so.15(PNG15_0)(64bit) for package: R-core-3.1.1-3.el7.x86_64
--> Processing Dependency: liblzma.so.5(XZ_5.0)(64bit) for package: R-core-3.1.1-3.el7.x86_64
--> Processing Dependency: libtiff.so.5()(64bit) for package: R-core-3.1.1-3.el7.x86_64
--> Processing Dependency: libquadmath.so.0()(64bit) for package: R-core-3.1.1-3.el7.x86_64
--> Processing Dependency: libpng15.so.15()(64bit) for package: R-core-3.1.1-3.el7.x86_64
--> Processing Dependency: libpcre.so.1()(64bit) for package: R-core-3.1.1-3.el7.x86_64
--> Processing Dependency: liblzma.so.5()(64bit) for package: R-core-3.1.1-3.el7.x86_64
--> Processing Dependency: libicuuc.so.50()(64bit) for package: R-core-3.1.1-3.el7.x86_64
--> Processing Dependency: libicui18n.so.50()(64bit) for package: R-core-3.1.1-3.el7.x86_64
---> Package R-java.x86_64 0:3.1.1-3.el7 will be installed
--> Processing Dependency: java-headless for package: R-java-3.1.1-3.el7.x86_64
---> Package texlive-texmf-errata-fonts.noarch 0:2007-7.1.el6 will be installed
--> Finished Dependency Resolution
Error: Package: R-core-3.1.1-3.el7.x86_64 (epel)
Requires: liblzma.so.5()(64bit)
Error: Package: R-core-3.1.1-3.el7.x86_64 (epel)
Requires: liblzma.so.5(XZ_5.0)(64bit)
Error: Package: R-core-3.1.1-3.el7.x86_64 (epel)
Requires: libtiff.so.5()(64bit)
Error: Package: R-core-3.1.1-3.el7.x86_64 (epel)
Requires: libpcre.so.1()(64bit)
Error: Package: R-core-3.1.1-3.el7.x86_64 (epel)
Requires: libpng15.so.15()(64bit)
Error: Package: R-core-3.1.1-3.el7.x86_64 (epel)
Requires: libicui18n.so.50()(64bit)
Error: Package: R-core-3.1.1-3.el7.x86_64 (epel)
Requires: libquadmath.so.0()(64bit)
Error: Package: R-core-3.1.1-3.el7.x86_64 (epel)
Requires: libpng15.so.15(PNG15_0)(64bit)
Error: Package: R-java-3.1.1-3.el7.x86_64 (epel)
Requires: java-headless
Error: Package: R-core-3.1.1-3.el7.x86_64 (epel)
Requires: libicuuc.so.50()(64bit)
Error: Package: R-core-3.1.1-3.el7.x86_64 (epel)
Requires: libtiff.so.5(LIBTIFF_4.0)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Not sure why these dependencies are not getting resolved. Also any reason why el7 version is being installed when my CentOS is 6.5?
Since EPEL release 7 has been installed (and then removed), some of metadata used by dependency chain checking contains conflicting residue from that. Though you have installed EPEL release 6, the metadata is still left there to bother.
To clean metadata and generate it again, run:
yum clean all && yum makecache
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I got below errors when installing apt.
It seems I am missing require packges.
Error: Package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64 (rpmforge)
Requires: librpm-4.4.so()(64bit)
Error: Package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64 (rpmforge)
Requires: librpmio-4.4.so()(64bit)
Error: Package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64 (rpmforge)
Requires: librpmdb-4.4.so()(64bit)
Anyone encountered similar things before?
Do I need to install the missing package one by one?
Thanks.
[root#db8 src]# uname -r
2.6.32-279.22.1.el6.x86_64
[root#db8 src]# yum install apt
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: centos.vipernetworksystems.com
* extras: mirror.sanctuaryhost.com
* rpmforge: mirror.us.leaseweb.net
* updates: mirror.linux.duke.edu
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package apt.x86_64 0:0.5.15lorg3.94a-5.el5.rf will be installed
--> Processing Dependency: librpmio-4.4.so()(64bit) for package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64
--> Processing Dependency: libreadline.so.5()(64bit) for package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64
--> Processing Dependency: librpm-4.4.so()(64bit) for package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64
--> Processing Dependency: librpmdb-4.4.so()(64bit) for package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64
--> Running transaction check
---> Package apt.x86_64 0:0.5.15lorg3.94a-5.el5.rf will be installed
--> Processing Dependency: librpmio-4.4.so()(64bit) for package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64
--> Processing Dependency: librpm-4.4.so()(64bit) for package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64
--> Processing Dependency: librpmdb-4.4.so()(64bit) for package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64
---> Package compat-readline5.x86_64 0:5.2-17.1.el6 will be installed
--> Finished Dependency Resolution
Error: Package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64 (rpmforge)
Requires: librpm-4.4.so()(64bit)
Error: Package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64 (rpmforge)
Requires: librpmio-4.4.so()(64bit)
Error: Package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64 (rpmforge)
Requires: librpmdb-4.4.so()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Try to install/Update rpm-libs-4.4 first. If not found in rpmforge release repo, try epel release.