Thread:Project:Support desk/Too many dependencies

I need to install the plugin Visual Editor onto my Media Wiki. To install Visual Editor, I downloaded the tarred rpm file from the link given by Media Wiki, and installed this into my server. However, Visual Editor needs Parsoid to enable editing and saving of pages.

I initially use this link to try and install Parsoid :

https://www.mediawiki.org/wiki/Parsoid/Setup

However, I get this error :

[aigini_agss@aamy-aamsapp01 ~]$ gpg --keyserver keys.gnupg.net --recv-keys 5C927F7C

gpg: requesting key 5C927F7C from hkp server keys.gnupg.net gpg: keyserver timed out gpg: keyserver receive failed: Keyserver error

Is this setup method only used in Ubuntu and Debian or can it be used in Red Hat and CentOS also?

Therefore, I use this link to install Parsoid (using the Parsoid/Developer setup) :

https://www.mediawiki.org/wiki/Parsoid/Developer_Setup#Installation_from_source_on_Linux_or_Mac_OS_X Bold text

I have problems installing via my server repository, therefore, I manually download and try to install the nodejs package. However, this package requires many dependencies, this is the list (I get this error when I run rpm -ivh nodejs) :

error: Failed dependencies: libcares19.so.2(64bit) is needed by nodejs-0.10.36-3.el6.x86_64 libhttp_parser.so.2(64bit) is needed by nodejs-0.10.36-3.el6.x86_64 libuv.so.0.10(64bit) is needed by nodejs-0.10.36-3.el6.x86_64 libv8.so.3(64bit) is needed by nodejs-0.10.36-3.el6.x86_64 v8(x86-64) >= 1:3.14.5.10-17 is needed by nodejs-0.10.36-3.el6.x86_64 v8(x86-64) < 1:3.15 is needed by nodejs-0.10.36-3.el6.x86_64

I successfully install the first two packages (libcares & libhttp_parser), also by manually downloading and installing them. However, when I try to install libuv, I again get errors for other dependencies, like :

[aigini_agss@aamy-aamsapp01 ~]$ sudo rpm -ivh compat-libuv010-0.10.34-3.fc23.x86_64.rpm

warning: compat-libuv010-0.10.34-3.fc23.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 34ec9cba: NOKEY error: Failed dependencies: libc.so.6(GLIBC_2.14)(64bit) is needed by compat-libuv010-1:0.10.34-3.fc23.x86_64

[aigini_agss@aamy-aamsapp01 ~]$

And when I download and install libc :

[aigini_agss@aamy-aamsapp01 ~]$ sudo rpm -ivh glibc-2.21-5.fc22.x86_64.rpm

warning: glibc-2.21-5.fc22.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 8e1431d5: NOKEY error: Failed dependencies: glibc-common = 2.21-5.fc22 is needed by glibc-2.21-5.fc22.x86_64

[aigini_agss@aamy-aamsapp01 ~]$

Then when I install glibc-common, I get this error :

[aigini_agss@aamy-aamsapp01 mediawiki]$ sudo rpm -ivh glibc-common-2.21-5.fc22.x86_64.rpm

warning: glibc-common-2.21-5.fc22.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 8e1431d5: NOKEY error: Failed dependencies: /usr/bin/bash is needed by glibc-common-2.21-5.fc22.x86_64 glibc = 2.21-5.fc22 is needed by glibc-common-2.21-5.fc22.x86_64 libc.so.6(GLIBC_2.14)(64bit) is needed by glibc-common-2.21-5.fc22.x86_64 libc.so.6(GLIBC_2.15)(64bit) is needed by glibc-common-2.21-5.fc22.x86_64

[aigini_agss@aamy-aamsapp01 mediawiki]$

The reason for the "/usr/bin/bash is needed by glibc-common-2.21-5.fc22.x86_64" is because there is a line in a script in glibc-common package that states /usr/bin/bash as shell. However, my shell is /bin/bash. Therefore I edit the file, and change the /usr/bin/bash to only /bin/bash.

After editing the glibc-common file, and running rpm-ivh again, I get this error :

[aigini_agss@aamy-aamsapp01 ~]$ sudo rpm -ivh glibc-common-2.21-5.fc22.x86_64.rpm

error: glibc-common-2.21-5.fc22.x86_64.rpm: illegal signature type error: glibc-common-2.21-5.fc22.x86_64.rpm cannot be installed

[aigini_agss@aamy-aamsapp01 ~]$

Is what I am doing correct? Keep downloading and installing dependencies? And do I get the error above (illegal signature type) because I edited the glibc-common file in notepad?

Are there any steps that I am missing?