Bug 986087 - Installation of npm fails with dependencies error
Summary: Installation of npm fails with dependencies error
Keywords:
Status: CLOSED DUPLICATE of bug 985305
Alias: None
Product: Fedora
Classification: Fedora
Component: nodejs-lru-cache
Version: 18
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: T.C. Hollingsworth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-18 23:37 UTC by Ghislain Hachey
Modified: 2013-07-20 15:05 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-07-20 15:05:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ghislain Hachey 2013-07-18 23:37:36 UTC
Description of problem:

The installation of npm fails consistently on Fedora 18 64-bit.

Version-Release number of selected component (if applicable):

npm-1.2.14-2.fc18.noarch requires lru-cache <2.3 but...
nodejs-lru-cache-2.3.0-3.fc18.noarch is the one being installed.

How reproducible:

I only tried on my system.

Steps to Reproduce:
1. yum update
2. yum install npm
3.

I actually installnodejs first.

1. yum update
2. yum install nodejs
3. yum install npm

Actual results:

--> Finished Dependency Resolution
Error: Package: npm-1.2.14-2.fc18.noarch (updates)
           Requires: npm(lru-cache) < 2.3
           Installing: nodejs-lru-cache-2.3.0-3.fc18.noarch (updates)
               npm(lru-cache) = 2.3.0
Error: Package: npm-1.2.14-2.fc18.noarch (updates)
           Requires: npm(lru-cache) < 2.3
           Available: nodejs-lru-cache-2.3.0-3.fc18.noarch (updates)
               npm(lru-cache) = 2.3.0
Error: Package: nodejs-read-package-json-0.2.2-1.fc18.noarch (updates)
           Requires: npm(lru-cache) < 2.3
           Installing: nodejs-lru-cache-2.3.0-3.fc18.noarch (updates)
               npm(lru-cache) = 2.3.0
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Expected results:

Cleanly resolve dependencies and install.

Additional info:

Comment 1 Ghislain Hachey 2013-07-19 00:11:08 UTC
Sorry, just found bug #905814 which is a duplicate. Using the testing repo works.

# yum --enablerepo=updates-testing install npm

as a work around for now.

Comment 2 Chad Feller 2013-07-20 14:58:14 UTC
Seeing same thing on updates of existing installs:

Resolving Dependencies
--> Running transaction check
---> Package nodejs-lru-cache.noarch 0:2.2.2-1.fc18 will be updated
--> Processing Dependency: npm(lru-cache) < 2.3 for package: npm-1.2.14-2.fc18.noarch
--> Processing Dependency: npm(lru-cache) < 2.3 for package: nodejs-read-package-json-0.2.2-1.fc18.noarch
---> Package nodejs-lru-cache.noarch 0:2.3.0-3.fc18 will be an update
--> Finished Dependency Resolution
Error: Package: npm-1.2.14-2.fc18.noarch (@updates)
           Requires: npm(lru-cache) < 2.3
           Removing: nodejs-lru-cache-2.2.2-1.fc18.noarch (@updates)
               npm(lru-cache) = 2.2.2
           Updated By: nodejs-lru-cache-2.3.0-3.fc18.noarch (updates)
               npm(lru-cache) = 2.3.0
Error: Package: nodejs-read-package-json-0.2.2-1.fc18.noarch (@updates)
           Requires: npm(lru-cache) < 2.3
           Removing: nodejs-lru-cache-2.2.2-1.fc18.noarch (@updates)
               npm(lru-cache) = 2.2.2
           Updated By: nodejs-lru-cache-2.3.0-3.fc18.noarch (updates)
               npm(lru-cache) = 2.3.0
 You could try using --skip-broken to work around the problem

Comment 3 T.C. Hollingsworth 2013-07-20 15:05:47 UTC
You can install npm 1.3.3 from updates-testing as explained above, or you can wait until Monday, when I'll be able to push the update stable.

If the updates-testing version is working for you, please log in and provide karma to this update so it can get pushed stable faster:
https://admin.fedoraproject.org/updates/FEDORA-2013-11780

Thanks and sorry for the trouble.

*** This bug has been marked as a duplicate of bug 985305 ***


Note You need to log in before you can comment on or make changes to this bug.