Package conflict during rpm install of node - node.js

I am trying to do an rpm install of Node, but it is failing with the following error:
[xxxx#xxxxxxxx xxxx]# rpm -ivh Node-v0.10.33-RHEL.x86_64.rpm
Preparing... ################################# [100%]
file /usr/bin from install of Node-v0.10.33-RHEL.x86_64 conflicts with file from package filesystem-3.2-20.el7.x86_64
file /usr/lib from install of Node-v0.10.33-RHEL.x86_64 conflicts with file from package filesystem-3.2-20.el7.x86_64
I have been looking around the internet for the past two days but all the errors similar to mine (conflict with filesystem package) had been due to issues with the rpm package. In my case, I can rule that out as I have previously used the same rpm for node installation on other VMs successfully.
My user has root privileges and my OS is CentOS Linux release 7.2.1511 (Core)

Related

libuuid not linked with libuuid-devel?

i am installing asterisk13.8 on my laptop with centos6.8. when i run ./configure by going into asterisk directory it gives an error of absence of uuid development package. i manually installed libuuid*rpm using rpm -Uvh libuuid*rpm command successfully and checked by rpm -q libuuid*rpm but when i tried to install libuuid-devel*rpm it gives following error:
libuuid is needed by libuuid-devel...
is there any linking issue or configuration issue???

How to install dependent rpm packages in puppet

I tried to write puppet script to install lustre.luster needs installation of kernel patch and then lustre package installation. How to handle dependency in puppet while installing rpm package

Not able to install MySQL on CentOS 6.6?

See the MySQL stautus on system.
[root#n yum.repos.d]# rpm -qa | grep mysql
mysql-libs-5.1.73-3.el6_5.x86_64
mysql-community-release-fc21-5.noarch
[root#n yum.repos.d]# yum remove mysql
Setting up Remove Process
No Match for argument: mysql
Package(s) mysql available, but not installed.
No Packages marked for removal
After that i tried to install MySQL server- It gives some error message and fail to install.
[root#n yum.repos.d]# rpm -ivh http://repo.mysql.com/mysql-community-release-el5-5.noarch.rpm
Retrieving http://repo.mysql.com/mysql-community-release-el5-5.noarch.rpm
Preparing... ########################################### [100%]
package mysql-community-release-fc21-5.noarch (which is newer than mysql-community-release-el5-5.noarch) is already installed
file /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql from install of mysql-community-release-el5-5.noarch conflicts with file from package mysql-community-release-fc21-5.noarch
file /etc/yum.repos.d/mysql-community-source.repo from install of mysql-community-release-el5-5.noarch conflicts with file from package mysql-community-release-fc21-5.noarch
file /etc/yum.repos.d/mysql-community.repo from install of mysql-community-release-el5-5.noarch conflicts with file from package mysql-community-release-fc21-5.noarch
[root#n yum.repos.d]# dir
CentOS-Base.repo CentOS-Vault.repo
CentOS-Debuginfo.repo epel.repo
CentOS-fasttrack.repo epel-testing.repo
CentOS-Media.repo mysql-community-release-el6-5.noarch.rpm
I am not able to insall the MySQL. How can I solve this issue and install MySQL 5.6 in my System. I am using remote system.
You already have a package installed in your machine. You can use that one (which is a newer version than the one you are trying to install) or run:
rpm -e mysql-community-release-fc21-5.noarch
To remove it and then run the command you are trying to use.

how to backup a installed rpm package in redhat?

I was install a package by rpm command in redhat, but the package is failure now.
I want create a new package from installed package.
what can I do?
This command would help you in that,
rpm -Fvh –repackage rpm-file-name.rpm
Here rpm-file-name.rpm is an existing package in Linux which will be repackage by using above option.
From man page of rpm;
–repackage Re-package the files before erasing.
–replacefiles Install the packages even if they replace files from
other, already installed, packages.
–replacepkgs Install the packages even if some of them are already
installed on this system.
rpmrebuild is built for re-creating RPM package files from already installed packages. There are options which allow you to tailor the packaging, but the most simple invocation just produces an RPM file from an installed package. Example: rpmrebuild coreutils

How to specify dependency location in rpm?

While installing Mono using RPM, GLIBC_2.16 is listed as a dependency. Since I'm having an older version of glibc, and didn't want to corrupt my kernel, i installed the newer glibc from sources in my home folder.
I now want the RPM to refer to this newer glibc lib directory in my home folder while installing mono. What is the RPM option for mentioning dependency locations for a package?
I am currently using the following RPM command:
sudo rpm -ivh mono-core-3.2.3-0.x86_64.rpm
I get the following error messages:
libc.so.6(GLIBC_2.14)(64bit) is needed by mono-core-3.2.3-0.x86_64
libc.so.6(GLIBC_2.15)(64bit) is needed by mono-core-3.2.3-0.x86_64
libc.so.6(GLIBC_2.16)(64bit) is needed by mono-core-3.2.3-0.x86_64
My newer glibc path is:
~/Desktop/glibc/glibc1/lib
What option should i include in rpm to reference this path while installing mono?
Thanks
I guess there is no way to install the package without --nodeps unless you install the proper version of glibc in your system.
If your goal is to run mono command completely, it may work fine by the following steps.
Installing the package by adding the --nodeps option to rpm command to ignore any dependencies.
Running mono-related commands with LD_LIBRARY_PATH set to /your/alternative/path/to/glibc.
However, I think that the best solution is to build the mono's source on your machine.

Resources