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.
Related
While installing libpcap-devel on fedora 21 following error are coming :-
**yum install libpcap-devel**
Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package libpcap-devel.x86_64 14:1.6.2-1.fc21 will be installed
--> Processing Dependency: libpcap = 14:1.6.2-1.fc21 for package: 14:libpcap-devel-1.6.2-1.fc21.x86_64
--> Running transaction check
---> Package libpcap.i686 14:1.6.2-1.fc21 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.11) for package: 14:libpcap-1.6.2-1.fc21.i686
--> Running transaction check
---> Package glibc.i686 0:2.20-5.fc21 will be installed
--> Processing Dependency: glibc-common = 2.20-5.fc21 for package: glibc-2.20-5.fc21.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.20-5.fc21.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.20-5.fc21.i686
--> Running transaction check
---> Package glibc.i686 0:2.20-5.fc21 will be installed
--> Processing Dependency: glibc-common = 2.20-5.fc21 for package: glibc-2.20-5.fc21.i686
---> Package nss-softokn-freebl.i686 0:3.17.2-1.fc21 will be installed
--> Finished Dependency Resolution
Error: Package: glibc-2.20-5.fc21.i686 (fedora)
Requires: glibc-common = 2.20-5.fc21
Installed: glibc-common-2.20-8.fc21.x86_64 (installed)
glibc-common = 2.20-8.fc21
Available: glibc-common-2.20-5.fc21.x86_64 (fedora)
glibc-common = 2.20-5.fc21
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
The kernel i am using-
uname -r
4.1.13-100.fc21.x86_64
I cannot erase glibc-common-2.20-8.fc21.x86_64 , since it is with kernel package, can someone help me in this?
I am trying to install GlusterFS on Amazon Linux ami EC2-instance. i use the below commands.
Firstly, i enable the repo:
[root#ip-00-00-0-000 /]# wget -P /etc/yum.repos.d https://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/EPEL.repo/glusterfs-epel.repo
[root#ip-00-00-0-000 /]# sed -i 's/$releasever/7/g' /etc/yum.repos.d/glusterfs-epel.repo
Then, i install with the below command:
[root#ip-00-00-0-000 /]# yum install -y glusterfs{-fuse,-server}
but i get the following error:
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main/latest | 2.1 kB 00:00
amzn-updates/latest | 2.3 kB 00:00
glusterfs-epel/x86_64 | 2.9 kB 00:00
glusterfs-noarch-epel | 2.9 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package glusterfs-fuse.x86_64 0:3.7.12-1.el6 will be installed
--> Processing Dependency: glusterfs-client-xlators = 3.7.12-1.el6 for package: glusterfs-fuse-3.7.12-1.el6.x86_64
--> Processing Dependency: glusterfs = 3.7.12-1.el6 for package: glusterfs-fuse-3.7.12-1.el6.x86_64
--> Processing Dependency: libglusterfs.so.0()(64bit) for package: glusterfs-fuse-3.7.12-1.el6.x86_64
--> Processing Dependency: libgfxdr.so.0()(64bit) for package: glusterfs-fuse-3.7.12-1.el6.x86_64
--> Processing Dependency: libgfrpc.so.0()(64bit) for package: glusterfs-fuse-3.7.12-1.el6.x86_64
---> Package glusterfs-server.x86_64 0:3.7.12-1.el6 will be installed
--> Processing Dependency: glusterfs-cli = 3.7.12-1.el6 for package: glusterfs-server-3.7.12-1.el6.x86_64
--> Processing Dependency: glusterfs-api = 3.7.12-1.el6 for package: glusterfs-server-3.7.12-1.el6.x86_64
--> Processing Dependency: pyxattr for package: glusterfs-server-3.7.12-1.el6.x86_64
--> Processing Dependency: python-argparse for package: glusterfs-server-3.7.12-1.el6.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_PRIVATE_3.7.0)(64bit) for package: glusterfs-server-3.7.12-1.el6.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_PRIVATE_3.4.0)(64bit) for package: glusterfs-server-3.7.12-1.el6.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.7.4)(64bit) for package: glusterfs-server-3.7.12-1.el6.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.7.0)(64bit) for package: glusterfs-server-3.7.12-1.el6.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.6.0)(64bit) for package: glusterfs-server-3.7.12-1.el6.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.5.1)(64bit) for package: glusterfs-server-3.7.12-1.el6.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.2)(64bit) for package: glusterfs-server-3.7.12-1.el6.x86_64
--> Processing Dependency: libgfapi.so.0(GFAPI_3.4.0)(64bit) for package: glusterfs-server-3.7.12-1.el6.x86_64
--> Processing Dependency: liburcu-cds.so.1()(64bit) for package: glusterfs-server-3.7.12-1.el6.x86_64
--> Processing Dependency: liburcu-bp.so.1()(64bit) for package: glusterfs-server-3.7.12-1.el6.x86_64
--> Processing Dependency: libgfapi.so.0()(64bit) for package: glusterfs-server-3.7.12-1.el6.x86_64
--> Running transaction check
---> Package glusterfs.x86_64 0:3.7.12-1.el6 will be installed
---> Package glusterfs-api.x86_64 0:3.7.12-1.el6 will be installed
---> Package glusterfs-cli.x86_64 0:3.7.12-1.el6 will be installed
---> Package glusterfs-client-xlators.x86_64 0:3.7.12-1.el6 will be installed
---> Package glusterfs-libs.x86_64 0:3.7.12-1.el6 will be installed
---> Package glusterfs-server.x86_64 0:3.7.12-1.el6 will be installed
--> Processing Dependency: liburcu-cds.so.1()(64bit) for package: glusterfs-server-3.7.12-1.el6.x86_64
--> Processing Dependency: liburcu-bp.so.1()(64bit) for package: glusterfs-server-3.7.12-1.el6.x86_64
---> Package python26-argparse.noarch 0:1.2.1-2.8.amzn1 will be installed
--> Processing Dependency: python(abi) = 2.6 for package: python26-argparse-1.2.1-2.8.amzn1.noarch
--> Processing Dependency: python26(dist-packages) for package: python26-argparse-1.2.1-2.8.amzn1.noarch
---> Package python26-pyxattr.x86_64 0:0.5.0-1.6.amzn1 will be installed
--> Processing Dependency: libpython2.6.so.1.0()(64bit) for package: python26-pyxattr-0.5.0-1.6.amzn1.x86_64
--> Running transaction check
---> Package glusterfs-server.x86_64 0:3.7.12-1.el6 will be installed
--> Processing Dependency: liburcu-cds.so.1()(64bit) for package: glusterfs-server-3.7.12-1.el6.x86_64
--> Processing Dependency: liburcu-bp.so.1()(64bit) for package: glusterfs-server-3.7.12-1.el6.x86_64
---> Package python26.x86_64 0:2.6.9-2.84.amzn1 will be installed
---> Package python26-libs.x86_64 0:2.6.9-2.84.amzn1 will be installed
--> Finished Dependency Resolution
Error: Package: glusterfs-server-3.7.12-1.el6.x86_64 (glusterfs-epel)
Requires: liburcu-bp.so.1()(64bit)
Error: Package: glusterfs-server-3.7.12-1.el6.x86_64 (glusterfs-epel)
Requires: liburcu-cds.so.1()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Kindly please help me resolve the issue.
[root#ip-00-00-0-000 /]# rpm -ivh userspace-rcu-0.7.16-1.el7.x86_64.rpm
warning: userspace-rcu-0.7.16-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Preparing... ################################# [100%]
package userspace-rcu-0.7.16-1.el7.x86_64 is already installed
[root#ip-00-00-0-000 /]# yum install -y glusterfs{-fuse,-server}
Loaded plugins: priorities, update-motd, upgrade-helper
http://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/EPEL.repo/epel-latest/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/EPEL.repo/epel-latest/noarch/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
No package glusterfs-fuse available.
No package glusterfs-server available.
Error: Nothing to do
Those packages are provided by the userspace-rcu (read-copy-update) package.
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/u/userspace-rcu-0.7.16-1.el7.x86_64.rpm
rpm -ivh userspace-rcu-0.7.16-1.el7.x86_64.rpm
Using the stable version of glusterfs 3.6 solved the issue
wget -P /etc/yum.repos.d https://download.gluster.org/pub/gluster/glusterfs/3.6/LATEST/EPEL.repo/glusterfs-epel.repo
sed -i 's/$releasever/6/g' glusterfs-epel.repo
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
I'm having trouble installing Git on CentOS 5.5 x86_64. I'm not an expert at this type of thing, what's the problem?
root#server [/]# yum install git
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: fedora-epel.mirror.lstn.net
* rpmfusion-free-updates: mirror.us.leaseweb.net
* rpmfusion-free-updates-testing: mirror.us.leaseweb.net
* rpmfusion-nonfree-updates: mirror.us.leaseweb.net
* rpmfusion-nonfree-updates-testing: mirror.us.leaseweb.net
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package git.x86_64 0:1.7.4.1-1.el5 set to be updated
--> Processing Dependency: perl-Git = 1.7.4.1-1.el5 for package: git
--> Processing Dependency: perl(Error) for package: git
--> Processing Dependency: perl(Git) for package: git
--> Finished Dependency Resolution
git-1.7.4.1-1.el5.x86_64 from epel has depsolving problems
--> Missing Dependency: perl(Error) is needed by package git-1.7.4.1-1.el5.x86_64 (epel)
git-1.7.4.1-1.el5.x86_64 from epel has depsolving problems
--> Missing Dependency: perl-Git = 1.7.4.1-1.el5 is needed by package git-1.7.4.1-1.el5.x86_64 (epel)
git-1.7.4.1-1.el5.x86_64 from epel has depsolving problems
--> Missing Dependency: perl(Git) is needed by package git-1.7.4.1-1.el5.x86_64 (epel)
Error: Missing Dependency: perl(Error) is needed by package git-1.7.4.1-1.el5.x86_64 (epel)
Error: Missing Dependency: perl-Git = 1.7.4.1-1.el5 is needed by package git-1.7.4.1-1.el5.x86_64 (epel)
Error: Missing Dependency: perl(Git) is needed by package git-1.7.4.1-1.el5.x86_64 (epel)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
Figured it out, it was because of cpanel.
This fixes it:
yum install git --disableexcludes=main