Persistent dependency error when installing a package.
Trying to get a basic Haskell environment working. I've tried yum install ghc
and yum install haskell-platform.x86_64
but both error out with a bunch of dependency errors:
error: Package: ghc-base-devel-4.6.0.1-18.3.fc20.x86_64 (updates)
Requires: gmp-devel(x86-64)
however, there seems to be no gmp-devel in my repos.
enter code hLoading mirror speeds from cached hostfile
* rpmfusion-nonfree: mirror.us.leaseweb.net
* rpmfusion-nonfree-updates: mirror.us.leaseweb.net
* updates: mirrors.servercentral.net
No package gmp-devel available.
Error: Nothing to do here
Everything on the web seems to indicate that it should be in the standard repo for FC 20.
Using yum clean all
doesn't help.
Running rpm -Va --nofiles --nodigest
produces no output.
Running yum -v repolist
produces the following output:
http://pastebin.com/Rh68s735
Removing and rebuilding the database also does not fix the problem:
rm -f /var/lib/rpm/__db*
rpm --rebuilddb
Downloading the package and installing it with rpm shows that the package is in there, but somehow still blocks the installation: # yum install /home/path/gmp-devel-5.1.2-2.fc20.i686.rpm Loaded plugins: fastestmirror, langpacks, refresh-packagekit Examining /home/path/gmp-devel-5.1.2-2.fc20.i686.rpm: 1:gmp-devel-5.1.2-2.fc20.i686 /home/path/gmp-devel-5.1.2-2.fc20.i686.rpm: does not update installed package. Error: Nothing to do
But the install of ghc still fails:
--> Finished Dependency Resolution
Error: Package: ghc-base-devel-4.6.0.1-18.3.fc20.x86_64 (updates)
Requires: gmp-devel(x86-64)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Am I missing something?