install centos5 gpg key?

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
modom46
Forum Regular
Forum Regular
Posts: 259
Joined: Mon May 22, 2006 9:52 pm

install centos5 gpg key?

Unread post by modom46 »

Hi,

Am trying to install these packages and get this key error:

Downloading Packages:
(1/5): glibc-common-2.5-1 100% |=========================| 16 MB 00:05
(2/5): php-mcrypt-5.1.6-1 100% |=========================| 16 kB 00:00
(3/5): glibc-2.5-12.i686. 100% |=========================| 5.1 MB 00:01
(4/5): libmcrypt-2.5.7-5. 100% |=========================| 123 kB 00:00
(5/5): mhash-0.9.9-1.el5. 100% |=========================| 147 kB 00:00
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID e8562897
Public key for glibc-common-2.5-12.i386.rpm is not installed
Retrieving GPG key from http://mirror.centos.org/centos/RPM-GPG-KEY-centos5

GPG key retrieval failed: [Errno 14] HTTP Error 404: Not Found

========================================

I downloaded the centos5 key to root so how would I run it and more importantly can I have the centos4 and centos5 gpg keys installed and both base listings in my yum.conf file?

Thanks!
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

You can import a key like this:

Code: Select all

rpm --import <key-filename>
Understand what you're doing here though. You're either running CentOS 4 or CentOS 5. Please don't try to install CentOS 5 packages on CentOS 4. You can try and upgrade to CentOS 5, though I personally wouldn't do that on a live Plesk server.

In another thread you mention that you're running ART's PHP 5.2.3 packages, now you're trying to install a php-mpcypt package for PHP 5.1.6. Please understand that this is not going to work.
Lemonbit Internet Dedicated Server Management
modom46
Forum Regular
Forum Regular
Posts: 259
Joined: Mon May 22, 2006 9:52 pm

Unread post by modom46 »

Breun,

I think I should just remove these then. Here is what happened so please advise.

I went to the centos.org/5.0/extras/i386/ and installed these:

php-mcrypt-5.1.6-12.el5.centos.i386.rpm
libmcrypt-2.5.7-5.el5.centos.i386.rpm
mhash-0.9.9-1.el5.centos.i386.rpm

and then I went to centos.org/5.0/os/i386/CentOS/ and installed this:
glibc-2.5-12.i686.rpm

I had glibc-2.3.4-2.36 on my server before I did all this. The rpm is still on my server /var/cache/yum/base/packages/glibc-2.3.4-2.36.i686.rpm


Then I got glibc-common-2.5-12.i386.rpm and installed it but it only went 50% of the way.

In /etc/php.d I have mcrypt.ini listed.

In /usr/lib/php/ioncube there are these listings:

-rwxr-xr-x 1 root root 288928 May 27 10:18 ioncube_loader_lin_4.3.so
-rwxr-xr-x 1 root root 294360 May 27 10:18 ioncube_loader_lin_4.4.so
-rwxr-xr-x 1 root root 278652 May 27 10:18 ioncube_loader_lin_5.0.so
-rwxr-xr-x 1 root root 1007100 May 27 10:18 ioncube_loader_lin_5.1.so
-rwxr-xr-x 1 root root 978112 May 27 10:18 ioncube_loader_lin_5.2.so

I see now what you're saying and why it didn't work so how can I revert all this?

I'm never doing this again!

Thanks!

I'm on centos 4.4.3 running plesk 8.1 and using Art's php5 for centos 4.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

Remove the packages you installed from CentOS 5 extras:

Code: Select all

rpm -e php-mcrypt libmcrypt mhash
Downgrade glibc and glibc-common to the CentOS 4 packages:

Code: Select all

rpm -Uvh --oldpackage http://mirror.centos.org/centos-4/4.5/os/i386/CentOS/RPMS/glibc-2.3.4-2.36.i686.rpm http://mirror.centos.org/centos-4/4.5/os/i386/CentOS/RPMS/glibc-common-2.3.4-2.36.i386.rpm
Lemonbit Internet Dedicated Server Management
modom46
Forum Regular
Forum Regular
Posts: 259
Joined: Mon May 22, 2006 9:52 pm

Unread post by modom46 »

I'm running into problems...

