cloudera manager agent installation failed - cloudera

I get the following error while installing Cloudera Manager:
Error: Package:
cloudera-manager-agent-5.12.0-1.cm5120.p0.120.el7.x86_64
(cloudera-manager) Requires: httpd Error: Package:
cloudera-manager-agent-5.12.0-1.cm5120.p0.120.el7.x86_64
(cloudera-manager) Requires: MySQL-python Error: Package:
cloudera-manager-agent-5.12.0-1.cm5120.p0.120.el7.x86_64
(cloudera-manager) Requires: mod_ssl

It's saying you should install the prerequisite packages. Try running:
# yum install httpd MySQL-python mod_ssl
then retry your install.

Related

I am facing error while installing R package textshaping

I am getting this error while installing packages.
ERROR: configuration failed for package ‘textshaping’
ERROR: configuration failed for package ‘textshaping’
removing ‘/home/Saniya/R/si-s/renv/staging/1/textshaping’
Error: install of package 'textshaping' failed [error code 1]
What is wrong and what should I do. I am new with R. Please help.
In bash:
sudo apt install libharfbuzz-dev libfribidi-dev
in RStudio
install.packages("textshaping", dependencies = TRUE)

error in install.packages 'rgdal': gdal-config not found - configure argument error

I am trying to install rgdal package in rstudio. I am using centos8. I have already installed:
sudo yum install gdal gdal-devel
sudo yum install geos geos-devel
I have also tried to install using:
install.packages('rgdal', type = "source", configure.args=c(
'--with-gdal-config=/Library/Frameworks/GDAL.framework/Programs/gdal-config',
'--with-proj-include=/Library/Frameworks/PROJ.framework/Headers',
'--with-proj-lib=/Library/Frameworks/PROJ.framework/unix/lib'))
My error message:
configure: error: gdal-config not found - configure argument error.
ERROR: configuration failed for package ‘rgdal’
* removing ‘/home/motipai/R/x86_64-redhat-linux-gnu-library/4.0/rgdal’
Warning in install.packages :
installation of package ‘rgdal’ had non-zero exit status
The downloaded source packages are in
‘/tmp/Rtmp5jeQl8/downloaded_packages’
installing first in terminal:
sudo yum install gdal.x86_64 gdal-devel.x86_64 gdal-libs.x86_64
sudo yum install proj.x86_64 proj-devel.x86_64
and then in r console:
install.packages("rgdal")
Solves the probem.

Problem with package installation from GitHub

I tried to install a package from GitHub, and I used the following code in R:
install.packages("devtools")
library(devtools)
install_github("Displayr/flipPlots")
But I obtained the following Error:
Error: Failed to install 'flipPlots' from GitHub:
Failed to install 'flipTransformations' from GitHub:
Failed to install 'flipFormat' from GitHub:
Failed to install 'formattable' from GitHub:
(converted from warning) cannot remove prior installation of package ‘Rcpp’
How can I solve this problem?
Edit. After the suggestions enclosed in comments, I done the following steps:
install.packages("Rcpp")
but I obtained:
Error: Failed to install 'flipPlots' from GitHub:
Failed to install 'flipTransformations' from GitHub:
Failed to install 'flipFormat' from GitHub:
Failed to install 'formattable' from GitHub:
(converted from warning) cannot remove prior installation of package ‘rlang’
Then:
install.packages("rlang")
and
Error: Failed to install 'unknown package' from GitHub:
Failed to install 'unknown package' from GitHub:
Failed to install 'unknown package' from GitHub:
(converted from warning) cannot remove prior installation of package ‘backports’
Lastly I installed backports package but obtaining the following new error:
Error: Failed to install 'unknown package' from GitHub:
cannot open URL
'https://api.github.com/repos/Displayr/flipPlots/contents/DESCRIPTION?ref=master'

rgeos package installation error on linux [R]

I'm trying to install the package rgeos on linux. I get the following error:
system("sudo apt-get update")
system("sudo apt install libgdal-dev -y")
install.packages("rgeos")
collect2: error: ld returned 1 exit status
configure: Install failure: compilation and/or linkage problems.
configure: error: initGEOS_r not found in libgeos_c.
ERROR: configuration failed for package ‘rgeos’
I have already install the dev libgdal and it returns the "already installed" info if I try to run the sudo again.
How can I fix this? Thanks in advance!
It is a bug, you could use this to install lower stable version.
install.packages("devtools")
library(devtools)
install_version("rgeos", version = "0.3-28")
After this code all should be fine.

Issues while installing RCurl

I am trying to install RCurl. But getting following error while installing:
checking for curl-config... no
Cannot find curl-config
ERROR: configuration failed for package ‘RCurl’
So tried installing libcurl4-openssl-dev on my Redhat 6 server.
But getting
No package libcurl4-openssl-dev available.
I have already installed curl and libcurl-devel.

Resources