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.
Related
I am trying to generate a package from a Bitbake recipe for Raspberry Pi:
inherit cargo
SUMMARY = "myapp"
DESCRIPTION = "Compile and configure myapp"
LICENSE = "CLOSED"
HOMEPAGE = "git://git.myserver.com:myapp/myapp.git"
DEPENDS = "openssl postgresql"
SRC_URI = "git://git.myserver.com/myapp/myapp.git;protocol=https;user=myuser:mypass;tag=v${PV}"
SRC_URI[sha256sum] = "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"
S = "${WORKDIR}/git"
The program I am compiling depends on the PostgreSQL library libpq which is generated by the postgresql package. My problem is that the linker cannot find libpq, even been in DEPENDS.
The output error is:
...
"-Wl,--end-group" "/home/yocto-image/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/myapp/0.0.1-r0/recipe-sysroot-native/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-e2523c360f03ba10.rlib" "-Wl,-Bdynamic" "-lpq" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc"
| = note: /home/yocto-image/build/tmp/hosttools/ld: cannot find -lpq
| collect2: error: ld returned 1 exit status
|
|
| error: aborting due to previous error
|
...
Finally found the solution. I was cross-compiling the code in a Ubuntu x86_64 PC. The library was necessary for the compiling machine not for the target machine (Raspberry Pi). The solution is just to install the libraries needed in Ubuntu:
sudo apt-get install libpq-dev
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.
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.
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
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.