REDHAT 7 yum update is not installing the packages on graphite, gtk3 and etc - yum

its REDHAT 7 server, i was trying to do the patch update in this server.
its not allowing me to the updates, throwing the errors.
most of the Gnome packages are not updating....
Kernel version: 3.10.0-514.10.2.el7.x86_64
OS Release : Red Hat Enterprise Linux Server release 7.3 (Maipo)
--> Finished Dependency Resolution
Error: Package: graphite2-devel-1.3.6-1.el7_2.x86_64 (rhui-REGION-rhel-server-releases)
Requires: graphite2(x86-64) = 1.3.6-1.el7_2
Installed: graphite2-1.3.10-1.el7_3.x86_64 (#rhui-REGION-rhel-server-releases)
graphite2(x86-64) = 1.3.10-1.el7_3
Available: graphite2-1.2.2-5.el7.x86_64 (rhui-REGION-rhel-server-releases)
graphite2(x86-64) = 1.2.2-5.el7
Available: graphite2-1.3.6-1.el7_2.x86_64 (rhui-REGION-rhel-server-releases)
graphite2(x86-64) = 1.3.6-1.el7_2
Please help me to resole this issue.
Thanks
Rameshkumar.

I was facing the same issue just did below
sudo yum downgrade graphite2
this downgraded graphite 2to graphite2-1.3.6-1.el7_2.x86_64

enable ol7_optional_latest repository
[ol7_optional_latest]
name=Oracle Linux $releasever Optional Latest ($basearch)
baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/optional/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

Related

CentOs 7 cant install mod_wsgi

I am trying to get a server up and running to run python scripts (Django framework) and such by using the mod_wsgi apache module to handle the scripts, however, it's not playing ball and I don't know enough to figure out what's happening or what I'm doing wrong.
I have been unable to come right using the YUM installer. So far, this is the output:
# sudo yum install mod_wsgi
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
* EA4: 169.255.59.74
* cpanel-addons-production-feed: 169.255.59.74
* base: mirror.wiru.co.za
* epel: fedora.mirror.ac.za
* extras: mirror.wiru.co.za
* ius: mirrors.ircam.fr
* updates: mirror.wiru.co.za
* webtatic: uk.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package mod_wsgi.x86_64 0:3.4-12.el7_0 will be installed
--> Processing Dependency: httpd-mmn = 20120211x8664 for package:
mod_wsgi-3.4-12.el7_0.x86_64
--> Finished Dependency Resolution
Error: Package: mod_wsgi-3.4-12.el7_0.x86_64 (base)
Requires: httpd-mmn = 20120211x8664
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
The first thing that jumped out is the dependency httpd which I tried (and failed) to install using yum. After this, I did some research and found out its an issue with cPanel and that apparently it prevents you from using Yum to install Apache modules and everywhere says I am supposed to use the interface but I have no idea how?
My goal is to figure out how I'm 'supposed' to be loading these modules to get around these obstacles and get my server going. Someone, please help!
I am running:
CentOs 7.5
Apache 2.4.34
EasyApache 4
cPanel 7.40
PHP 5.6.38
On a CentOS 7.5 machine, I updated httpd (Apache) using yum to 2.4.6-80.el7.centos.1. Not exactly sure what your situation is with your pre-installed httpd version 2.4.34. Like I said in my comment above, I only trust versions of software available though yum. Your version is above the standard version so you could experience unexpected results.
Updated:
httpd.i686 0:2.4.6-80.el7.centos.1
Dependency Updated:
httpd-devel.i686 0:2.4.6-80.el7.centos.1
httpd-manual.noarch 0:2.4.6-80.el7.centos.1
httpd-tools.i686 0:2.4.6-80.el7.centos.1
mod_ldap.i686 0:2.4.6-80.el7.centos.1
mod_ssl.i686 1:2.4.6-80.el7.centos.1
After upgrading httpd, I added mod_wsgi and it installed without any problems:
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
mod_wsgi i686 3.4-12.el7_0 base 75 k
Transaction Summary
================================================================================
Install 1 Package
Total download size: 75 k
Installed size: 187 k
Is this ok [y/d/N]: y
Downloading packages:
mod_wsgi-3.4-12.el7_0.i686.rpm | 75 kB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : mod_wsgi-3.4-12.el7_0.i686 1/1
Verifying : mod_wsgi-3.4-12.el7_0.i686 1/1
Installed:
mod_wsgi.i686 0:3.4-12.el7_0
Complete!
I guess the point I'm trying to make is that if you use version of software no available through yum you can experience unexpected results. I have been down this road before and I now use version of software only if they are available through yum.
The error you recieved: Requires: httpd-mmn = 20120211x8664 is for a package not yet available through yum. I performed a yum search on a CentOS 7.5 machine and it yields nothing available for httpd-mmn:
yum search httpd-mmn
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Warning: No matches found for: httpd-mmn
No matches found
So, you would have to compile it yourself possibly to get your setup to work.

Yum Install Issue

I am trying to install g++ 4.1.2 (seems gcc 4.1.2 is already installed) in a Redhat Linux 6 machine. When I first tried running gcc-c++-4.1.2 rpm through yum, I get the following dependency issues,
[root#Cham1WS Desktop]# yum install gcc-c++-4.1.2-55.el5.x86_64.rpm
Setting up Install Process
Examining gcc-c++-4.1.2-55.el5.x86_64.rpm: gcc-c++-4.1.2-55.el5.x86_64
Marking gcc-c++-4.1.2-55.el5.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package gcc-c++.x86_64 0:4.1.2-55.el5 will be installed
--> Processing Dependency: libstdc++ = 4.1.2-55.el5 for package: gcc-c++- 4.1.2-55.el5.x86_64
--> Processing Dependency: libstdc++-devel = 4.1.2-55.el5 for package: gcc-c++-4.1.2-55.el5.x86_64
--> Finished Dependency Resolution
Error: Package: gcc-c++-4.1.2-55.el5.x86_64 (/gcc-c++-4.1.2-55.el5.x86_64)
Requires: libstdc++-devel = 4.1.2-55.el5
Error: Package: gcc-c++-4.1.2-55.el5.x86_64 (/gcc-c++-4.1.2-55.el5.x86_64)
Requires: libstdc++ = 4.1.2-55.el5
Installed: libstdc++-4.4.7-16.el6.x86_64 (#anaconda- RedHatEnterpriseLinux-201507020259.x86_64/6.7)
libstdc++ = 4.4.4-15.el6
libstdc++ = 4.4.7-16.el6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
So, it seems I need to install libstdc++-devel-4.1.2-55.el5.x86_64.rpm. So I tried installing it and I get the follwoing dependencies,
[root#Cham1WS Desktop]# yum install libstdc++-devel-4.1.2-55.el5.x86_64.rpm
Setting up Install Process
Examining libstdc++-devel-4.1.2-55.el5.x86_64.rpm: libstdc++-devel-4.1.2-55.el5.x86_64
Marking libstdc++-devel-4.1.2-55.el5.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package libstdc++-devel.x86_64 0:4.1.2-55.el5 will be installed
--> Processing Dependency: libstdc++ = 4.1.2-55.el5 for package: libstdc++-devel-4.1.2-55.el5.x86_64
--> Finished Dependency Resolution
Error: Package: libstdc++-devel-4.1.2-55.el5.x86_64 (/libstdc++-devel-4.1.2-55.el5.x86_64)
Requires: libstdc++ = 4.1.2-55.el5
Installed: libstdc++-4.4.7-16.el6.x86_64 (#anaconda-RedHatEnterpriseLinux-201507020259.x86_64/6.7)
libstdc++ = 4.4.4-15.el6
libstdc++ = 4.4.7-16.el6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
It seems an earlier version of libstdc++ is already installed. Anyways, I tried installing libstdc++-4.1.2-55.el5.x86_64.rpm (not the "devel"), and it says it's already installed.
[root#Cham1WS Desktop]# yum install libstdc++-4.1.2-55.el5.x86_64.rpm
Setting up Install Process
Examining libstdc++-4.1.2-55.el5.x86_64.rpm: libstdc++-4.1.2-55.el5.x86_64
libstdc++-4.1.2-55.el5.x86_64.rpm: does not update installed package.
Error: Nothing to do
But if I try to install the "libstdc++-devel-4.1.2-55.el5.x86_64.rpm" I get the ealier dependencies again. It seems the issue is that I have a newer version of libstdc++ is already installed
1) How do I fix this issue?
2) Do I need to uninstall the later version of libstdc++?
It seems like you are using yum the wrong way: You should let yum connect to some repositories, and let him figure out the dependencies.
By the way you are installing el5 packages, that means packages for centos5, not centos6. Try finding similar packages but for centos6, that would be better; try using the epel repository which might help you (take a look here on how to enable it: https://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/)

Amazon Linux AMI 2018.03 - google cloud sdk install

Official doc for google cloud sdk said
Update YUM with Cloud SDK repo information
Install the Cloud SDK
But when I followed instruction Error Requires: python2 >= 2.7 occurs.
$ sudo yum install google-cloud-sdk
Loaded plugins: priorities, update-motd, upgrade-helper
4 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package google-cloud-sdk.noarch 0:206.0.0-1.el7 will be installed
--> Processing Dependency: python2 >= 2.7 for package: google-cloud-sdk-206.0.0-1.el7.noarch
--> Finished Dependency Resolution
Error: Package: google-cloud-sdk-206.0.0-1.el7.noarch (google-cloud-sdk)
Requires: python2 >= 2.7
Available: python26-2.6.9-2.89.amzn1.x86_64 (amzn-main)
python2 = 2.6.9-2.89.amzn1
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I know that I could install SDK with tar.gz But How can I solve this if I only want to use rpm. Any pointer would be appreciated.
Install yum downloader:
# yum install yum-utils
Download the RPM:
# yumdownloader google-cloud-sdk-231.0.0-1.el7.noarch
Move and install the RPM with "--nodeps":
# mv 4c714e030c915-google-cloud-sdk-231.0.0-1.el7.noarch.rpm /usr/local/src/google-cloud-sdk-231.0.0-1.el7.noarch
# rpm -ivh --nodeps /usr/local/src/google-cloud-sdk-231.0.0-1.el7.noa
The error you are getting is due to a dependency on python that your OS is not addressing, you would need to update. I would direct you to Can't install gcloud on Amazon Linux : invalid syntax as this seems to be regarding the same issue, and the solution may help you.

Phalcon 3 - Centos 7 Cpanel EasyApache 4 - php5.6

I am trying to install Phalcon with:
curl -s https://packagecloud.io/install/repositories/phalcon/stable/script.rpm.sh | sudo bash
yum install php56u-phalcon
but I get dependency errors:
Error: Package: php56u-phalcon-3.0.1-14.ius.el7.centos.x86_64 (phalcon_stable)
Requires: php56u-pdo(x86-64)
Error: Package: php56u-phalcon-3.0.1-14.ius.el7.centos.x86_64 (phalcon_stable)
Requires: php56u-common(x86-64)
Error: Package: php56u-phalcon-3.0.1-14.ius.el7.centos.x86_64 (phalcon_stable)
Requires: php56u(api) = 20131106
Error: Package: php56u-phalcon-3.0.1-14.ius.el7.centos.x86_64 (phalcon_stable)
Requires: php56u(zend-abi) = 20131226
These libraries are installed but with the modifier "ea-" of easy apache.
How I can install Phalcon 3 in Centos 7 cpanel easyapache 4?
Thanks in advance.
Seems like phalcon expecting you to have php56 from ius repository.
I've had same error, but because my php56 came from remi repo instead I had no modifier on php* packages, for example php-pdo package instead of php56u-pdo.
I've solved it this way:
yum install php-phalcon3
(can be php-phalcon2, php7-php-palcon3 and so on - see yum search phalcon)
In your case this probably won't help, because you have ea- modifier on php*.
Possibly somebody more experienced with yum could suggest how to solve this conflict. But you still have two more options:
compile phalcon.so from source code (described here: https://github.com/phalcon/cphalcon).
install php from ius Centos 7 repository.
UPD: I must add that I was unable to make phalcon (php-phalcon* from remi dedicated repos for php5.6 and php7) to work - I've got "child pid exit signal Segmentation fault".
As a general rule: your phalcon package should be from the same repo from which you've installed php and php-* packages(e.g. php-mysqlnd, php-pdo).
In my opinion, if you wnat to be sure that your library will work on particular machine the best way is to compile it on this or similar machine.

Can't install libffi-devel

I am trying to install libffi-devel on RHEL, but when I try I get this message:
Transaction Check Error:
package libffi-3.0.5-1.el5.6.z.x86_64 (which is newer than libffi-3.0.5-1.el5.i386) is already installed
I am running this command:
sudo yum install -y libffi-devel
And here is the full output of the command:
Loaded plugins: downloadonly, rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
Excluding Packages in global exclude list
Finished
Excluding Packages from Rackspace - RHEL (v. 5 for 64-bit x86_64) - Common
Finished
Excluding Packages from Rackspace - RHEL (v. 5 for 64-bit x86_64) - MySQL 5.1
Finished
Excluding Packages from Rackspace - RHEL (v. 5 for 64-bit x86_64) - PHP 5.2
Finished
Excluding Packages from Red Hat Enterprise Linux (v. 5 for 64-bit x86_64)
Finished
Excluding Packages from Red Hat Network Tools for RHEL Server (v.5 64-bit x86_64)
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libffi-devel.x86_64 0:3.0.5-1.el5 set to be updated
--> Processing Dependency: libffi = 3.0.5-1.el5 for package: libffi-devel
--> Running transaction check
---> Package libffi.i386 0:3.0.5-1.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================================================================================================================================================================================
Package Arch Version Repository Size
================================================================================================================================================================================================================================================================================
Installing:
libffi-devel x86_64 3.0.5-1.el5 epel 16 k
Installing for dependencies:
libffi i386 3.0.5-1.el5 epel 21 k
Transaction Summary
================================================================================================================================================================================================================================================================================
Install 2 Package(s)
Upgrade 0 Package(s)
Total size: 37 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Check Error:
package libffi-3.0.5-1.el5.6.z.x86_64 (which is newer than libffi-3.0.5-1.el5.i386) is already installed
Error Summary
-------------
Looks like you already have a version of libffi-3.0.5-1.el5.6.z.x86_64 installed on your system. Check with the command and remove the rpm first.
rpm -qa | grep libffi
rpm -e <rpm from the above>
Then try installing using:
sudo yum install -y libffi libffi-devel