conflict error in yum CentOS - centos

Some times im using yum and get an error about confliction between repositories so i googled for this problem and i found some temporary solution like --enablerepo
here my error
Error: Package: php-5.4.44-50.el6.art.x86_64 (atomic)
Requires: php-cli(x86-64) = 5.4.44-50.el6.art
Installed: php-cli-5.6.12-1.el6.remi.x86_64 (#remi-php56)
php-cli(x86-64) = 5.6.12-1.el6.remi
Available: php-cli-5.3.3-40.el6_6.x86_64 (base)
php-cli(x86-64) = 5.3.3-40.el6_6
Available: php-cli-5.3.3-46.el6_6.x86_64 (updates)
php-cli(x86-64) = 5.3.3-46.el6_6
Available: php-cli-5.4.42-48.el6.art.x86_64 (atomic)
php-cli(x86-64) = 5.4.42-48.el6.art
Available: php-cli-5.4.43-1.el6.remi.x86_64 (remi)
php-cli(x86-64) = 5.4.43-1.el6.remi
Available: php-cli-5.4.43-49.el6.art.x86_64 (atomic)
php-cli(x86-64) = 5.4.43-49.el6.art
Available: php-cli-5.4.44-1.el6.remi.x86_64 (remi)
php-cli(x86-64) = 5.4.44-1.el6.remi
Available: php-cli-5.4.44-50.el6.art.x86_64 (atomic)
php-cli(x86-64) = 5.4.44-50.el6.art
Available: php-cli-5.3.29-4.w5.x86_64 (webtatic)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
So can you guys help me ?

From your description, PHP 5.6 is installed from remi-php56 repository, so the simplest solution is to enable this repository permanently, setting enabled=1 in the repository configuration file, and thus all PHP packages will be pulled from there, and should not create any conflict.
Adding "--enablerepo=remi-php56" on each yum command also works.
Notices:
you also have "atomic" and "webtatic" enabled. Having various repositories providing the same stuff (PHP stack) is a bad idea.
you don't need "remi" (php 5.4), only "remi-php56", except if you want some other packages from there, see http://blog.remirepo.net/post/2015/08/03/Remi-repository-is-changing

Related

yum fails to update

yum fails to update CentOs 7.6.
it says Requires: qt5-qtbase(x86-64) = 5.9.2 but on the other side it says Removing: qt5-qtbase-5.9.2-3.el7.x86_64 !!
How can I fix this?
thank you
--> Processing Dependency: qt5-qtbase(x86-64) = 5.9.2 for package: qt5-qtstyleplugins-5.0.0-26.el7.x86_64
--> Processing Dependency: qt5-qtbase(x86-64) = 5.9.2 for package: qt5-qtquick1-5.7.1-1.2bc722agit.el7.x86_64
--> Finished Dependency Resolution
Error: Package: qt5-qtstyleplugins-5.0.0-26.el7.x86_64 (#epel)
Requires: qt5-qtbase(x86-64) = 5.9.2
Removing: qt5-qtbase-5.9.2-3.el7.x86_64 (#anaconda)
qt5-qtbase(x86-64) = 5.9.2-3.el7
Updated By: qt5-qtbase-5.9.7-2.el7.x86_64 (base)
qt5-qtbase(x86-64) = 5.9.7-2.el7
Error: Package: qt5-qtquick1-5.7.1-1.2bc722agit.el7.x86_64 (#epel)
Requires: qt5-qtbase(x86-64) = 5.9.2
Removing: qt5-qtbase-5.9.2-3.el7.x86_64 (#anaconda)
qt5-qtbase(x86-64) = 5.9.2-3.el7
Updated By: qt5-qtbase-5.9.7-2.el7.x86_64 (base)
qt5-qtbase(x86-64) = 5.9.7-2.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
update :
enabled repos:
[mehrdad#MHRS ~]$ yum repolist enabled
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.alpix.eu
* centos-sclo-rh: ftp.uni-bayreuth.de
* centos-sclo-sclo: ftp.uni-bayreuth.de
* epel: mirror.redium.net
* extras: centos.mirror.iphh.net
* nux-dextop: mirror.li.nux.ro
* rpmfusion-free-updates: mirror.ehv.weppel.nl
* rpmfusion-nonfree-updates: mirror.ehv.weppel.nl
* updates: ftp.agdsn.de
repo id repo name status
!base/7/x86_64 CentOS-7 - Base 10,097
!centos-sclo-rh/x86_64 CentOS-7 - SCLo rh 8,548
!centos-sclo-sclo/x86_64 CentOS-7 - SCLo sclo 804
!epel/x86_64 Extra Packages for Enterprise Linux 7 - 13,413
!extras/7/x86_64 CentOS-7 - Extras 304
!google-chrome google-chrome 3
!nodesource/x86_64 Node.js Packages for Enterprise Linux 7 43
!nux-dextop/x86_64 Nux.Ro RPMs for general desktop use 2,718
!rpmfusion-free-updates/x86_64 RPM Fusion for EL 7 - Free - Updates 248
!rpmfusion-nonfree-updates/x86_64 RPM Fusion for EL 7 - Nonfree - Updates 77
!sublime-text Sublime Text - x86_64 - Stable 2
!updates/7/x86_64 CentOS-7 - Updates 319
repolist: 36,576
There does not seem to be a real solution for this. qt5-qtstyleplugins from the epel repository requires qt5-qtbase with the exact version 5.9.2, however this version is not available anymore in the base repository.
If you want your yum update to succeed, you can exclude these packages from updates:
yum update --exclude=qt5-qt*
see here for more information on excluding packages from yum updates.

Unable to Install Packages on RCloud

I am unable to install packages and have tried installing packages through devtools with no success. Seems I can not create a library to hold installed packages. Our we allowed to install packages on RCloud? or is there no space for us to install packages to begin with? I get the following errors:
#1ERROR: failed to create lock directory /shared/users/rcloud/danielra0091/library/00LOCK-digest’
#2ERROR: unable to create ‘/shared/users/rcloud/danielra0091/library/rbenchmark’
```
library(devtools)
install_github("HenrikBengtsson/future")
Results:
Downloading GitHub repo HenrikBengtsson/future#master
from URL https://api.github.com/repos/HenrikBengtsson/future/zipball/master
Installing future
trying URL 'http://cran.r-project.org/src/contrib/digest_0.6.18.tar.gz'
Content type 'application/x-gzip' length 128553 bytes (125 KB)
==================================================
downloaded 125 KB
Installing digest
'/usr/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore --quiet \
CMD INSTALL '/tmp/RtmprSADLu-danielra0091/devtools22293a652eab/digest' \
--library='/shared/users/rcloud/danielra0091/library' --install-tests
Error: Command failed (3)
trace:
FUN(X[[i]], ...)
vapply(remotes, install_remote, ..., FUN.VALUE = logical(1))
install_remotes(remotes, quiet = quiet, ...)
install_github("HenrikBengtsson/future")
-------------------------------------------------------------------------
install.packages("Rcpp", dependencies=TRUE, INSTALL_opts = c('--no-lock'))
Results:
The downloaded source packages are in
‘/tmp/RtmprSADLu-danielra0091/downloaded_packages’
In addition: Warning messages:
1: In install.packages("Rcpp", dependencies = TRUE, INSTALL_opts = c("--no-lock")) :
installation of package ‘inline’ had non-zero exit status
2: In install.packages("Rcpp", dependencies = TRUE, INSTALL_opts = c("--no-lock")) :
installation of package ‘rbenchmark’ had non-zero exit status
3: In install.packages("Rcpp", dependencies = TRUE, INSTALL_opts = c("--no-lock")) :
installation of package ‘pinp’ had non-zero exit status
4: In install.packages("Rcpp", dependencies = TRUE, INSTALL_opts = c("--no-lock")) :
installation of package ‘pkgKitten’ had non-zero exit status
5: In install.packages("Rcpp", dependencies = TRUE, INSTALL_opts = c("--no-lock")) :
installation of package ‘Rcpp’ had non-zero exit status
```
FYI, if you install packages yourself, they will be installed in your personal library. You may also request package installation from your server admins which will be installed for everyone in the RCloud instance.
One issue you may be running into with your local (or personal library) installation is that you need to set up a proxy to get outside your firewall to the installation libraries / packages in public domains.
Another may be due to the R and RCloud version that is currently installed. If you think that might be the case, I would contact your RCloud admins.

Error installing egit plugin on eclipse neon using hiera

I am trying to install egit plugin on eclipse neon which is installed in my puppet agent by using puppet module concept.
But when I am trying to install plugin it showing error as follows
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list eclipse-platform'
returned 1: Error: No matching Packages to list Error:
/Stage[main]/Eclipse::Install::Package/Package[eclipse-platform]/ensure:
change from absent to present failed: Execution of '/usr/bin/yum -d 0
-e 0 -y list eclipse-platform' returned 1: Error: No matching Packages to list
my hiera data file is
---
eclipse::plugin::egit:
-
eclipse::plugin::egit: true
eclipse::plugin::egit::enable: true
my manifest is as follows
node p01vm2 {
eclipse::plugin::install::p2_director { 'org.eclipse.egit.feature.group': }
class {'eclipse::params':}
}
please help me to solve this problem.

Having problems installing bzr on CentOS-6.5

I am having trouble installing bzr on my CentOS-6.5 using the command:
#yum -y install bzr
I get the following errors:
Error: Package: bzr-2.3.3-1.el5.rf.x86_64 (rpmforge)
Requires: python-elementtree
Error: Package: python-curl-7.15.5-1.3.el5.rf.x86_64 (rpmforge)
Requires: libcurl.so.3()(64bit)
Error: Package: bzr-2.3.3-1.el5.rf.x86_64 (rpmforge)
Requires: python(abi) = 2.4
Installed: python-2.6.6-51.el6.x86_64 (#anaconda-CentOS-201311272149.x86_64/6.5)
python(abi) = 2.6
Available: python-2.6.6-52.el6.x86_64 (updates)
python(abi) = 2.6
Error: Package: python-curl-7.15.5-1.3.el5.rf.x86_64 (rpmforge)
Requires: python(abi) = 2.4
Installed: python-2.6.6-51.el6.x86_64 (#anaconda-CentOS-201311272149.x86_64/6.5)
python(abi) = 2.6
Available: python-2.6.6-52.el6.x86_64 (updates)
python(abi) = 2.6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Any suggestions please?
I changed the repo to EL6 as shown below but still getting the same error:
# Name: RPMforge RPM Repository for Red Hat Enterprise 6 - dag
# URL: http://rpmforge.net/
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
#baseurl = http://apt.sw.be/redhat/el6/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
You have EL5 rpmforge repositories set up but are using EL6 CentOS repositories.
That won't work.
You need to use the same version for both.

Trying to install meteor on centos 5

OS: Red Hat Enterprise Linux Server release 5.5 (Tikanga)
Trying to run this command to install meteor:
curl install.meteor.com | /bin/sh
============= Output Error ===============
Installing /tmp/meteor-install-Nv47529/meteor-0.3.6-1.x86_64.rpm
error: Failed dependencies:
libc.so.6(GLIBC_2.6)(64bit) is needed by meteor-0.3.6-1.x86_64
libc.so.6(GLIBC_2.7)(64bit) is needed by meteor-0.3.6-1.x86_64
libc.so.6(GLIBC_2.9)(64bit) is needed by meteor-0.3.6-1.x86_64
libstdc++.so.6(GLIBCXX_3.4.9)(64bit) is needed by meteor-0.3.6-1.x86_64
Installation failed.
============= Output Error ===============
glib is missing showing but check glib using
rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}\n" | grep glibc | sort
showing me
compat-glibc-2.3.4-2.26.i386
compat-glibc-2.3.4-2.26.x86_64
compat-glibc-headers-2.3.4-2.26.x86_64
glibc-2.5-49.el5_5.7.i686
glibc-2.5-49.el5_5.7.x86_64
glibc-common-2.5-49.el5_5.7.x86_64
glibc-devel-2.5-49.el5_5.7.i386
glibc-devel-2.5-49.el5_5.7.x86_64
glibc-headers-2.5-49.el5_5.7.x86_64
glibc-utils-2.5-49.el5_5.7.x86_64
so any idea what is the issue?
GLIBC_2.6 is required by the RPM, you only have GLIBC_2.5 so you need to upgrade.
Alternatively, this dependency may be more strict than it needs to be; try packing Meteor yourself.