[root@godslove ~]# rpm -e php-mcrypt libmcrypt mhash
error: Failed dependencies:
libmcrypt.so.4 is needed by (installed) mcrypt-2.6.4-2.i386
libmcrypt is needed by (installed) mcrypt-2.6.4-2.i386
libmhash.so.2 is needed by (installed) mcrypt-2.6.4-2.i386
[root@godslove ~]# rpm -e php-mcrypt
[root@godslove ~]# rpm -q php-mcrypt
package php-mcrypt is not installed
[root@godslove ~]# rpm -e libmcrypt
error: Failed dependencies:
libmcrypt.so.4 is needed by (installed) mcrypt-2.6.4-2.i386
libmcrypt is needed by (installed) mcrypt-2.6.4-2.i386
[root@godslove ~]# rpm -e mhash
error: Failed dependencies:
libmhash.so.2 is needed by (installed) mcrypt-2.6.4-2.i386
[root@godslove ~]# rpm -q libmcrypt
libmcrypt-2.5.7-5.el5.centos
[root@godslove ~]#
[root@godslove ~]# rpm -e libmcrypt-2.5.7-5.el5.centos
error: Failed dependencies:
libmcrypt.so.4 is needed by (installed) mcrypt-2.6.4-2.i386
libmcrypt is needed by (installed) mcrypt-2.6.4-2.i386
[root@godslove ~]# rpm -Uvh --oldpackage http://mirror.centos.org/centos-4/4.5/o ... S/RPMS/gli
bc-2.3.4-2.36.i686.rpm http://mirror.centos.org/centos-4/4.5/o ... on-2.3.4-2.
36.i386.rpm
Retrieving http://mirror.centos.org/centos-4/4.5/o ... 6.i686.rpm
Retrieving http://mirror.centos.org/centos-4/4.5/o ... 6.i386.rpm
error: Failed dependencies:
libc.so.6(GLIBC_2.4) is needed by (installed) libmcrypt-2.5.7-5.el5.centos.i386
libc.so.6(GLIBC_2.4) is needed by (installed) mhash-0.9.9-1.el5.centos.i386
rtld(GNU_HASH) is needed by (installed) libmcrypt-2.5.7-5.el5.centos.i386
rtld(GNU_HASH) is needed by (installed) mhash-0.9.9-1.el5.centos.i386
[root@godslove ~]#


It showed mcrypt was removed but is still there after I restarted httpd:

package php-mcrypt is not installed
package mcrypt is not installed
package libmcrypt is not installed
package mhash is not installed

Ok I am doing one at a time and those just listed are gone...now the
glibc-2.5-12 one is next.
modom46
Forum Regular
Forum Regular
Posts: 259
Joined: Mon May 22, 2006 9:52 pm

Unread post by modom46 »

this glibc gave me errors:

[root@godslove etc]# rpm -Uvh --oldpackage http://mirror.centos.org/centos-4/4.5/o ... 6.i686.rpm http://mirror.centos.org/centos-4/4.5/o ... 6.i386.rpm
Retrieving http://mirror.centos.org/centos-4/4.5/o ... 6.i686.rpm
Retrieving http://mirror.centos.org/centos-4/4.5/o ... 6.i386.rpm
Preparing... ########################################### [100%]
1:glibc-common ########################################### [ 50%]
2:glibc ########################################### [100%]
/usr/sbin/iconvconfig: relocation error: /lib/tls/libc.so.6: symbol _dl_out_of_memory, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference
/usr/sbin/glibc_post_upgrade: While trying to execute /usr/sbin/iconvconfig.i686 child exited with exit code 127
error: %post(glibc-2.3.4-2.36.i686) scriptlet failed, exit status 127

[root@godslove etc]# rpm -q glibc
rpm: relocation error: /lib/tls/libc.so.6: symbol _dl_out_of_memory, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference
[root@godslove etc]#

The server is down and I cannot start apache.
modom46
Forum Regular
Forum Regular
Posts: 259
Joined: Mon May 22, 2006 9:52 pm

Unread post by modom46 »

Well the server is not down but nobody can ssh into the server from the console so engineering has to take the server offline and try to use a restore cd to fix it.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

I guess you learned something today huh
Post Reply