Bug 986087
| Summary: | Installation of npm fails with dependencies error | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ghislain Hachey <ghachey> |
| Component: | nodejs-lru-cache | Assignee: | T.C. Hollingsworth <tchollingsworth> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | cfeller, jamielinux, tchollingsworth, thrcka |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-07-20 15:05:47 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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. 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
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 *** |
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: