Bug 1531250 - Impossible to install nodejs-mongodb from EPEL
Summary: Impossible to install nodejs-mongodb from EPEL
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: nodejs-mongodb
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: NodeJS Packaging SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1668913
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-04 19:46 UTC by Vadim Raskhozhev
Modified: 2022-03-15 18:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-15 18:16:11 UTC
Type: Bug


Attachments (Terms of Use)

Description Vadim Raskhozhev 2018-01-04 19:46:24 UTC
An attempt to install nodejs-mongodb on CentOS Linux release 7.4.1708 (Core) with base, epel, extras and updates repositories enabled leads to the following:

[root@s2e24d832 ~]# yum install nodejs-mongodb
Loaded plugins: copr, fastestmirror, remove-with-leaves
Loading mirror speeds from cached hostfile
 * base: ftp.hosteurope.de
 * epel: ftp.lysator.liu.se
 * extras: ftp.hosteurope.de
 * updates: ftp.hosteurope.de
Resolving Dependencies
--> Running transaction check
---> Package nodejs-mongodb.noarch 0:1.4.7-1.el7 will be installed
--> Processing Dependency: npm(bson) >= 0.2.2 for package: nodejs-mongodb-1.4.7-1.el7.noarch
--> Running transaction check
---> Package nodejs-bson.x86_64 0:0.2.9-1.el7 will be installed
--> Processing Dependency: nodejs(abi) = 0.10 for package: nodejs-bson-0.2.9-1.el7.x86_64
--> Processing Dependency: nodejs(v8-abi) = 3.14 for package: nodejs-bson-0.2.9-1.el7.x86_64
--> Processing Dependency: npm(nan) < 2 for package: nodejs-bson-0.2.9-1.el7.x86_64
--> Processing Dependency: npm(nan) >= 1.0.0 for package: nodejs-bson-0.2.9-1.el7.x86_64
--> Running transaction check
---> Package nodejs-bson.x86_64 0:0.2.9-1.el7 will be installed
--> Processing Dependency: nodejs(abi) = 0.10 for package: nodejs-bson-0.2.9-1.el7.x86_64
--> Processing Dependency: nodejs(v8-abi) = 3.14 for package: nodejs-bson-0.2.9-1.el7.x86_64
---> Package nodejs-nan1.noarch 0:1.9.0-3.el7 will be installed
--> Finished Dependency Resolution
Error: Package: nodejs-bson-0.2.9-1.el7.x86_64 (epel)
           Requires: nodejs(abi) = 0.10
           Installed: 1:nodejs-6.12.2-1.el7.x86_64 (@epel)
               nodejs(abi) = 6.12
Error: Package: nodejs-bson-0.2.9-1.el7.x86_64 (epel)
           Requires: nodejs(v8-abi) = 3.14
           Installed: 1:nodejs-6.12.2-1.el7.x86_64 (@epel)
               nodejs(v8-abi) = 5.1
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Comment 1 Troy Dawson 2022-03-15 18:16:11 UTC
nodejs-mongodb now installs on epel7.
Note: MongoDB was retired from Fedora and epel7 a couple of years ago, due to the license issues.
Thus there is no longer a mongodb-server in epel7.
https://bugzilla.redhat.com/show_bug.cgi?id=1855725

At this point, we recommend you install or update your mongodb server from mongodb the company.
It is still free for a majority of use cases.
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/

But, to show that you can still install nodejs-mongodb, this is what you get.

# yum install nodejs-mongodb
...
Dependencies Resolved

=====================================================================================================================
 Package                        Arch                   Version                            Repository            Size
=====================================================================================================================
Installing:
 nodejs-mongodb                 noarch                 1.4.7-1.el7                        epel                 129 k
Installing for dependencies:
 brotli                         x86_64                 1.0.7-5.el7                        epel                 318 k
 libuv                          x86_64                 1:1.43.0-2.el7                     epel                 143 k
 nodejs                         x86_64                 1:16.14.0-2.el7                    epel                 206 k
 nodejs-bson                    noarch                 0.4.23-1.el7                       epel                  40 k
 nodejs-libs                    x86_64                 1:16.14.0-2.el7                    epel                  14 M
 openssl11                      x86_64                 1:1.1.1k-2.el7                     epel                 692 k
 openssl11-libs                 x86_64                 1:1.1.1k-2.el7                     epel                 1.5 M

Transaction Summary
=====================================================================================================================
Install  1 Package (+7 Dependent packages)

Total download size: 17 M
Installed size: 61 M
...


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