Correction: To install the DAG public key, if you're on CentOS 4.x, you should run rpm -Uhv http://apt.sw.be/redhat/el4/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el4.rf.i386.rpm
If you're on CentOS 5.x, you should run rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm And you can determine your CentOS version by typing "cat /etc/ *release*". (I know you guys know this, this is just for the benefit of Googlers who might find this thread in the future :) ) Bennett On Jun 28, 1:11 pm, Bennett Haselton <[email protected]> wrote: > So eventually I found that if I install the /etc/yum.repos.d/dag.repo > file: > > [dag] > name=Dag RPM Repository for Red Hat Enterprise Linux > baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag > gpgcheck=1 > enabled=1 > > > > I can try to install memcached from there. When I first tried to > install memcached I got the error "Public key for > memcached-1.2.6-1.el4.rf.i386.rpm is not installed", however I was > able to fix that by running > > rpm > -Uhvhttp://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.... > > This was a huge mess to figure out because every page that I found on > Google had wrong or incomplete information about how to do this, which > led me to search for other pages that supplied some of the missing > information but had their own pieces missing... Please consider adding > this information to the installation instructions :) (This worked on > CentOS 5.3. I assume that for other versions of CentOS you'd have to > do it differently; you can't use rpm to install an "el5" public key on > CentOS 4. Actually the problem is that you can, but then you get > mysterious errors later.) > > On Jun 27, 11:48 pm, Bennett Haselton <[email protected]> wrote: > > > > > I'm trying to install memcached on a CentOS 5.3 machine. Is there a > > "yum" repository with memcached so that I can install it via a "yum > > install" command? > > > I try to use the package manager whenever I can, since it > > automatically finds and installs things that have to be installed > > first, runs necessary checks, etc. > > > Bennett- Hide quoted text - > > - Show quoted text -
