I was installing CM and CDH on CentOS6.9, some errors happended on one of the hosts.
So I want to reinstall cloudera-manager-agent, but failed.
Then I used rpm to reinstall(I had download the rpms), here is the result:
[root#xxx yum.repos.d]# rpm -e cloudera-manager*
error: package cloudera-manager-agent-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed
error: package cloudera-manager-daemons-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed
error: package cloudera-manager.repo is not installed
error: package cloudera-manager-server-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed
error: package cloudera-manager-server-db-2-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed
[root#vm8034 yum.repos.d]# rpm -U cloudera-manager*
error: cloudera-manager.repo: not an rpm package (or package manifest):
[root#vm8034 yum.repos.d]# rpm -U cloudera-manager*.rpm
package cloudera-manager-daemons-5.12.0-1.cm5120.p0.120.el6.x86_64 is already installed
package cloudera-manager-server-5.12.0-1.cm5120.p0.120.el6.x86_64 is already installed
package cloudera-manager-server-db-2-5.12.0-1.cm5120.p0.120.el6.x86_64 is already installed
package cloudera-manager-agent-5.12.0-1.cm5120.p0.120.el6.x86_64 is already installed
[root#xxx yum.repos.d]# rpm -q cloudera-manager*
package cloudera-manager-agent-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed
package cloudera-manager-daemons-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed
package cloudera-manager.repo is not installed
package cloudera-manager-server-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed
package cloudera-manager-server-db-2-5.12.0-1.cm5120.p0.120.el6.x86_64.rpm is not installed
Try using yum instead of rpm and see if that works:
yum update cloudera-manager*
UPDATE:
Try a yum update. This will search for the available updates of your system and display a list with them. You can check if cloudera is in the list or not.
Then check the official website and see if there is any new version for download:
https://www.cloudera.com/downloads/manager/5-12-0.html
If there is try downloading the package, save it on your server and manually install it:
rpm -Uhv package-version-.rpm
Also you should check the content of /etc/yum.conf for an exclude = option. Usually that's used to exclude certain packages from update. If you find cloudera there, then that's why it will never update that package.
Related
~ $ gdalinfo --version
gdalinfo: symbol lookup error: /lib/libgdal.so.28: undefined symbol: proj_crs_get_datum_ensemble
Recently upgraded to Ubuntu 21.04 and things stopped working, tried removing all gdal, qgis installation and reinstall again and this is the latest. Previous error was https://gist.github.com/adoug/f551c96ae49bcf0dd4905cfb3ed1c910. Installing qgis from gui also comes up with an error Unable to install QGIS Desktop: Error while installing package: installed qgis-providers package post-installation script subprocess returned error exit status 127
~ $ pip3 install gdal
Requirement already satisfied: gdal in /usr/lib/python3/dist-packages (3.2.2)
~ $ pip3 uninstall gdal
Found existing installation: GDAL 3.2.2
Not uninstalling gdal at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'GDAL'. No files were found to uninstall.
The whole install seems to be broken, is there a way to clean all and resinstall or somehow recover from this?
Not really for a fix for current issue, but used fresh anaconda install as a workaround to get gdal working again
conda update --all
conda install -c conda-forge gdal
while trying to install "CPAN" using Yum command [CentOS 7.3(64-bit)] I am getting below error:
---> Package glibc.i686 0:2.17-157.el7 will be installed
--> Processing Dependency: glibc-common = 2.17-157.el7 for package: glibc-2.17-157.el7.i686
---> Package kernel-headers.x86_64 0:3.10.0-514.el7 will be installed
---> Package nss-softokn-freebl.i686 0:3.16.2.3-14.4.el7 will be installed
--> Finished Dependency Resolution
Error: Package: glibc-2.17-157.el7.i686 (cent-7_1-os)
Requires: glibc-common = 2.17-157.el7
Installed: glibc-common-2.17-157.el7_3.4.x86_64 (#updates_latest)
glibc-common = 2.17-157.el7_3.4
Available: glibc-common-2.17-157.el7.x86_64 (cent-7_1-os)
glibc-common = 2.17-157.el7
Now on other hand when in run:
yum install glibc-2.17-157.el7.i686
It shows since I have already updated package:
Package matching glibc-2.17-157.el7.x86_64 already installed. Checking for update
how to work around this? for many of the Perl Modules is throws same error and requires glibc-2.17-157.el7.i686.
Below are list of some modules which throws the error (though there are many other packages which are throwing same error):
yum install perl-ExtUtils-Embed
yum install perl-ExtUtils-ParseXS
yum install perl-ExtUtils-Install
I have also tries to install using source packages, but no success :(
Please guide me if I am asking at wrong platform (No down votes plz)
It worked after changing the yum repo. I have edited the repository:
vim /etc/yum.repos.d/CentOS-Base.repo
And added below lines:
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Previously it was :
[cent-7_1-os]
name=CentOS-7_1 - os
#baseurl=http://mhxrpmsrv001sas.dsone.3ds.com/rpms/cent/7_1/$basearch/os/latest/
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
priority=1
I think your glibc-common installed is of higher version than required.
first check if there is a version to downgrade to, by
yum list --showduplicates glibc
downgrade the glibc* by
yum downgrade glibc glibc-common glibc-devel glibc-headers
install gcc again
yum install gcc
I'm trying to install TSung on CentOS 7, but I'm having trouble installing the dependencies.
When I tried to install perl-RRD-Simple.noarch, yum shows no package available. So I downloaded an RPM file and did:
rpm -ivh perl-RRD-Simple-1.43-1.el5.rf.noarch.rpm
But I got an error:
error: Failed dependencies:
perl(RRDs) is needed by perl-RRD-Simple-1.43-1.el5.rf.noarch
How can I install the perl-RRD-Simple package? RRDtool is already installed.
RRD::Simple depends on RRDs.pm, the Perl bindings for RRDtool. RRDs.pm is in the rrdtool-perl package; on CentOS 7, rrdtool-perl is in the base repo, so you can just do:
yum install rrdtool-perl
You'll also need to find a different perl-RRD-Simple RPM, since perl-RRD-Simple-1.43-1.el5.rf.noarch.rpm is for EL5. The only one I can find for EL7 is here.
Alternatively, you can build your own RPM.
On centos 7.3 minimal trying to install shapely or geopandas requires access to https://github.com/libgeos/libgeos libgeos.
Trying to install this via sudo yum install libgeos-dev tells me that this package is not available. It seems that I am lacking a repository. So far I have been unable to find a working one as http://trac.osgeo.org/geos is pointing to https://yum.postgresql.org/repopackages.php#pg96 for the RPM but still after rpm -Uvh https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm the installation candidate is not found.
It seems that for CentOS this package is called geos-devel and can be found through RPM Fusion.
yum install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
yum install geos-devel
Also see: https://rpmfusion.org/Configuration
I am using Red Hat Linux installed on VMWare ESXi.
I am using putty to access the machine.
I want to install xyz.noarch.rpm package on RHEL system.
When I try the command
rpm -ivh xyz.noarch.rpm
I get an error package already installed.
When I verify the same by using the rpm -q xyz.noarch.rpm.
I get response as package xyz.noarch.rpm is not installed.
I also tried with the uninstalling the same by using the command as rpm -ev xyz.noarch.rpm the also I get the same response as package xyz.noarch.rpm is not installed.
Can anybody help me to sort out the issue?
The file is named xyz.noarch.rpm, but in the database it's just xyz. So try rpm -qi xyz.
i faced a similar issue and found that both installation and removal (erase) was not working for a rpm package that i installed. i tried using
rpm -e --allmatches <package-name>
more info at : http://www.redhat.com/archives/rpm-list/2002-March/msg00138.html