Grafana Version Upgrade - centos

I installed grafana 8.3.4 enterprise version by mistake, while I wanted to install the OSS version 8.3.4. I tried installing and oss rpm package but it shows the following error :
Cannot install package grafana-8.3.4-1.x86_64. It is obsoleted by installed package grafana-enterprise-8.3.4-1.x86_64

You have to uninstall enterprise version first:
yum remove grafana-enterprise.x86_64
Only after that install a new one:
yum install grafana-8.5.9-1.x86_64.rpm
Dont forget to update
systemctl daemon-reload

Related

install mongodb 5.0.2 on fedora 34

I am trying to install mongo on fedora 34.
I have the yum config:
/etc/yum.repo.d/mongodb-org-5.0.repo
with the text
[mongodb-org]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/8/mongodb-org/5.0/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-5.0.asc
To install mongo I run
sudo yum install -y mongodb-org
It fails with the following:
Error:
Problem: conflicting requests
- package mongodb-org-5.0.0-1.el8.x86_64 requires mongodb-org-tools, but none of the providers can be installed
- package mongodb-org-5.0.2-1.el8.x86_64 requires mongodb-org-tools, but none of the providers can be installed
- package mongodb-org-tools-5.0.0-1.el8.x86_64 requires mongodb-org-database-tools-extra, but none of the providers can be installed
- package mongodb-org-tools-5.0.2-1.el8.x86_64 requires mongodb-org-database-tools-extra, but none of the providers can be installed
- nothing provides /usr/libexec/platform-python needed by mongodb-org-database-tools-extra-5.0.0-1.el8.x86_64
- nothing provides /usr/libexec/platform-python needed by mongodb-org-database-tools-extra-5.0.2-1.el8.x86_64
Please help me with the installation steps.
I am not able to install even after following the official mongo installation guide
try to install the server, shell and tools separately
sudo dnf install mongodb-org-server mongodb-org-shell mongodb-database-tools mongodb-org-mongos mongodb-mongosh
Related issue

Dependency issues while installing postgresql-10-postgis-2.5 on Ubuntu Xenial (16.04)

There are some dependency problems while installing postgresql-10-postgis-2.5 on Ubuntu Xenial (16.04) after 2.5.3 version (which is published to PostgreSQL Apt Repo a couple days ago). The reason is that now postgresql-10-postgis-2.5 (version 2.5.3+dfsg-2.pgdg16.04+1) requires libgeos-c1v5 (>= 3.7.0) but the latest version of libgeos-c1v5 is 3.5.0-1ubuntu2 for Ubuntu Xenial (https://packages.ubuntu.com/search?keywords=libgeos-c1v5). I can upgrade to bionic (18.04 LTS) but the same problem exists since it brings version 3.6.2. 19.04 is not an option for me at the moment.
Is there a way to install libgeos-c1v5 >= 3.7.0 or install postgresql-10-postgis-2.5 2.5.2 on Ubuntu Xenial (16.04) using apt?
The steps to reproduce it locally on a Docker container:
docker run -it ubuntu:xenial /bin/bash
apt update
apt install -y curl
echo "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main" > /etc/apt/sources.list.d/pgdg.list
curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
apt update
apt install postgresql-10-postgis-2.5 postgresql-10-postgis-2.5-scripts
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
postgresql-10-postgis-2.5 : Depends: libgeos-c1v5 (>= 3.7.0) but 3.5.0-1ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.
We faced similar issue with Ubuntu 18 when trying to install postgresql-9.6-postgis-2.5. We had to install the experimental version 3.7 to get it working.
libgeos-3.7.0_3.7.0-1_bionic0_amd64
libgeos-c1v5_3.7.0-1_bionic0_amd64.deb
https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-experimental/+build/15675841
However, I'm not sure if you can get this for xenial.
Hope this helps, thanks.
Update:
We now have the updated version of libgeos in bionic repo, hope the updated version was released for xenial as well, thanks.
apt search libgeos-3.7
Sorting... Done
Full Text Search... Done
libgeos-3.7.1/bionic-pgdg 3.7.1-1~pgdg18.04+1 amd64
Geometry engine for Geographic Information Systems - C++ Library
libgeos-3.7.1-dbgsym/bionic-pgdg 3.7.1-1~pgdg18.04+1 amd64
debug symbols for libgeos-3.7.1

How can I install the perl-RRD-Simple package on CentOS 7?

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.

centos libgeos repository missing

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

how to upgrade libvirt?

I'm trying to install openstack on RHEL 6.2. Following installation guide from openstack.org, I'm using the command:
yum install openstack-nova openstack-glance
After resolved many dependencies, I got the final error:
Error: Package: openstack-nova-compute-2012.2.2-1.el6.noarch (epel)
Requires: libvirt >= 0.9.6
Installed: libvirt-0.9.4-23.el6.x86_64 (#anaconda-RedHatEnterpriseLinux-201111171049.x86_64/6.2)
libvirt = 0.9.4-23.el6
I installed libvirt 0.9.4 from the RHEL 6.2 DVD, but it seems I have to upgrade libvirt 0.9.6. How to do the upgrade? Or where can I download libvirt 0.9.6 rpm? Or can I use yum to upgrade libvirt?
You could try searching for the RHEL6 or CentOS 6 rpms from
http://rpm.pbone.net/index.php3?stat=3&limit=1&srodzaj=1&dl=40&search=libvirt&dist[]=74&dist[]=79&dist[]=0&field[]=1&field[]=2
Also, it looks like libvirt has got a lot of dependencies, so after downloading the appropriate libvirt-0.9.xxx.rpm, you could try
yum localinstall libvirt-0.9.xxx.rpm
if even after that you have some dependencies missing, you might want to download them manually like the libvirt rpm itself, managing which can soon start to become a nightmare!