X server, that is (as opposed to my ex-spouse...) Anyway, I was loving life with my rebuilt 2.4.21-9.0.1.EL.c0custom041130a kernel, and then ran "yum update", which gave me a grub line for 2.4.21-20.0.1EL, but the 21-20 not only won't work with the old X settings, I can't get it to set up X at all. I tried running "yum update" from a console on this kernel, but yum can't find the conf file unless I tell it where it is with the -c switch, and even then it won't follow the symlink from /etc/yum.conf to /etc/centos-yum.conf. Once I supply the proper switch and path then it starts the update and chokes on the GPG keys for php-mysql. As directed in the error message I've tried running yum clean and also tried removing the /var/.../php-mysql... file indicated, to no avail.
That said, all helpers appreciated.
On Wed, 2004-12-22 at 19:23 -0800, beau wrote:
X server, that is (as opposed to my ex-spouse...) Anyway, I was loving life with my rebuilt 2.4.21-9.0.1.EL.c0custom041130a kernel, and then ran "yum update", which gave me a grub line for 2.4.21-20.0.1EL, but the 21-20 not only won't work with the old X settings, I can't get it to set up X at all. I tried running "yum update" from a console on this kernel, but yum can't find the conf file unless I tell it where it is with the -c switch, and even then it won't follow the symlink from /etc/yum.conf to /etc/centos-yum.conf. Once I supply the proper switch and path then it starts the update and chokes on the GPG keys for php-mysql. As directed in the error message I've tried running yum clean and also tried removing the /var/.../php-mysql... file indicated, to no avail.
1. I just verified all the php* packages in updates for both 3.3 and 3.1 i386. They all check out fine. 2. What specific error messages are you getting? Can you cut and paste them? It makes debugging much simpler. 3. output of ls -la /etc/yum.conf shows what? 4. why had you rebuilt your kernel before? Do you have an odd video card that needed some special love from the kernel?
-sv
[apologies to seth, this accidentally went straight to you instead of the list] On Wed, 22 Dec 2004 23:23:03 -0500, seth vidal skvidal@phy.duke.edu wrote:
- What specific error messages are you getting? Can you cut and paste
them? It makes debugging much simpler.
"yum update" gets Cannot find any conf file
"yum -c /etc/yum.conf update" gets Error accesing File: /etc/yum.conf
"yum -c /etc/centos-yum.conf update" gets ... Downloading Packages Getting php-mysql-4.3.2-19.ent.i386.rpm php-mysql-4.3.2-19.ent.i3 100% |=========================| 28 kB 00:00 warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 025e513b Error: Could not find the GPG Key necessary to validate pkg /var/cache/yum/update/packages/php-mysql-4.3.2-19.ent.i386. rpm Error: You may want to run yum clean or remove the file: /var/cache/yum/update/packages/php-mysql-4.3.2-19.ent.i386.rpm Error: You may also check that you have the correct GPG keys installed
- output of ls -la /etc/yum.conf shows what?
lrwxr-xr-x 1 root root 25 Oct 28 08:01 /etc/yum.conf -> /etc/centos-base-yum.conf
- why had you rebuilt your kernel before? Do you have an odd video card
that needed some special love from the kernel?
Studying for RHCE, rebuilding a kernel was a suggested exercise. Here's the timeline: I install centos, rebuild the kernel, life is fine. I later run yum update, get a new vmlinuz-2.4.21-20.0.1.EL which, when booted, chokes on X. If I use grub to boot to the pre-update kernel all is well.
On Wed, 22 Dec 2004 23:59:43 -0500, Rob Patrick rob@rpatrick.com wrote:
This is a big issue a lot of folks are having.
Thanks for that; sometimes I wonder if it's just me. I'm trying hard to make the move from dilettante looser to adequate user; somedays I feel I'm doing better than others.
You can either go back to your old kernel, or move up to a newer kernel.
Roger. Using old kernel works just fine.
I've seen a lot of this discussion over the past two days on the White Box Enterpise Linux mailing lists (which are very much like CentOS).
White Box was the first rebuild I heard of. Went with Centos because the author of the RHCE prep book I'm using says he's most familiar with it and so it should be a good choice for working through his book. Turns out I'm much happier with Centos than I am with that book. :)
On Thu, 2004-12-23 at 08:49 -0800, beau wrote:
[apologies to seth, this accidentally went straight to you instead of the list] On Wed, 22 Dec 2004 23:23:03 -0500, seth vidal skvidal@phy.duke.edu wrote:
- What specific error messages are you getting? Can you cut and paste
them? It makes debugging much simpler.
"yum update" gets Cannot find any conf file
"yum -c /etc/yum.conf update" gets Error accesing File: /etc/yum.conf
"yum -c /etc/centos-yum.conf update" gets
you need to fix the symlink from /etc/yum.conf to /etc/centos-yum.conf.
... Downloading Packages Getting php-mysql-4.3.2-19.ent.i386.rpm php-mysql-4.3.2-19.ent.i3 100% |=========================| 28 kB 00:00 warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 025e513b Error: Could not find the GPG Key necessary to validate pkg
you need to import the gpg key for centos.
http://www.centos.org/modules/smartfaq/faq.php?faqid=17
- output of ls -la /etc/yum.conf shows what?
lrwxr-xr-x 1 root root 25 Oct 28 08:01 /etc/yum.conf -> /etc/centos-base-yum.conf
yah - the symlink is wrong.
-sv
On Thu, 23 Dec 2004 12:27:44 -0500, seth vidal skvidal@phy.duke.edu wrote:
you need to fix the symlink from /etc/yum.conf to /etc/centos-yum.conf.
Did this.
you need to import the gpg key for centos.
Did this too. Then booted into my good kernel, a custom rebuild of 2.4.21-9.0.1.EL.c0, ran "yum update", which clicked along and gave me 2.4.21-27.0.1.EL, which won't boot. Dies with a "/dev/hda2 already mounted e2fsk aborted" (sorry, that's paraphrased from memory.) I'd be happy to post a boot.log or dmesg or whatever else I should be using to diagnose the problem. Many thanks.