installing php-snmp-5.2.2-3.i386 Failed dependencies
installing php-snmp-5.2.2-3.i386 Failed dependencies
Hallo
I want to install php-snmp-5.2.2-3.i386 put i get some failed dependencies and i didn't find the packages in the internet.
error: Failed dependencies:
libc.so.6(GLIBC_2.4) is needed by php-snmp-5.2.2-3.i386
libcrypto.so.6 is needed by php-snmp-5.2.2-3.i386
libnetsnmp.so.10 is needed by php-snmp-5.2.2-3.i386
php-common = 5.2.2-3 is needed by php-snmp-5.2.2-3.i386
rtld(GNU_HASH) is needed by php-snmp-5.2.2-3.
Where can i find the packages to install php-snmp.
I can't used php-snmp from the repositories because the version ist to old and befor I have updated php on php5.
I hope you understand my problems (my english is not very well) and you can help me. I'm despairing.
I'm using CentOS 4.7.
Evoleena
I want to install php-snmp-5.2.2-3.i386 put i get some failed dependencies and i didn't find the packages in the internet.
error: Failed dependencies:
libc.so.6(GLIBC_2.4) is needed by php-snmp-5.2.2-3.i386
libcrypto.so.6 is needed by php-snmp-5.2.2-3.i386
libnetsnmp.so.10 is needed by php-snmp-5.2.2-3.i386
php-common = 5.2.2-3 is needed by php-snmp-5.2.2-3.i386
rtld(GNU_HASH) is needed by php-snmp-5.2.2-3.
Where can i find the packages to install php-snmp.
I can't used php-snmp from the repositories because the version ist to old and befor I have updated php on php5.
I hope you understand my problems (my english is not very well) and you can help me. I'm despairing.
I'm using CentOS 4.7.
Evoleena
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: installing php-snmp-5.2.2-3.i386 Failed dependencies
Welcome to the CentOS fora. That is not a CentOS version, but have you tried the CentOSplus or Remi Collet Repository for later PHP packages?
Please read
http://wiki.centos.org/Repositories
and note the warnings and advice about installing and configuring yum-priorities
http://wiki.centos.org/PackageManagement/Yum/Priorities
Non-core repos should have a higher numeric value, which is a lower priority. Lower is "better" as in golf scores.
Please read
http://wiki.centos.org/Repositories
and note the warnings and advice about installing and configuring yum-priorities
http://wiki.centos.org/PackageManagement/Yum/Priorities
Non-core repos should have a higher numeric value, which is a lower priority. Lower is "better" as in golf scores.
Re: installing php-snmp-5.2.2-3.i386 Failed dependencies
What ist not a version of CentOS? The Package php-snmp? But I looked only for CentOS Packages!
I will try the repository what you say. Thanks
I will try the repository what you say. Thanks
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: installing php-snmp-5.2.2-3.i386 Failed dependencies
It may well be a package built for CentOS, but it is not from CentOS core repos, nor other "common" repos I checked. If you got it from a repo the dependencies could be expected to come from the same source. If still having trouble please post the source of the package[s]. If you get it working please post back for the sake of future searchers.
Re: installing php-snmp-5.2.2-3.i386 Failed dependencies
Hallo pschaff,
I tryed to add the Repository you said, but I have some problems with that, because I havn't done it before.
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-4.rpm
Retrieving http://rpms.famillecollet.com/enterprise/remi-release-4.rpm
warning: /var/tmp/rpm-xfer.iWzs2f: V3 DSA signature: NOKEY, key ID 00f97f56
error: Failed dependencies:
epel-release >= 4 is needed by remi-release-4-7.el4.remi.noarch
How can I add it?
Yes the downloaded package was from a site where rpms can be downloaded for many linux distributions.
But if I can you the repo you said, i can use the php-snmp from these repo
Evoleena
I tryed to add the Repository you said, but I have some problems with that, because I havn't done it before.
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-4.rpm
Retrieving http://rpms.famillecollet.com/enterprise/remi-release-4.rpm
warning: /var/tmp/rpm-xfer.iWzs2f: V3 DSA signature: NOKEY, key ID 00f97f56
error: Failed dependencies:
epel-release >= 4 is needed by remi-release-4-7.el4.remi.noarch
How can I add it?
Yes the downloaded package was from a site where rpms can be downloaded for many linux distributions.
But if I can you the repo you said, i can use the php-snmp from these repo
Evoleena
Re: installing php-snmp-5.2.2-3.i386 Failed dependencies
Now i have new files in etc/yum.repos.de
there is now available remi.repo
but if i try to install php-snmp ther try to install the old version
Error: Missing Dependency: php = 4.3.9-3.26 is needed by package php-snmp
but i want to install the new php-snmp 5.... vom the remi repo how can i say it to yum install?
there is now available remi.repo
but if i try to install php-snmp ther try to install the old version
Error: Missing Dependency: php = 4.3.9-3.26 is needed by package php-snmp
but i want to install the new php-snmp 5.... vom the remi repo how can i say it to yum install?
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: installing php-snmp-5.2.2-3.i386 Failed dependencies
If you have installed the yum-priorities plugin as recommended you may need to increase the priority of the remi repo, and may need to use excludes for packages from the base, updates, or other repos if you want them to be replaced by 3rd party packages. See "man yum.conf". You might also want remove and reinstall packages that have dependency problems to be sure to get a consistent set of packages.
I wish there was a more straightforward simple answer, but configuring and using 3rd party repos is often quite complex and requires a good deal of thought and care, and sometimes trial and error. If you can't get it worked out, post the full output from the failed yum command and the results of[code]sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n[/code]
I wish there was a more straightforward simple answer, but configuring and using 3rd party repos is often quite complex and requires a good deal of thought and care, and sometimes trial and error. If you can't get it worked out, post the full output from the failed yum command and the results of[code]sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n[/code]
Re: installing php-snmp-5.2.2-3.i386 Failed dependencies
this is the result of your kommando
priority = 1 [addons]
priority = 1 [base]
priority = 1 [extras]
priority = 1 [update]
priority = 2 [centosplus]
priority = 2 [contrib]
If I understand you, than i have to replace one of these with the remi repo.
But I dont understand how I can chance the priority. Have you and example how i can use the remi repo instead of contrib?
In which file i must write my repo that it will be used for installing packages
I looked in the file yum.repos.de there is a priority for the repo.
Must I write my repo there?
If I try
yum search php-snmp
they that
Repository remi is listed more than once in the configuration
Repository remi-test is listed more than once in the configuration
Loading "priorities" plugin
Searching Packages:
Setting up repositories
epel 100% |=========================| 3.4 kB 00:00
rpmforge 100% |=========================| 1.1 kB 00:00
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
399 packages excluded due to repository priority protections
php-snmp.i386 4.3.9-3.26 base
Evoleena
priority = 1 [addons]
priority = 1 [base]
priority = 1 [extras]
priority = 1 [update]
priority = 2 [centosplus]
priority = 2 [contrib]
If I understand you, than i have to replace one of these with the remi repo.
But I dont understand how I can chance the priority. Have you and example how i can use the remi repo instead of contrib?
In which file i must write my repo that it will be used for installing packages
I looked in the file yum.repos.de there is a priority for the repo.
Must I write my repo there?
If I try
yum search php-snmp
they that
Repository remi is listed more than once in the configuration
Repository remi-test is listed more than once in the configuration
Loading "priorities" plugin
Searching Packages:
Setting up repositories
epel 100% |=========================| 3.4 kB 00:00
rpmforge 100% |=========================| 1.1 kB 00:00
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
399 packages excluded due to repository priority protections
php-snmp.i386 4.3.9-3.26 base
Evoleena
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: installing php-snmp-5.2.2-3.i386 Failed dependencies
See /etc/yum.repos.d/CentOS-Base.repo (not yum.repos.de) for examples of how to set priorities - basically you need a "priority=N" line for each repo section or stanza starting with [reponame], where N is the priority from 1 to 99 with 1 being the "highest" (lower is better as in golf scores). If there is no priority line then the default priority is 99. That is why you are seeing no updatged packages from remi. You need to get rid of the duplicate definitions for the remi repos. To find them do[code]grep remi /etc/yum.repos.d/*.repo[/code]
A couple of other comments:
You have [centosplus] at priority=2. This will result in the repo effectively being unused as the files in CentOSplus generally replace core packages, but the lower priority will not allow that to happen. Same is true for remi packages - if you want them to replace core packages then that repo must have priority=1.
It is often advised to leave 3rd party repos (and perhaps centosplus) disabled by default (section contains a line "enabled=0") and explicitly enable them with "yum --enablerepo remi ..." when you want to use them.
See the following Wiki article for more details.
http://wiki.centos.org/AdditionalResources/Repositories/CentOSPlus
A couple of other comments:
You have [centosplus] at priority=2. This will result in the repo effectively being unused as the files in CentOSplus generally replace core packages, but the lower priority will not allow that to happen. Same is true for remi packages - if you want them to replace core packages then that repo must have priority=1.
It is often advised to leave 3rd party repos (and perhaps centosplus) disabled by default (section contains a line "enabled=0") and explicitly enable them with "yum --enablerepo remi ..." when you want to use them.
See the following Wiki article for more details.
http://wiki.centos.org/AdditionalResources/Repositories/CentOSPlus