Hi all,
I have been following numerous links around the forums and web on how to install memcached on a centos 5 cpanel server and come to grief in a couple of places now and decided to stop before I got too deep and broke stuff...
Summary:
I attempted to follow a process where an rpmforge repo was added and then the rpm for memcached was pulled in and built
Then I tried to pull in the memcached rpm
This then led me to try and find the perl(YAML) rpm which was unavailable and likely part of a repo that I don't have enabled.
I am not very familiar yet with difficult dependency resolution as my background has been with apt and emerge and yum/rpm are still a bit foreign.
I then added the yum-utils package and tried the package-cleanup and after running it found the following problems (?)
I tried some things to start building manually and got a version of it running manually.
The problem is that I really want to avoid the manual source built approach for my system and given that I will have to do an easy-apache rebuild next I am nervous about versions and so forth.
Could someone enlightened in these things please give me a helping hand before I tinker with something that will cause me grief?
Best regards,
Will
I have been following numerous links around the forums and web on how to install memcached on a centos 5 cpanel server and come to grief in a couple of places now and decided to stop before I got too deep and broke stuff...
Summary:
I attempted to follow a process where an rpmforge repo was added and then the rpm for memcached was pulled in and built
Code:
[email protected] [/home/arcplane/www/forums/includes]# rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
Retrieving http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
warning: /var/tmp/rpm-xfer.IdLAYM: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing... ########################################### [100%]
1:rpmforge-release ########################################### [100%]
Code:
[email protected] [/home/arcplane/www/forums/includes]# yum -y install memcached
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: ftp.swin.edu.au
* base: ftp.swin.edu.au
* extras: ftp.swin.edu.au
* rpmforge: apt.sw.be
* updates: ftp.swin.edu.au
addons | 951 B 00:00
base | 2.1 kB 00:00
base/primary_db | 1.6 MB 00:00
extras | 2.1 kB 00:00
rpmforge | 1.1 kB 00:00
rpmforge/primary | 3.8 MB 00:07
rpmforge 10495/10495
updates | 1.9 kB 00:00
virtualbox | 951 B 00:00
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
--> Running transaction check
---> Package memcached.i386 0:1.4.5-1.el5.rf set to be updated
--> Processing Dependency: perl(AnyEvent) for package: memcached
--> Processing Dependency: perl(AnyEvent::Socket) for package: memcached
--> Processing Dependency: perl(AnyEvent::Handle) for package: memcached
--> Processing Dependency: libevent-1.1a.so.1 for package: memcached
--> Processing Dependency: perl(YAML) for package: memcached
--> Processing Dependency: perl(Term::ReadKey) for package: memcached
--> Running transaction check
---> Package compat-libevent-11a.i386 0:3.2.1-1.el5.rf set to be updated
---> Package memcached.i386 0:1.4.5-1.el5.rf set to be updated
--> Processing Dependency: perl(AnyEvent) for package: memcached
--> Processing Dependency: perl(AnyEvent::Socket) for package: memcached
--> Processing Dependency: perl(AnyEvent::Handle) for package: memcached
--> Processing Dependency: perl(YAML) for package: memcached
--> Processing Dependency: perl(Term::ReadKey) for package: memcached
--> Finished Dependency Resolution
memcached-1.4.5-1.el5.rf.i386 from rpmforge has depsolving problems
--> Missing Dependency: perl(YAML) is needed by package memcached-1.4.5-1.el5.rf.i386 (rpmforge)
memcached-1.4.5-1.el5.rf.i386 from rpmforge has depsolving problems
--> Missing Dependency: perl(Term::ReadKey) is needed by package memcached-1.4.5-1.el5.rf.i386 (rpmforge)
memcached-1.4.5-1.el5.rf.i386 from rpmforge has depsolving problems
--> Missing Dependency: perl(AnyEvent::Socket) is needed by package memcached-1.4.5-1.el5.rf.i386 (rpmforge)
memcached-1.4.5-1.el5.rf.i386 from rpmforge has depsolving problems
--> Missing Dependency: perl(AnyEvent::Handle) is needed by package memcached-1.4.5-1.el5.rf.i386 (rpmforge)
memcached-1.4.5-1.el5.rf.i386 from rpmforge has depsolving problems
--> Missing Dependency: perl(AnyEvent) is needed by package memcached-1.4.5-1.el5.rf.i386 (rpmforge)
Error: Missing Dependency: perl(Term::ReadKey) is needed by package memcached-1.4.5-1.el5.rf.i386 (rpmforge)
Error: Missing Dependency: perl(AnyEvent) is needed by package memcached-1.4.5-1.el5.rf.i386 (rpmforge)
Error: Missing Dependency: perl(YAML) is needed by package memcached-1.4.5-1.el5.rf.i386 (rpmforge)
Error: Missing Dependency: perl(AnyEvent::Handle) is needed by package memcached-1.4.5-1.el5.rf.i386 (rpmforge)
Error: Missing Dependency: perl(AnyEvent::Socket) is needed by package memcached-1.4.5-1.el5.rf.i386 (rpmforge)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
I am not very familiar yet with difficult dependency resolution as my background has been with apt and emerge and yum/rpm are still a bit foreign.
I then added the yum-utils package and tried the package-cleanup and after running it found the following problems (?)
Code:
[email protected] [/home/arcplane/www/forums/includes]# yum -y install yum-utils
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: ftp.swin.edu.au
* base: ftp.swin.edu.au
* extras: ftp.swin.edu.au
* rpmforge: ftp-stud.fht-esslingen.de
* updates: ftp.swin.edu.au
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
--> Running transaction check
---> Package yum-utils.noarch 0:1.1.16-14.el5.centos.1 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=====================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================
Installing:
yum-utils noarch 1.1.16-14.el5.centos.1 base 69 k
Transaction Summary
=====================================================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)
Total download size: 69 k
Downloading Packages:
yum-utils-1.1.16-14.el5.centos.1.noarch.rpm | 69 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : yum-utils 1/1
Installed:
yum-utils.noarch 0:1.1.16-14.el5.centos.1
Complete!
[email protected] [/home/arcplane/www/forums/includes]# package-cleanup --problems
Setting up yum
Reading local RPM database
Processing all local requires
Missing dependencies:
Package MySQL-server requires perl(DBI)
Package MySQL-client requires perl(DBI)
Package exim requires libresolv.so.2(GLIBC_PRIVATE)
Package exim requires perl(SafeFile)
Package bandmin requires perl(bandmin.conf)
Package bandmin requires perl(bmversion.pl)
Package bandmin requires perl(services.conf)
The problem is that I really want to avoid the manual source built approach for my system and given that I will have to do an easy-apache rebuild next I am nervous about versions and so forth.
Could someone enlightened in these things please give me a helping hand before I tinker with something that will cause me grief?
Best regards,
Will