yarnpkg / yarn

The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry
https://classic.yarnpkg.com
Other
41.44k stars 2.73k forks source link

Yarn 0.19.1 RPM fails to install on machine that has hadoop-yarn installed #2502

Open facboy opened 7 years ago

facboy commented 7 years ago

What is the current behavior? Yarn RPM cannot be installed on a machine that has hadoop-yarn installed, even though #673 has been fixed.

If the current behavior is a bug, please provide the steps to reproduce.

$ yum install yarn
Resolving Dependencies
--> Running transaction check
---> Package yarn.noarch 0:0.19.1-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================
 Package                   Arch                        Version                         Repository                 Size
=======================================================================================================================
Installing:
 yarn                      noarch                      0.19.1-1                        yarn                      3.3 M

Transaction Summary
=======================================================================================================================
Install  1 Package

Total size: 3.3 M
Installed size: 12 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test

Transaction check error:
  file /usr/bin/yarn from install of yarn-0.19.1-1.noarch conflicts with file from package hadoop-yarn-2.6.0+cdh5.5.1+924-1.cdh5.5.1.p0.15.el7.x86_64

Error Summary
-------------

What is the expected behavior? I'd hope that it would install but exclude the /usr/bin/yarn symlink, or perhaps rename it?

Please mention your node.js, yarn and operating system version. Node v6.9.3 Yarn 0.19.1 CentOS 7.3

sbarrier commented 7 years ago

Does you plan to get this fixed by removing the /usr/bin/yarn symlink or renaming it ?

Nodejs v6.10.2 Yarn 0.23.2 CentOS 7.x