Ask Your Question
0

Yum dependency chain error while installing hadoop

asked 2015-03-30 03:52:41 -0500

Chichivica gravatar image

updated 2015-03-30 05:34:43 -0500

FranciscoD_ gravatar image

I'm trying to install Hadoop Bigtop distribution on Fedora 21.

I do exactly the same steps as described here

But it does not matter what I'm installing.

Notably:

$wget -O /etc/yum.repos.d/bigtop.repo http://archive.apache.org/dist/bigtop/stable/repos/fedora18/bigtop.repo

$yum search mahout
$sudo yum install hadoop\*

After that I'm getting very interesting errors:

strange behaviour

Step 1: It sees that "hadoop-yarn-proxyserver" package required

Step 2: It sees that required package is available in bigtop repository

Step 3: It begins installing another and not required package from another repository

Step 4: After that throws an error that another and unnecessary package is unsuitable.

Where I'm wrong? Where is workaround?

Thanks in advance. Ivan.

edit retag flag offensive close merge delete

Comments

Please use more meaningful question summaries. What does "yum ridiculous behaviour" tell any one at all? On top of that, it isn't actually ridiculous at all ;)

FranciscoD_ gravatar imageFranciscoD_ ( 2015-03-30 05:24:26 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-03-30 04:06:11 -0500

cobra gravatar image

You have a dependency error, you cannot say that a particular package isn't available as it's being called for in the dependency chain. The only issue is the version number it's being provided at. This is likely to be caused by one of two issues:

  1. the repository you're using has an error, and has the wrong version of one of the packages available - this is more likely to happen when the repository doesn't focus on our distribution and hence the files are not well maintained.

  2. you have other 3rd party repositories installed and one of them is providing a newer version of this package, and breaking the dependency check.

You can check for 2 being the problem by turning off all 3rd party repositories other than this 'bigtop.repo' and trying the install again. You may need to uninstall any offending packages (if the error says that the wrong dependent package is installed, not that it is being installed).

If it still fails when you have all 3rd party repositories turned off, then you should contact the repository maintainer, they may well have an error that they're not aware of.

edit flag offensive delete link more

Comments

Done!. Thanks you very much for the help.But I don't have 3rd party repos. I've completed installation by disabling Fedora own repos (Fedora - x86_64.repo and Fedora - Updates x86_64.repo).

Chichivica gravatar imageChichivica ( 2015-03-30 04:24:06 -0500 )edit

Ahh, Ok. I suppose that the bigtop repo isn't really Fedora-centric, so isn't aware of the progress of packages in the core repositories. You might find it helpful to inform the bigtop.repo maintainers that the core product repositories breaks their dependencies.

Glad you got it working.

cobra gravatar imagecobra ( 2015-03-30 04:55:49 -0500 )edit

Please note that the packages from that repository are built for Fedora 18 but you're trying to use the packages with Fedora 21. That's one cause of error already.

FranciscoD_ gravatar imageFranciscoD_ ( 2015-03-30 05:23:49 -0500 )edit
0

answered 2015-03-30 03:59:26 -0500

sergiomb gravatar image

this is a typical case of upgrade that left thing behind , try do this before upgrade.

yum remove (...)proxyserver-2.0.5 (can't paste from you image)
edit flag offensive delete link more

Comments

Thanks a lot for your answer. I did the installation by disabling Fedora own repos (Fedora - x86_64.repo and Fedora - Updates x86_64.repo). But could you explain me what should I remove before? "hadoop-yarn-proxyserver" package is not installed on my system. I did yum update before, but it had no affect. Thank you.

Chichivica gravatar imageChichivica ( 2015-03-30 04:26:55 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-03-30 03:52:41 -0500

Seen: 204 times

Last updated: Mar 30 '15