RE: [CentOS] yum: not updating kernel

2008-10-13 Thread Anthony Kamau
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of [EMAIL PROTECTED]
 Sent: Tuesday, 14 October 2008 2:25 PM
 To: CentOS mailing list
 Subject: [CentOS] yum: not updating kernel
 
 Hi.  I recently switched my CentOS kernel to 2.6.27, manually.  Is there
 a way to take it off the list of possible yum updates?  I want to
 handle kernel stuff myself.
 

Edit /etc/yum.conf
Below excerpt from `man yum.conf'
exclude  List of packages to exclude from updates or installs. This should
 be a space separated list.  Shell globs using wildcards (eg. *
 and ?) are allowed.



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum: not updating kernel

2008-10-13 Thread notconfusedaboutthattoday

Anthony Kamau wrote:
 
 Hi.  I recently switched my CentOS kernel to 2.6.27, manually.  Is there

 a way to take it off the list of possible yum updates?  I want to
 handle kernel stuff myself.
 


Edit /etc/yum.conf
Below excerpt from `man yum.conf'
exclude  List of packages to exclude from updates or installs. This should
 be a space separated list.  Shell globs using wildcards (eg. *
 and ?) are allowed.
  


Sorry, man, my bad for not reading the man page.  No food pellet for 
me.  :-(

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-28 Thread Ross S. W. Walker

I'll lookand see, doesn't hurt.

Which repos did you have installed?

-Ross


- Original Message -
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: CentOS mailing list centos@centos.org
Sent: Thu Feb 28 02:32:20 2008
Subject: RE: [CentOS] Yum not updating kernel

On Wed, 2008-02-27 at 15:27 -0500, Ross S. W. Walker wrote:

[big snip]

 I'd be interested in seeing a complete /var/log/yum.log file
 and the date of the last successful yum update.

I have attached both yum.log files. Possible dates of interest are:

Oct 10 09:14:15 Installed: kernel.i686 2.6.18-8.1.14.el5

Oct 24 05:43:29 Updated: kernel-headers.i386 2.6.18-8.1.15.el5
Dec 03 11:10:12 Updated: kernel-headers.i386 2.6.18-53.1.4.el5

I wonder if you can find a culprit?

-- 
Bob Taylor


__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-27 Thread Johnny Hughes

Bob Taylor wrote:

On Tue, 2008-02-26 at 16:09 -0600, Johnny Hughes wrote:

[snip]
 

Would anaconda even allow C5 to install on such a class cpu?
no ... and we have no i386 kernel ... no idea how that file got changed, 
but the only code to make it happen would be a pentium classic 
processor.  C5 would just die, as there is not one. (c4 too)


OK! Thanks Johnny. You just confirmed a bug here. Now I will, as time
allows, see if I can discover why /etc/rpm/platform is incorrect. Since
the file is in an rpm directory, shall I look at rpm? I promise *not* to
begin another thread like this one! I'm a nice guy, really!



This file (/etc/rpm/platform) is created by anaconda on install and is 
NOT owned by RPM or any other package.  It is USED by rpm to determine 
your real arch where there are possibly multiple arches (based on your 
processor type).


I[3,4,5,6]86 packages can coexist with each other in an i386 distro 
install, however you can not install an i386 package and another 
i[4,5,6]86 package with the same Name and Epoch-Version-Release (EVR) at 
the same time.  On Red Hat based distros, /etc/rpm/platform is used to 
define the main arch where more than one (based on the processor) could 
be main.


Also I[3,4,5,6]86 packages can exist in an x86_64 arch install and 
I[3,4,5,6]86 packages can exist in an ia64 arch install. These (x86_64 
and ia64) are 64bit/32bit library (aka multilib) arches.  They can have 
lib64 and lib directories and have both an i[3,4,5,6]86 package and an 
x86_64 (or ia64) package installed that have the same Name and EVR.


Other examples of 32bit/64bit (multilib) arches are s390 and s390x, ppc 
and ppc64, and finally sparc and sparc64.  In each of these you can have 
a 32bit (lib) and a 64bit (lib64) package of the same Name and EVR 
installed at the same time.



So, on x86_64, you CAN have glibc.x86_64 and glibc.i686. On sparc, you 
CAN have glibc.sparc and glibc.sparc64 .. but on i386 you CAN NOT have 
glibc.i386 and glibc.i686.


I can think of nothing that will (or should) change that file 
(/etc/rpm/platform) except running anaconda (the installer from a CentOS 
CD / DVD).


If something does modify that file it is definitely a bug.  Well, if you 
are BUILDING files with rpmbuild then sometimes on some of the multilib 
arches you might want to change /etc/rpm/platform to get specific 
results ... but that would be a controlled process and I know of no 
packages that do it automatically.


Some of the links by Ross seem to indicate that unixODBC-devel might 
impact /etc/rpm/platform ... however the version i386 version in 
centos-5 does not seem to as I have installed it several times for 
testing and it did not change my /etc/rpm/platform.


I have looked at several i386 machines, and all of them have an 
/etc/rpm/platform that is created on the install date, none of them have 
a file that has been modified.


If we can nail down something that changed /etc/rpm/platform it would be 
good, as that file should never change.


Thanks,
Johnny Hughes



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-27 Thread Bob Taylor
On Wed, 2008-02-27 at 06:29 -0600, Johnny Hughes wrote:
 Bob Taylor wrote:

[snip]

  OK! Thanks Johnny. You just confirmed a bug here. Now I will, as time
  allows, see if I can discover why /etc/rpm/platform is incorrect. Since
  the file is in an rpm directory, shall I look at rpm? I promise *not* to
  begin another thread like this one! I'm a nice guy, really!
  
 
 This file (/etc/rpm/platform) is created by anaconda on install and is 
 NOT owned by RPM or any other package.  It is USED by rpm to determine 
 your real arch where there are possibly multiple arches (based on your 
 processor type).
 
 I[3,4,5,6]86 packages can coexist with each other in an i386 distro 
 install, however you can not install an i386 package and another 
 i[4,5,6]86 package with the same Name and Epoch-Version-Release (EVR) at 
 the same time.  On Red Hat based distros, /etc/rpm/platform is used to 
 define the main arch where more than one (based on the processor) could 
 be main.
 
 Also I[3,4,5,6]86 packages can exist in an x86_64 arch install and 
 I[3,4,5,6]86 packages can exist in an ia64 arch install. These (x86_64 
 and ia64) are 64bit/32bit library (aka multilib) arches.  They can have 
 lib64 and lib directories and have both an i[3,4,5,6]86 package and an 
 x86_64 (or ia64) package installed that have the same Name and EVR.
 
 Other examples of 32bit/64bit (multilib) arches are s390 and s390x, ppc 
 and ppc64, and finally sparc and sparc64.  In each of these you can have 
 a 32bit (lib) and a 64bit (lib64) package of the same Name and EVR 
 installed at the same time.
 
 
 So, on x86_64, you CAN have glibc.x86_64 and glibc.i686. On sparc, you 
 CAN have glibc.sparc and glibc.sparc64 .. but on i386 you CAN NOT have 
 glibc.i386 and glibc.i686.
 
 I can think of nothing that will (or should) change that file 
 (/etc/rpm/platform) except running anaconda (the installer from a CentOS 
 CD / DVD).
 
 If something does modify that file it is definitely a bug.  Well, if you 
 are BUILDING files with rpmbuild then sometimes on some of the multilib 
 arches you might want to change /etc/rpm/platform to get specific 
 results ... but that would be a controlled process and I know of no 
 packages that do it automatically.
 
 Some of the links by Ross seem to indicate that unixODBC-devel might 
 impact /etc/rpm/platform ... however the version i386 version in 
 centos-5 does not seem to as I have installed it several times for 
 testing and it did not change my /etc/rpm/platform.
 
 I have looked at several i386 machines, and all of them have an 
 /etc/rpm/platform that is created on the install date, none of them have 
 a file that has been modified.
 
 If we can nail down something that changed /etc/rpm/platform it would be 
 good, as that file should never change.

Thanks again Johnny for the info. The only non-rpm I recall installing
was the cups *.tgs for my printer which I had to compile. :-(
-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-27 Thread Akemi Yagi
On Wed, Feb 27, 2008 at 11:30 AM, Bob Taylor [EMAIL PROTECTED] wrote:
 On Wed, 2008-02-27 at 06:29 -0600, Johnny Hughes wrote:
  
   If we can nail down something that changed /etc/rpm/platform it would be
   good, as that file should never change.

  Thanks again Johnny for the info. The only non-rpm I recall installing
  was the cups *.tgs for my printer which I had to compile. :-(

 --
  Bob Taylor

Uncle Bob,   :-D

I apologize in advance for asking this question but...  Are you
certain that you did not edit / touch the /etc/rpm/platform file
yourself?

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Yum not updating kernel

2008-02-27 Thread Ross S. W. Walker
Bob Taylor wrote:
 On Wed, 2008-02-27 at 06:29 -0600, Johnny Hughes wrote:
  Bob Taylor wrote:
 
 [snip]
 
   OK! Thanks Johnny. You just confirmed a bug here. Now I will, as time
   allows, see if I can discover why /etc/rpm/platform is incorrect. Since
   the file is in an rpm directory, shall I look at rpm? I promise *not* to
   begin another thread like this one! I'm a nice guy, really!
   
  
  This file (/etc/rpm/platform) is created by anaconda on install and is 
  NOT owned by RPM or any other package.  It is USED by rpm to determine 
  your real arch where there are possibly multiple arches (based on your 
  processor type).
  
  I[3,4,5,6]86 packages can coexist with each other in an i386 distro 
  install, however you can not install an i386 package and another 
  i[4,5,6]86 package with the same Name and Epoch-Version-Release (EVR) at 
  the same time.  On Red Hat based distros, /etc/rpm/platform is used to 
  define the main arch where more than one (based on the processor) could 
  be main.
  
  Also I[3,4,5,6]86 packages can exist in an x86_64 arch install and 
  I[3,4,5,6]86 packages can exist in an ia64 arch install. These (x86_64 
  and ia64) are 64bit/32bit library (aka multilib) arches. They can have 
  lib64 and lib directories and have both an i[3,4,5,6]86 package and an 
  x86_64 (or ia64) package installed that have the same Name and EVR.
  
  Other examples of 32bit/64bit (multilib) arches are s390 and s390x, ppc 
  and ppc64, and finally sparc and sparc64.  In each of these you can have 
  a 32bit (lib) and a 64bit (lib64) package of the same Name and EVR 
  installed at the same time.
  
  
  So, on x86_64, you CAN have glibc.x86_64 and glibc.i686. On sparc, you 
  CAN have glibc.sparc and glibc.sparc64 .. but on i386 you CAN NOT have 
  glibc.i386 and glibc.i686.
  
  I can think of nothing that will (or should) change that file 
  (/etc/rpm/platform) except running anaconda (the installer from a CentOS 
  CD / DVD).
  
  If something does modify that file it is definitely a bug. Well, if you 
  are BUILDING files with rpmbuild then sometimes on some of the multilib 
  arches you might want to change /etc/rpm/platform to get specific 
  results ... but that would be a controlled process and I know of no 
  packages that do it automatically.
  
  Some of the links by Ross seem to indicate that unixODBC-devel might 
  impact /etc/rpm/platform ... however the version i386 version in 
  centos-5 does not seem to as I have installed it several times for 
  testing and it did not change my /etc/rpm/platform.
  
  I have looked at several i386 machines, and all of them have an 
  /etc/rpm/platform that is created on the install date, none of them have 
  a file that has been modified.
  
  If we can nail down something that changed /etc/rpm/platform it would be 
  good, as that file should never change.
 
 Thanks again Johnny for the info. The only non-rpm I recall installing
 was the cups *.tgs for my printer which I had to compile. :-(

I'd be interested in seeing a complete /var/log/yum.log file
and the date of the last successful yum update.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-26 Thread Johnny Hughes

Bob Taylor wrote:

On Mon, 2008-02-25 at 23:44 -0500, Ross S. W. Walker wrote:

Bob Taylor wrote:

On Mon, 2008-02-25 at 12:10 -0800, Ray Van Dolson wrote:

[snip]

Well, exactarch=0 might work around this from a yum 

standpoint (as far
as downloading the updates), but if RPM is complaining this 

is beyond
the control of yum.  As someone else mentioned, taking a 

look at your

~/.rpmmacros file would be interesting.

It was empty.


Also, could you post the output of:

  rpm -q --queryformat 

'%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' kernel

kernel-2.6.18-8.el5.i686
kernel-2.6.18-8.1.14.el5.i686
kernel-2.6.18-53.1.13.el5.i686

The last kernel was installed manually using --ignorearch.

Bob,

What's the output of,

# rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' rpm


rpm-4.4.2-47.el5.i386


The contents of,

# cat /etc/rpm/platform


i386-redhat-linux


And the output of,

# rpm --eval '%_arch'


i386


Also, did you re-install rpm by forcing an upgrade in place of rpm with,


I ran yum remove yum. I did not remove rpm nor did an rpm --force.


what happens if you edit /etc/rpm/platform and change it too:

i686-redhat-linux



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-26 Thread Bob Taylor
On Mon, 2008-02-25 at 22:46 -0800, John R Pierce wrote:
 Bob Taylor wrote:
  On Tue, 2008-02-26 at 00:19 -0500, Ross S. W. Walker wrote:

  Bob Taylor wrote:
  
 
  [snip]
 

  uname -imp:
 
  i686 i686 i386
 
  Don't know why the kernel says it's an i386. Kernel bug? Gateway
  purchase?

  i386 is the architecture, in there you have processor flavors
  which can be i386 (generic), i486, i586 and i686 tuned. C5 only
  carries the generic i386 (default compile options) and the i686
  tuned binaries, i586 tuned binaries are no longer being supported
  after C4.
  
 
  What does this say my cpu is:
 
  vendor_id   : GenuineIntel
  cpu family  : 6
  model   : 5
  model name  : Pentium II (Deschutes)
 
  [snip]
 

  The uname output is valid for your install, the question now is
  why rpm refuses to install valid architecture binaries on your
  system.
  
 
  So, my cpu is not an i686?

 
 a P-II should be.  i686 is everything from the Pentium Pro onwards, 
 including P-II, P-III, P4, core, and the various clones.  it does NOT 
 include the original Pentiums (p5 and p54) or 'pentium w/ MMX', those 
 are i586.

What is model : 5 above compared to p5?
-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Yum not updating kernel

2008-02-26 Thread Ross S. W. Walker
Bob Taylor wrote:
 On Mon, 2008-02-25 at 22:46 -0800, John R Pierce wrote:
  Bob Taylor wrote:
   On Tue, 2008-02-26 at 00:19 -0500, Ross S. W. Walker wrote:
 
   Bob Taylor wrote:
   
  
   [snip]
  
 
   uname -imp:
  
   i686 i686 i386
  
   Don't know why the kernel says it's an i386. Kernel bug? Gateway
   purchase?
 
   i386 is the architecture, in there you have processor flavors
   which can be i386 (generic), i486, i586 and i686 tuned. C5 only
   carries the generic i386 (default compile options) and the i686
   tuned binaries, i586 tuned binaries are no longer being supported
   after C4.
   
  
   What does this say my cpu is:
  
   vendor_id   : GenuineIntel
   cpu family  : 6
   model   : 5
   model name  : Pentium II (Deschutes)
  
   [snip]
  
 
   The uname output is valid for your install, the question now is
   why rpm refuses to install valid architecture binaries on your
   system.
   
  
   So, my cpu is not an i686?
 
  
  a P-II should be.  i686 is everything from the Pentium Pro onwards, 
  including P-II, P-III, P4, core, and the various clones.  it does NOT 
  include the original Pentiums (p5 and p54) or 'pentium w/ MMX', those 
  are i586.
 
 What is model : 5 above compared to p5?

The model refers to Pentium II, the family '6' refers to i686,
the stepping is the sub-version of Pentium II which for yours
has the nick name Deschutes.

Here is the cpu info of a more recent quad core Intel.

processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 15
model name  : Intel(R) Xeon(R) CPU   X3220  @ 2.40GHz
stepping: 7

This model is 10 cpu designs ahead, but still part of the i686 family,
of course these 10 designs do not show the separate Pentium/Xeon/Pro
tree lineages. I think they gave up giving the steppings nick names
a long long time ago.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-26 Thread Bob Taylor
On Tue, 2008-02-26 at 08:14 -0600, Johnny Hughes wrote:

[snip]

 what happens if you edit /etc/rpm/platform and change it too:
 
 i686-redhat-linux

Nothing.

I downloaded the current rpm file this morning and ran rpm -Uvh
--force /home/brtaylor/rpm-4.4.2-47.el5.i386.rpm.

Rpm seems to behave oddly. I had downloaded the current kernel rpm and
installed it with the command rpm -ivh --ignorearch [file] successfully.
I can not remove it with the command rpm -e kernel-2.6.18-53.1.13 but
can if I add .el5 to the end it does. Before I deleted it I ran the
command rpm -ql kernel and all three kernels rpm files were listed
including the kernel rpm which rpm -e said wasn't installed. This
doesn't make sense to me.

I have done the following:

rpm -Uvh --force /home/brtaylor/rpm-4.4.2-47.el5.i386.rpm
edit /etc/rpm/platform to i686-redhat-linux
rpm -e kernel-2.6.18-53.1.13.el5
yum clean all
yum upgrade kernel
returned Installed: kernel.i686 0:2.6.18-53.1.13.el5
Complete!

It looks like the problem may be in rpm after 4.4.2-37. Before I go to
the rpm people, I need to confer with Ray Van Dolson who says his is the
same as mine and he has no problem updating kernels. After Ray and I
resolve this issue, I will send a last email to the list hopefully
ending this subject with the resolution to this problem.

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-26 Thread Garrick Staples
On Tue, Feb 26, 2008 at 11:19:36AM -0800, Bob Taylor alleged:
 I can not remove it with the command rpm -e kernel-2.6.18-53.1.13 but
 can if I add .el5 to the end it does. Before I deleted it I ran the

That's correct.  53.1.13 is the not same as 53.1.13.el5.

The version is 2.6.18 and the release is 53.1.13.el5.  You can specify the
version or version-release, but not different substrings.

-- 
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


pgpGalSIbJl4z.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel [personal]

2008-02-26 Thread Bob Taylor
Ray Van Dolson please email me at [EMAIL PROTECTED]
-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-26 Thread John R Pierce

Ross S. W. Walker wrote:

Here is the cpu info of a more recent quad core Intel.

processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 15
model name  : Intel(R) Xeon(R) CPU   X3220  @ 2.40GHz
stepping: 7

This model is 10 cpu designs ahead, but still part of the i686 family,
of course these 10 designs do not show the separate Pentium/Xeon/Pro
tree lineages. I think they gave up giving the steppings nick names
a long long time ago.
  



indeed, Xeon further confuses things, this is simply a brand name for 
a 'Server' CPU.  There have been Xeon's that were Pentium-III based, 
then Pentium-4 based, and now new ones like that are Core2Duo based.


and, further confusing things, the Pentium-4 variants weren't really P6 
core based, they had a completely different internal architecture known 
as NetBurst, but Intel decided not to give it a seperate family 
designation for who-knows-what reason.The newest Core based CPUs 
are in fact derived from the Pentium-M laptop processor, which in turn 
was based on a redesign of the P6 (Pentium-III) guts, discarding the 
Netburst architecture.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-26 Thread Johnny Hughes

Bob Taylor wrote:

On Tue, 2008-02-26 at 08:14 -0600, Johnny Hughes wrote:

[snip]


what happens if you edit /etc/rpm/platform and change it too:

i686-redhat-linux


Nothing.

I downloaded the current rpm file this morning and ran rpm -Uvh
--force /home/brtaylor/rpm-4.4.2-47.el5.i386.rpm.

Rpm seems to behave oddly. I had downloaded the current kernel rpm and
installed it with the command rpm -ivh --ignorearch [file] successfully.
I can not remove it with the command rpm -e kernel-2.6.18-53.1.13 but
can if I add .el5 to the end it does. Before I deleted it I ran the
command rpm -ql kernel and all three kernels rpm files were listed
including the kernel rpm which rpm -e said wasn't installed. This
doesn't make sense to me.

I have done the following:

rpm -Uvh --force /home/brtaylor/rpm-4.4.2-47.el5.i386.rpm
edit /etc/rpm/platform to i686-redhat-linux
rpm -e kernel-2.6.18-53.1.13.el5
yum clean all
yum upgrade kernel
returned Installed: kernel.i686 0:2.6.18-53.1.13.el5
Complete!

It looks like the problem may be in rpm after 4.4.2-37. Before I go to
the rpm people, I need to confer with Ray Van Dolson who says his is the
same as mine and he has no problem updating kernels. After Ray and I
resolve this issue, I will send a last email to the list hopefully
ending this subject with the resolution to this problem.



The problem was most likely the /etc/rpm/platform

if it is i386 and not i686 then is will not allow i686 RPMS to be installed.

That file should only be updated IF anaconda does an install or upgrade.

It should only be i386 of it is installed on a pentium classic processor 
(or equivalent).


That is the only cause of the incompatible arch.

Nothing in centos except an install/upgrade via anaconda should ever 
tough that file, so once you change it, it should remain changed.


Reboot a couple times and makes sure it (/etc/rpm/platform) stays the same.

If it changes we need to figure out why.



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Yum not updating kernel

2008-02-26 Thread Ross S. W. Walker
Johnny Hughes wrote:
 Bob Taylor wrote:
  On Tue, 2008-02-26 at 08:14 -0600, Johnny Hughes wrote:
  
  [snip]
  
  what happens if you edit /etc/rpm/platform and change it too:
 
  i686-redhat-linux
  
  Nothing.
  
  I downloaded the current rpm file this morning and ran rpm -Uvh
  --force /home/brtaylor/rpm-4.4.2-47.el5.i386.rpm.
  
  Rpm seems to behave oddly. I had downloaded the current kernel rpm and
  installed it with the command rpm -ivh --ignorearch [file] successfully.
  I can not remove it with the command rpm -e kernel-2.6.18-53.1.13 but
  can if I add .el5 to the end it does. Before I deleted it I ran the
  command rpm -ql kernel and all three kernels rpm files were listed
  including the kernel rpm which rpm -e said wasn't installed. This
  doesn't make sense to me.
  
  I have done the following:
  
  rpm -Uvh --force /home/brtaylor/rpm-4.4.2-47.el5.i386.rpm
  edit /etc/rpm/platform to i686-redhat-linux
  rpm -e kernel-2.6.18-53.1.13.el5
  yum clean all
  yum upgrade kernel
  returned Installed: kernel.i686 0:2.6.18-53.1.13.el5
  Complete!
  
  It looks like the problem may be in rpm after 4.4.2-37. Before I go to
  the rpm people, I need to confer with Ray Van Dolson who says his is the
  same as mine and he has no problem updating kernels. After Ray and I
  resolve this issue, I will send a last email to the list hopefully
  ending this subject with the resolution to this problem.
  
 
 The problem was most likely the /etc/rpm/platform
 
 if it is i386 and not i686 then is will not allow i686 RPMS 
 to be installed.
 
 That file should only be updated IF anaconda does an install 
 or upgrade.

Good to note, I was under the impression that it might be set
in the initrd in case a different kernel image is installed.

 It should only be i386 of it is installed on a pentium 
 classic processor 
 (or equivalent).

Would anaconda even allow C5 to install on such a class cpu?

 That is the only cause of the incompatible arch.
 
 Nothing in centos except an install/upgrade via anaconda should ever 
 tough that file, so once you change it, it should remain changed.
 
 Reboot a couple times and makes sure it (/etc/rpm/platform) 
 stays the same.
 
 If it changes we need to figure out why.

I think there may be a case or two of bad packages updating that file
I believe these are some dumb Mozilla plugins though, googling got
me these:

http://dnmouse.webs.com/playdvdsmore.htm

and here:

http://www.fedorafaq.org/

The OP had a lot of kitchen sinks installed maybe a broken plugin
was the cause of all that grief. Probably right around the time
he installed that repo and things stopped working.

-Ross



__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-26 Thread Johnny Hughes

Ross S. W. Walker wrote:

Johnny Hughes wrote:

Bob Taylor wrote:

On Tue, 2008-02-26 at 08:14 -0600, Johnny Hughes wrote:

[snip]


what happens if you edit /etc/rpm/platform and change it too:

i686-redhat-linux

Nothing.


snip


The problem was most likely the /etc/rpm/platform

if it is i386 and not i686 then is will not allow i686 RPMS 
to be installed.


That file should only be updated IF anaconda does an install 
or upgrade.


Good to note, I was under the impression that it might be set
in the initrd in case a different kernel image is installed.

It should only be i386 of it is installed on a pentium 
classic processor 
(or equivalent).


Would anaconda even allow C5 to install on such a class cpu?


no ... and we have no i386 kernel ... no idea how that file got changed, 
but the only code to make it happen would be a pentium classic 
processor.  C5 would just die, as there is not one. (c4 too)





That is the only cause of the incompatible arch.

Nothing in centos except an install/upgrade via anaconda should ever 
tough that file, so once you change it, it should remain changed.


Reboot a couple times and makes sure it (/etc/rpm/platform) 
stays the same.


If it changes we need to figure out why.


I think there may be a case or two of bad packages updating that file
I believe these are some dumb Mozilla plugins though, googling got
me these:

http://dnmouse.webs.com/playdvdsmore.htm

and here:

http://www.fedorafaq.org/

The OP had a lot of kitchen sinks installed maybe a broken plugin
was the cause of all that grief. Probably right around the time
he installed that repo and things stopped working.



In both cases it seems that unixODBC-devel.i386 is the thing that 
possibly makes /etc/rpm/paltform angry.


Let me research that.



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Yum not updating kernel

2008-02-26 Thread Ross S. W. Walker
Johnny Hughes wrote:
 Ross S. W. Walker wrote:
  Johnny Hughes wrote:
  Bob Taylor wrote:
  On Tue, 2008-02-26 at 08:14 -0600, Johnny Hughes wrote:
 
  [snip]
 
  what happens if you edit /etc/rpm/platform and change it too:
 
  i686-redhat-linux
  Nothing.
 
 snip
 
  The problem was most likely the /etc/rpm/platform
 
  if it is i386 and not i686 then is will not allow i686 RPMS 
  to be installed.
 
  That file should only be updated IF anaconda does an install 
  or upgrade.
  
  Good to note, I was under the impression that it might be set
  in the initrd in case a different kernel image is installed.
  
  It should only be i386 of it is installed on a pentium 
  classic processor 
  (or equivalent).
  
  Would anaconda even allow C5 to install on such a class cpu?
 
 no ... and we have no i386 kernel ... no idea how that file 
 got changed, 
 but the only code to make it happen would be a pentium classic 
 processor.  C5 would just die, as there is not one. (c4 too)
 
  
  That is the only cause of the incompatible arch.
 
  Nothing in centos except an install/upgrade via anaconda 
 should ever 
  tough that file, so once you change it, it should remain changed.
 
  Reboot a couple times and makes sure it (/etc/rpm/platform) 
  stays the same.
 
  If it changes we need to figure out why.
  
  I think there may be a case or two of bad packages updating 
 that file
  I believe these are some dumb Mozilla plugins though, googling got
  me these:
  
  http://dnmouse.webs.com/playdvdsmore.htm
  
  and here:
  
  http://www.fedorafaq.org/
  
  The OP had a lot of kitchen sinks installed maybe a broken plugin
  was the cause of all that grief. Probably right around the time
  he installed that repo and things stopped working.
  
 
 In both cases it seems that unixODBC-devel.i386 is the thing that 
 possibly makes /etc/rpm/paltform angry.
 
 Let me research that.

I did a quick test and adding unixODBC-devel did nothing to my
platform file on both Intel and AMD, so maybe it had a problem
in the past and now it has become an urban legend.

Maybe some other third party repo package mangled it. The OP's
yum log should show what packages were installed when, so just
need to trace it back to when it stopped working and look at
what packages were installed and from where and test them
out.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-26 Thread Bob Taylor
On Tue, 2008-02-26 at 11:22 -0800, Garrick Staples wrote:
 On Tue, Feb 26, 2008 at 11:19:36AM -0800, Bob Taylor alleged:
  I can not remove it with the command rpm -e kernel-2.6.18-53.1.13 but
  can if I add .el5 to the end it does. Before I deleted it I ran the
 
 That's correct.  53.1.13 is the not same as 53.1.13.el5.
 
 The version is 2.6.18 and the release is 53.1.13.el5.  You can specify the
 version or version-release, but not different substrings.

Ah! Mystery resolved. Thanks!
-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-26 Thread Bob Taylor
On Tue, 2008-02-26 at 11:51 -0800, Ray Van Dolson wrote:

[snip]

  It looks like the problem may be in rpm after 4.4.2-37. Before I go to
  the rpm people, I need to confer with Ray Van Dolson who says his is the
  same as mine and he has no problem updating kernels. After Ray and I
  resolve this issue, I will send a last email to the list hopefully
  ending this subject with the resolution to this problem.
  
 
 Bob, so it appears the above did work?

It did.

 I don't recall what exactly I said was the same on my system as
 yours... but, my /etc/rpm/platform is:

 Mine reports the same as yours and I have no problem updating kernels.

I believe this was in reference to uname -imp which mine results in

i686 i686 i386

Notice the processor. By all accounts it should be i686.

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-26 Thread Bob Taylor
On Tue, 2008-02-26 at 16:09 -0600, Johnny Hughes wrote:

[snip]
 
  Would anaconda even allow C5 to install on such a class cpu?
 
 no ... and we have no i386 kernel ... no idea how that file got changed, 
 but the only code to make it happen would be a pentium classic 
 processor.  C5 would just die, as there is not one. (c4 too)

OK! Thanks Johnny. You just confirmed a bug here. Now I will, as time
allows, see if I can discover why /etc/rpm/platform is incorrect. Since
the file is in an rpm directory, shall I look at rpm? I promise *not* to
begin another thread like this one! I'm a nice guy, really!

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Yum not updating kernel

2008-02-26 Thread Bob Taylor
On Tue, 2008-02-26 at 15:27 -0500, Ross S. W. Walker wrote:

[snip]

 I think there may be a case or two of bad packages updating that file
 I believe these are some dumb Mozilla plugins though, googling got
 me these:
 
 http://dnmouse.webs.com/playdvdsmore.htm
 
 and here:
 
 http://www.fedorafaq.org/
 
 The OP had a lot of kitchen sinks installed maybe a broken plugin
 was the cause of all that grief. Probably right around the time
 he installed that repo and things stopped working.

I presume this comment is in regards to the above references?
-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Sun, 2008-02-24 at 22:55 -0800, Ray Van Dolson wrote:

[snip]

 Mine reports the same as yours and I have no problem updating kernels.

Sigh! So I have the same problem with rpm? It rejects installing an i686
rpm.

[snip]

 Something is missing.  It's probably something very simple.  I still
 think you should let someone log in as root into your box and figure it
 out for you. :)

I would love this. However I don't know what my IP is nor how to find
out. It's been too long and too much has changed.

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread Ray Van Dolson
  Something is missing.  It's probably something very simple.  I still
  think you should let someone log in as root into your box and figure it
  out for you. :)
 
 I would love this. However I don't know what my IP is nor how to find
 out. It's been too long and too much has changed.

Seriously?

ifconfig will tell you your IP address.  Or just go to
www.whatsmyip.org or some similar site...

Or, just reinstall :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread Ray Van Dolson
  Something is missing.  It's probably something very simple.  I still
  think you should let someone log in as root into your box and figure it
  out for you. :)
 
 That was the dumbest piece of advice so far.
 

Get a sense of humor.

Ray
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Ross S. W. Walker
Bob Taylor wrote:
 
 On Mon, 2008-02-25 at 00:19 -0800, Ray Van Dolson wrote:
   I would love this. However I don't know what my IP is nor 
 how to find
   out. It's been too long and too much has changed.
  
  Seriously?
  
  ifconfig will tell you your IP address.  Or just go to
  www.whatsmyip.org or some similar site...
 
 Wow! Thanks Ray
 
  Or, just reinstall :)
 
 I *do* have a sense of humor. :-)

Bob,

Lets get this fixed so we can kill this thread.

Can you include the output of these commands:

# cat /etc/redhat-release

# yum list installed '*yum*'

# cat /etc/yum.conf

# cat /etc/yum.repos.d/CentOS-Base.repo


From these we should be able to determine if your base installation
is correct.

If it isn't a config problem then we can look at permissions and
network next.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Mon, 2008-02-25 at 12:41 -0500, Ross S. W. Walker wrote:

[snip]

 Bob,
 
 Lets get this fixed so we can kill this thread.

I agree totally! The problem is with rpm. It refuses to install a non
i386 rpm. I have verified this by downloading the latest kernel rpm. I
had to use --ignorearch flag to get rpm to install it. Now how do I get
this flag to yum? I have exactarch=0 in /etc/yum.conf which I presumed
was to fix this. It does not work. I have tried to pass this flag
via /root/.rpmmacros with no help. So, why do only myself apparently
have this problem? One other item. I made *no* changes to any yum files
after installation except the addition of (maybe) rpmforge. One kernel
was updated around this time. My guess is the problem started around the
update to 5.1. Anybody have any input as to why at least one person does
not have this problem? What could he have that is different from me
regarding yum and rpm? Reading this I apologize for the ramble.

Oct 10 09:14:15 Installed: kernel.i686 2.6.18-8.1.14.el5
Last kernel update. A lot of activity Oct 12-15. Possible 5.1 update
during this period.

 Can you include the output of these commands:
 
 # cat /etc/redhat-release
 
 # yum list installed '*yum*'
 
 # cat /etc/yum.conf
 
 # cat /etc/yum.repos.d/CentOS-Base.repo

I removed yum and reinstalled then yum update yum with no help. No sense
to include these again here.

 From these we should be able to determine if your base installation
 is correct.

It is *not* a yum config problem.

 If it isn't a config problem then we can look at permissions and
 network next.

See above.

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread Alfred von Campe

Bob:


I agree totally! The problem is with rpm. It refuses to install a non
i386 rpm.


What are the contents of the ~/.rpmmacros file (for root)?

Alfred

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread Peter Kjellstrom
On Monday 25 February 2008, Ross S. W. Walker wrote:
 Lets get this fixed so we can kill this thread.

Good initiative, but since the layer beneath also fails (rpm) maybe we should 
start there. rpm -qi kernel or maybe bad stuff in /etc/sysconfig kernel.

The interesting error from RPM suggests that it thinks the machine is an i586 
(or atleast not i686).

/Peter

 Can you include the output of these commands:

 # cat /etc/redhat-release

 # yum list installed '*yum*'

 # cat /etc/yum.conf

 # cat /etc/yum.repos.d/CentOS-Base.repo


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread John R Pierce

Peter Kjellstrom wrote:

On Monday 25 February 2008, Ross S. W. Walker wrote:
  

Lets get this fixed so we can kill this thread.



Good initiative, but since the layer beneath also fails (rpm) maybe we should 
start there. rpm -qi kernel or maybe bad stuff in /etc/sysconfig kernel.


The interesting error from RPM suggests that it thinks the machine is an i586 
(or atleast not i686).
  



indeed, lets add

   $ cat /proc/cpuinfo

to the possibly interesting info to post here... 
___

CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Ross S. W. Walker
Bob Taylor wrote:
 
 On Mon, 2008-02-25 at 12:41 -0500, Ross S. W. Walker wrote:
 
 [snip]
 
  Bob,
  
  Lets get this fixed so we can kill this thread.
 
 I agree totally! The problem is with rpm. It refuses to install a non
 i386 rpm. I have verified this by downloading the latest kernel rpm. I

If rpm is broken, why not try to upgrade rpm on top of itself?

rpm -Uvh --force rpm-4.4.2-47.el5.rpm

You will need to manually download the rpm package again.

 had to use --ignorearch flag to get rpm to install it. Now how do I get
 this flag to yum? I have exactarch=0 in /etc/yum.conf which I presumed
 was to fix this. It does not work. I have tried to pass this flag
 via /root/.rpmmacros with no help. So, why do only myself apparently
 have this problem? One other item. I made *no* changes to any yum files
 after installation except the addition of (maybe) rpmforge. One kernel
 was updated around this time. My guess is the problem started around the
 update to 5.1. Anybody have any input as to why at least one person does
 not have this problem? What could he have that is different from me
 regarding yum and rpm? Reading this I apologize for the ramble.


Bob,

I wouldn't muck with any more options, try to undo the changes you
have made.

I didn't see what the rpm error was you got when you tried to
install it, did you post it to the thread?

You said you re-installed yum, how did you remove yum?

If you did a rpm -e yum, then the yum plugins may have still been left
behind. Here is the list you provided earlier:

yum-3.0.5-1.el5.centos.5
yum-cron-0.6-1.el5.centos
yum-downloadonly-1.0.4-3.el5.centos.2
yumex-2.0.3-2.el5.centos
yum-fastestmirror-1.0.4-3.el5.centos.2
yum-metadata-parser-1.0-8.fc6
yum-priorities-1.0.4-3.el5.centos.2
yum-repolist-1.0.4-3.el5.centos.2
yum-skip-broken-1.0.4-3.el5.centos.2
yum-updatesd-3.0.5-1.el5.centos.5
yum-utils-1.0.4-3.el5.centos.2
yum-versionlock-1.0.4-3.el5.centos.2

Here are the yum and plugins I have installed:

yum-3.0.5-1.el5.centos.5
yum-changelog-1.0.4-3.el5.centos.2
yum-metadata-parser-1.0-8.fc6
yum-priorities-1.0.4-3.el5.centos.2
yum-updatesd-3.0.5-1.el5.centos.5

Besides 'yum-fastestmirror' I would make sure the
others are removed and their configs cleared out
from /etc/yum/pluginconf.d unless you know you have
a real need for any of them.

The yum plugin that catches my attention is 'yum-versionlock'


 Oct 10 09:14:15 Installed: kernel.i686 2.6.18-8.1.14.el5
 Last kernel update. A lot of activity Oct 12-15. Possible 5.1 update
 during this period.
 
  Can you include the output of these commands:
  
  # cat /etc/redhat-release
  
  # yum list installed '*yum*'
  
  # cat /etc/yum.conf
  
  # cat /etc/yum.repos.d/CentOS-Base.repo
 
 I removed yum and reinstalled then yum update yum with no help. No sense
 to include these again here.
 
  From these we should be able to determine if your base installation
  is correct.
 
 It is *not* a yum config problem.

Can you post the rpm error you got before?

  If it isn't a config problem then we can look at permissions and
  network next.
 
 See above.


__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Ross S. W. Walker
John R Pierce wrote:
 Peter Kjellstrom wrote:
  On Monday 25 February 2008, Ross S. W. Walker wrote:

  Lets get this fixed so we can kill this thread.
  
 
  Good initiative, but since the layer beneath also fails 
 (rpm) maybe we should 
  start there. rpm -qi kernel or maybe bad stuff in 
 /etc/sysconfig kernel.
 
  The interesting error from RPM suggests that it thinks the 
 machine is an i586 
  (or atleast not i686).

 
 
 indeed, lets add
 
 $ cat /proc/cpuinfo
 
 to the possibly interesting info to post here... 

Sure, C5 kernels only come in the i686 or x86_64 variety.

Maybe the OP's rpm thinks it's on x86_64?

'package kernel-2.6.18-53.1.13.el5 is intended for a i686 architecture'

is the kind of error one would see when installing i386 on x86_64,
the kernel rpm file has a list of unsupported architectures and it
will spit out this error when installing i386 on x86_64.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Mon, 2008-02-25 at 15:02 -0500, Alfred von Campe wrote:
 Bob:
 
  I agree totally! The problem is with rpm. It refuses to install a non
  i386 rpm.
 
 What are the contents of the ~/.rpmmacros file (for root)?

Empty

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Mon, 2008-02-25 at 12:10 -0800, Ray Van Dolson wrote:

[snip]

 Well, exactarch=0 might work around this from a yum standpoint (as far
 as downloading the updates), but if RPM is complaining this is beyond
 the control of yum.  As someone else mentioned, taking a look at your
 ~/.rpmmacros file would be interesting.

It was empty.

 Also, could you post the output of:
 
   rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' kernel

kernel-2.6.18-8.el5.i686
kernel-2.6.18-8.1.14.el5.i686
kernel-2.6.18-53.1.13.el5.i686

The last kernel was installed manually using --ignorearch.

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Mon, 2008-02-25 at 13:19 -0800, John R Pierce wrote:
 Peter Kjellstrom wrote:
  On Monday 25 February 2008, Ross S. W. Walker wrote:

  Lets get this fixed so we can kill this thread.
  
 
  Good initiative, but since the layer beneath also fails (rpm) maybe we 
  should 
  start there. rpm -qi kernel or maybe bad stuff in /etc/sysconfig kernel.
 
  The interesting error from RPM suggests that it thinks the machine is an 
  i586 
  (or atleast not i686).

 
 
 indeed, lets add
 
 $ cat /proc/cpuinfo

processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 5
model name  : Pentium II (Deschutes)
stepping: 1
cpu MHz : 398.296
cache size  : 512 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 mtrr pge mca cmov
pat pse36 mmx fxsr up
bogomips: 797.12

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Ross S. W. Walker
Bob Taylor wrote:
 On Mon, 2008-02-25 at 12:10 -0800, Ray Van Dolson wrote:
 
 [snip]
 
  Well, exactarch=0 might work around this from a yum 
 standpoint (as far
  as downloading the updates), but if RPM is complaining this 
 is beyond
  the control of yum.  As someone else mentioned, taking a 
 look at your
  ~/.rpmmacros file would be interesting.
 
 It was empty.
 
  Also, could you post the output of:
  
rpm -q --queryformat 
 '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' kernel
 
 kernel-2.6.18-8.el5.i686
 kernel-2.6.18-8.1.14.el5.i686
 kernel-2.6.18-53.1.13.el5.i686
 
 The last kernel was installed manually using --ignorearch.

Bob,

What's the output of,

# rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' rpm

The contents of,

# cat /etc/rpm/platform

And the output of,

# rpm --eval '%_arch'

Also, did you re-install rpm by forcing an upgrade in place of rpm with,

# rpm -Uvh --force rpm-4.4.2-47.el5.i386.rpm

Just some more things to try,

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Mon, 2008-02-25 at 16:34 -0500, Ross S. W. Walker wrote:
 Bob Taylor wrote:
  
  On Mon, 2008-02-25 at 12:41 -0500, Ross S. W. Walker wrote:
  
  [snip]
  
   Bob,
   
   Lets get this fixed so we can kill this thread.
  
  I agree totally! The problem is with rpm. It refuses to install a non
  i386 rpm. I have verified this by downloading the latest kernel rpm. I
 
 If rpm is broken, why not try to upgrade rpm on top of itself?
 
 rpm -Uvh --force rpm-4.4.2-47.el5.rpm
 
 You will need to manually download the rpm package again.
 
  had to use --ignorearch flag to get rpm to install it. Now how do I get
  this flag to yum? I have exactarch=0 in /etc/yum.conf which I presumed
  was to fix this. It does not work. I have tried to pass this flag
  via /root/.rpmmacros with no help. So, why do only myself apparently
  have this problem? One other item. I made *no* changes to any yum files
  after installation except the addition of (maybe) rpmforge. One kernel
  was updated around this time. My guess is the problem started around the
  update to 5.1. Anybody have any input as to why at least one person does
  not have this problem? What could he have that is different from me
  regarding yum and rpm? Reading this I apologize for the ramble.
 
 
 Bob,
 
 I wouldn't muck with any more options, try to undo the changes you
 have made.

Didn't make any except possibly rpmforge.repo.

 I didn't see what the rpm error was you got when you tried to
 install it, did you post it to the thread?
 
 You said you re-installed yum, how did you remove yum?

yum remove yum
Installed yum from my installation CD, ran yum update yum with no
change.

 If you did a rpm -e yum, then the yum plugins may have still been left
 behind. Here is the list you provided earlier:

None.

[snip]

 The yum plugin that catches my attention is 'yum-versionlock'

enabled=0

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Mon, 2008-02-25 at 21:22 +0100, Peter Kjellstrom wrote:
 On Monday 25 February 2008, Ross S. W. Walker wrote:
  Lets get this fixed so we can kill this thread.
 
 Good initiative, but since the layer beneath also fails (rpm) maybe we should 
 start there. rpm -qi kernel or maybe bad stuff in /etc/sysconfig kernel.

Where I am confused is the original kernel and ONE update is in
the /var/log/yum.log then nada.

I seem to recall a discussion many months ago regarding an i686 kernel
being installed from an i386 directory. If you look at
http://isodirect.centos.org/centos/5/updates you will not see an i686
directory, just i386 and ia-64. All rpms in the i386 directory are i386
except the kernels and very few others.

/etc/sysconfig/kernel:
# UPDATEDEFAULT specifies if new-kernel-pkg should make
# new kernels the default
UPDATEDEFAULT=yes

# DEFAULTKERNEL specifies the default kernel package type
DEFAULTKERNEL=kernel

 The interesting error from RPM suggests that it thinks the machine is an i586 
 (or atleast not i686).

uname -imp:

i686 i686 i386

Don't know why the kernel says it's an i386. Kernel bug? Gateway
purchase?

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Mon, 2008-02-25 at 23:44 -0500, Ross S. W. Walker wrote:
 Bob Taylor wrote:
  On Mon, 2008-02-25 at 12:10 -0800, Ray Van Dolson wrote:
  
  [snip]
  
   Well, exactarch=0 might work around this from a yum 
  standpoint (as far
   as downloading the updates), but if RPM is complaining this 
  is beyond
   the control of yum.  As someone else mentioned, taking a 
  look at your
   ~/.rpmmacros file would be interesting.
  
  It was empty.
  
   Also, could you post the output of:
   
 rpm -q --queryformat 
  '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' kernel
  
  kernel-2.6.18-8.el5.i686
  kernel-2.6.18-8.1.14.el5.i686
  kernel-2.6.18-53.1.13.el5.i686
  
  The last kernel was installed manually using --ignorearch.
 
 Bob,
 
 What's the output of,
 
 # rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' rpm

rpm-4.4.2-47.el5.i386

 The contents of,
 
 # cat /etc/rpm/platform

i386-redhat-linux

 And the output of,
 
 # rpm --eval '%_arch'

i386

 Also, did you re-install rpm by forcing an upgrade in place of rpm with,

I ran yum remove yum. I did not remove rpm nor did an rpm --force.

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Ross S. W. Walker
Bob Taylor wrote:
 On Mon, 2008-02-25 at 21:22 +0100, Peter Kjellstrom wrote:
  On Monday 25 February 2008, Ross S. W. Walker wrote:
   Lets get this fixed so we can kill this thread.
  
  Good initiative, but since the layer beneath also fails 
 (rpm) maybe we should 
  start there. rpm -qi kernel or maybe bad stuff in 
 /etc/sysconfig kernel.
 
 Where I am confused is the original kernel and ONE update is in
 the /var/log/yum.log then nada.
 
 I seem to recall a discussion many months ago regarding an i686 kernel
 being installed from an i386 directory. If you look at
 http://isodirect.centos.org/centos/5/updates you will not see an i686
 directory, just i386 and ia-64. All rpms in the i386 
 directory are i386
 except the kernels and very few others.
 
 /etc/sysconfig/kernel:
 # UPDATEDEFAULT specifies if new-kernel-pkg should make
 # new kernels the default
 UPDATEDEFAULT=yes
 
 # DEFAULTKERNEL specifies the default kernel package type
 DEFAULTKERNEL=kernel
 
  The interesting error from RPM suggests that it thinks the 
 machine is an i586 
  (or atleast not i686).
 
 uname -imp:
 
 i686 i686 i386
 
 Don't know why the kernel says it's an i386. Kernel bug? Gateway
 purchase?

i386 is the architecture, in there you have processor flavors
which can be i386 (generic), i486, i586 and i686 tuned. C5 only
carries the generic i386 (default compile options) and the i686
tuned binaries, i586 tuned binaries are no longer being supported
after C4.

Currently C5 only supports i386 and x86_64 architectures. They
are working on ia64 and ppc, maybe sparc too.

The uname output is valid for your install, the question now is
why rpm refuses to install valid architecture binaries on your
system.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Ross S. W. Walker
Bob Taylor wrote:
 On Mon, 2008-02-25 at 23:44 -0500, Ross S. W. Walker wrote:
  Bob Taylor wrote:
   On Mon, 2008-02-25 at 12:10 -0800, Ray Van Dolson wrote:
   
   [snip]
   
Well, exactarch=0 might work around this from a yum 
   standpoint (as far
as downloading the updates), but if RPM is complaining this 
   is beyond
the control of yum.  As someone else mentioned, taking a 
   look at your
~/.rpmmacros file would be interesting.
   
   It was empty.
   
Also, could you post the output of:

  rpm -q --queryformat 
   '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' kernel
   
   kernel-2.6.18-8.el5.i686
   kernel-2.6.18-8.1.14.el5.i686
   kernel-2.6.18-53.1.13.el5.i686
   
   The last kernel was installed manually using --ignorearch.
  
  Bob,
  
  What's the output of,
  
  # rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' rpm
 
 rpm-4.4.2-47.el5.i386

Good

  The contents of,
  
  # cat /etc/rpm/platform
 
 i386-redhat-linux

Good

  And the output of,
  
  # rpm --eval '%_arch'
 
 i386

Good

  Also, did you re-install rpm by forcing an upgrade in place 
 of rpm with,
 
 I ran yum remove yum. I did not remove rpm nor did an rpm --force.

Don't remove rpm, just run an 'rpm -Uvh --force rpm-4.4.2-47.el5.i386.rpm'
this should replace any configs/macros that might have been damaged.

Outside of that, I dunno, I would probably do an rpm audit for all
packages that have changed files and re-install those packages on top
of themselves, making sure to move all the '*.rpmnew' on top of the
existing files. Then verify your Internet connection works properly
with yum (are you behind a proxy server?), and see what that does.


-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread Garrick Staples
On Tue, Feb 26, 2008 at 12:25:32AM -0500, Ross S. W. Walker alleged:
 Bob Taylor wrote:
  On Mon, 2008-02-25 at 23:44 -0500, Ross S. W. Walker wrote:
   The contents of,
   
   # cat /etc/rpm/platform
  
  i386-redhat-linux
 
 Good

Isn't that the problem?  All of my machines say i686, athlon, ia32e, x86_64,
etc.  None of them say i386.

-- 
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


pgp2Q26GX1Byn.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Ross S. W. Walker
Garrick Staples wrote:
 On Tue, Feb 26, 2008 at 12:25:32AM -0500, Ross S. W. Walker alleged:
  Bob Taylor wrote:
   On Mon, 2008-02-25 at 23:44 -0500, Ross S. W. Walker wrote:
The contents of,

# cat /etc/rpm/platform
   
   i386-redhat-linux
  
  Good
 
 Isn't that the problem?  All of my machines say i686, athlon, 
 ia32e, x86_64,
 etc.  None of them say i386.

Ooops, I saw i686 when I looked the first time, yes, this should
be i686-redhat-linux. Good catch.

Bob, can you try manually changing this to say i686-redhat-linux,
I believe this is auto-generated at boot so it isn't a permanent
fix, but lets see if it updates after this by booting into the
older kernel (may need to manually change this file again),
removing the newer kernel and then try a 'yum update'.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread John R Pierce

Garrick Staples wrote:

On Tue, Feb 26, 2008 at 12:25:32AM -0500, Ross S. W. Walker alleged:
  

Bob Taylor wrote:


On Mon, 2008-02-25 at 23:44 -0500, Ross S. W. Walker wrote:
  

The contents of,

# cat /etc/rpm/platform


i386-redhat-linux
  

Good



Isn't that the problem?  All of my machines say i686, athlon, ia32e, x86_64,
etc.  None of them say i386.

  


yeah.

# cat /etc/rpm/platform
i686-redhat-linux

# cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 8
model name  : Pentium III (Coppermine)
stepping: 6
cpu MHz : 807.984
...

(oldest thing I've put C5 on)




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Tue, 2008-02-26 at 00:43 -0500, Ross S. W. Walker wrote:
 Garrick Staples wrote:
  On Tue, Feb 26, 2008 at 12:25:32AM -0500, Ross S. W. Walker alleged:
   Bob Taylor wrote:
On Mon, 2008-02-25 at 23:44 -0500, Ross S. W. Walker wrote:
 The contents of,
 
 # cat /etc/rpm/platform

i386-redhat-linux
   
   Good
  
  Isn't that the problem?  All of my machines say i686, athlon, 
  ia32e, x86_64,
  etc.  None of them say i386.
 
 Ooops, I saw i686 when I looked the first time, yes, this should
 be i686-redhat-linux. Good catch.
 
 Bob, can you try manually changing this to say i686-redhat-linux,
 I believe this is auto-generated at boot so it isn't a permanent
 fix, but lets see if it updates after this by booting into the
 older kernel (may need to manually change this file again),
 removing the newer kernel and then try a 'yum update'.

Will try this tomorrow. rpm won't let me remove the kernel it installed.
-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Tue, 2008-02-26 at 00:19 -0500, Ross S. W. Walker wrote:
 Bob Taylor wrote:

[snip]

  uname -imp:
  
  i686 i686 i386
  
  Don't know why the kernel says it's an i386. Kernel bug? Gateway
  purchase?
 
 i386 is the architecture, in there you have processor flavors
 which can be i386 (generic), i486, i586 and i686 tuned. C5 only
 carries the generic i386 (default compile options) and the i686
 tuned binaries, i586 tuned binaries are no longer being supported
 after C4.

What does this say my cpu is:

vendor_id   : GenuineIntel
cpu family  : 6
model   : 5
model name  : Pentium II (Deschutes)

[snip]

 The uname output is valid for your install, the question now is
 why rpm refuses to install valid architecture binaries on your
 system.

So, my cpu is not an i686?

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Yum not updating kernel

2008-02-25 Thread Bob Taylor
On Tue, 2008-02-26 at 00:25 -0500, Ross S. W. Walker wrote:

[snip]

  Then verify your Internet connection works properly
 with yum (are you behind a proxy server?), and see what that does.

Dunno about proxy server. I'm behind an HughesNet satellite modem. Most
likely that thingy that changes your IP periodically (my database
retrieval program is totally busted!). :-)
-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-25 Thread John R Pierce

Bob Taylor wrote:

On Tue, 2008-02-26 at 00:19 -0500, Ross S. W. Walker wrote:
  

Bob Taylor wrote:



[snip]

  

uname -imp:

i686 i686 i386

Don't know why the kernel says it's an i386. Kernel bug? Gateway
purchase?
  

i386 is the architecture, in there you have processor flavors
which can be i386 (generic), i486, i586 and i686 tuned. C5 only
carries the generic i386 (default compile options) and the i686
tuned binaries, i586 tuned binaries are no longer being supported
after C4.



What does this say my cpu is:

vendor_id   : GenuineIntel
cpu family  : 6
model   : 5
model name  : Pentium II (Deschutes)

[snip]

  

The uname output is valid for your install, the question now is
why rpm refuses to install valid architecture binaries on your
system.



So, my cpu is not an i686?
  


a P-II should be.  i686 is everything from the Pentium Pro onwards, 
including P-II, P-III, P4, core, and the various clones.  it does NOT 
include the original Pentiums (p5 and p54) or 'pentium w/ MMX', those 
are i586.





___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-24 Thread Bob Taylor
On Sat, 2008-02-23 at 10:54 -0800, Ray Van Dolson wrote:
   * Remove ALL plugins
   * Disable ALL third party repo's.
   * Do a yum clean all
   * Revert to the default CentOS .repo files
   * Revert to default yum.conf file
 
 If it works in this configuration, you can start adding things back one
 at a time.

I reached the same conclusion Saturday myself. I yum remove yum and
reinstalled yum  pirut from my installation CD. The yum refused to
update the kernel. I gave up on yum and downloaded the current kernel
rpm. I rpm -i kernel* and received the following error message from rpm:

package kernel-2.6.18-53.1.13.el5 is intended for a i686 architecture

There is my problem! uname -ipm results in i686 i686 i386. It looks like
yum is looking at uname -i.

 Maybe you've already tried this, I don't know.  It's been a long
 thread. :)

I agree. Waaay to long. Now what do the experts have to say about this?
All packages *except* the kernel files are i386. I want to end this,
please?

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-24 Thread Ray Van Dolson
 I reached the same conclusion Saturday myself. I yum remove yum and
 reinstalled yum  pirut from my installation CD. The yum refused to
 update the kernel. I gave up on yum and downloaded the current kernel
 rpm. I rpm -i kernel* and received the following error message from rpm:
 
 package kernel-2.6.18-53.1.13.el5 is intended for a i686 architecture
 
 There is my problem! uname -ipm results in i686 i686 i386. It looks like
 yum is looking at uname -i.

Mine reports the same as yours and I have no problem updating kernels.

 
  Maybe you've already tried this, I don't know.  It's been a long
  thread. :)
 
 I agree. Waaay to long. Now what do the experts have to say about this?
 All packages *except* the kernel files are i386. I want to end this,
 please?

Something is missing.  It's probably something very simple.  I still
think you should let someone log in as root into your box and figure it
out for you. :)

Ray
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-24 Thread Peter Kjellstrom
On Monday 25 February 2008, Ray Van Dolson wrote:
  I reached the same conclusion Saturday myself. I yum remove yum and
  reinstalled yum  pirut from my installation CD. The yum refused to
  update the kernel. I gave up on yum and downloaded the current kernel
  rpm. I rpm -i kernel* and received the following error message from rpm:
 
  package kernel-2.6.18-53.1.13.el5 is intended for a i686 architecture

This is a very good clue, even rpm dislikes the concept of upgrading 
(installing) your kernel. :-). Was this an error message (package was not 
installed) or a warning (package was installed), check with rpm -q kernel.

...

  I agree. Waaay to long. Now what do the experts have to say about this?
  All packages *except* the kernel files are i386. I want to end this,
  please?

 Something is missing.  It's probably something very simple.  I still
 think you should let someone log in as root into your box and figure it
 out for you. :)

That was the dumbest piece of advice so far.

/Peter


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-23 Thread Johnny Hughes

Bob Taylor wrote:

On Fri, 2008-02-22 at 19:56 -0500, William L. Maltby wrote:

On Fri, 2008-02-22 at 15:37 -0800, Bob Taylor wrote:

On Fri, 2008-02-22 at 14:41 -0800, Akemi Yagi wrote:

On Fri, Feb 22, 2008 at 1:02 PM, Bob Taylor [EMAIL PROTECTED] wrote:

snip

snip


[snip]


Priority *and* protect? Supposed to be a no-no.

Worse, it's on the updates too. I would carefully examine all your repo
defs and have *either* protect or priority, but not both. Also make sure
the settings are appropriate sionce you've add some other repos.


Thanks for your response, Bill. I added the protect lines attempting to
locate this problem. I've removed all protect lines.


I've been using Rpmforge for a long time, NP. But at the time I
established priorities, I disabled all protect settings.

And there are a couple exclude and include setups for a few special
instances.


Mind telling me what these are?



protect=N is part of the protectbase plugin.  You do not want to 
install the protectbase and priorities plugins on the same machine.


Looking at your output of yum-\* you do not seem to have yum-protectbase 
installed, so the settings by themselves should not matter.








signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-23 Thread Johnny Hughes

Bob Taylor wrote:

On Fri, 2008-02-22 at 18:25 -0700, Shad L. Lords wrote:

I misspoke. Yum installed kernel-2.6.18-8.1.14 October 13, 2007
according to yum.log. So, yum appears to have worked *once* updating the
kernel. Looking in CentOS vault, I saw .15 which gives me a time frame
for what it's worth. All I did was add rpmforge. I have removed it with
no help. I will post any file related to this mystery when requested.

What does the following command produce on your system?

yum --noplugins --disable '*' --enable updates list 'kernel*'



yum --noplugins --disable '*' --enable updates list 'kernel*'
Setting up repositories
updates   100% |=|  951 B
00:00 
Reading repository metadata in from local files

Installed Packages
kernel.i686  2.6.18-8.1.14.el5
installed   
kernel.i686  2.6.18-8.el5
installed   
kernel-headers.i386  2.6.18-53.1.13.el5.cen
installed   
Available Packages

kernel-doc.noarch2.6.18-53.1.13.el5
updates 
kernel-headers.i386  2.6.18-53.1.13.el5
updates 


based on this output ... somehow your kernel is excluded in update set, 
even though it sees kernel-doc.noarch and kernel-headers.i386.


This leads me to believe that there is a exclude=kernel somewhere in a 
config file:


please check /etc/yum.conf again



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-23 Thread William L. Maltby
On Fri, 2008-02-22 at 23:45 -0800, Bob Taylor wrote:
 On Fri, 2008-02-22 at 19:56 -0500, William L. Maltby wrote:
  On Fri, 2008-02-22 at 15:37 -0800, Bob Taylor wrote:
   On Fri, 2008-02-22 at 14:41 -0800, Akemi Yagi wrote:
On Fri, Feb 22, 2008 at 1:02 PM, Bob Taylor [EMAIL PROTECTED] wrote:
snip
   snip
 
 [snip]
 
  Priority *and* protect? Supposed to be a no-no.
  
  Worse, it's on the updates too. I would carefully examine all your repo
  defs and have *either* protect or priority, but not both. Also make sure
  the settings are appropriate sionce you've add some other repos.
 
 Thanks for your response, Bill. I added the protect lines attempting to
 locate this problem. I've removed all protect lines.
 
  I've been using Rpmforge for a long time, NP. But at the time I
  established priorities, I disabled all protect settings.
  
  And there are a couple exclude and include setups for a few special
  instances.
 
 Mind telling me what these are?

S/B nothing of interest, but here's a condensed version.

== Useless/uninteresting lines snipped =
[rpmforge] name = Red Hat Enterprise $releasever - RPMforge.net - dag
mirrorlist = http://apt.sw.be/redhat/el4/en/mirrors-rpmforge
enabled = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
# NEXT LINE WRAPPED - CAREFUL
protect=0 priority=10 includepkgs=bittorrent.noarch, bittorrent-
gui.noarch, python-khashmir.noarch, python-crypto.i386 rtorrent,
libtorrent.i386, libtorrent-devel.i386, libsigc*, mplayer.i386, mplayer-
docs.i386, mplayer-fonts.noarch, mplayerplug-in.i386, aalib.i386,
faac.i386, lame.i386, libXvMCW.i386, libdvdnav.i386, libmad.i386,
libmpcdec.i386, lirc.i386, lzo.i386, openal.i386, x264.i386,
xvidcore.i386, libmp4v2.i386 gkrellm.i386 # mplayer-skins.noarch,
==

Some of the above may not be appropriate any more - I've not looked in
awhile.

 

-- 
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-23 Thread Bob Taylor
On Sat, 2008-02-23 at 03:47 -0600, Johnny Hughes wrote:
 Bob Taylor wrote:

[snip]

 based on this output ... somehow your kernel is excluded in update set, 
 even though it sees kernel-doc.noarch and kernel-headers.i386.
 
 This leads me to believe that there is a exclude=kernel somewhere in a 
 config file:

I just read man yum.conf again and I see this:

installonlypkgs
List  of  packages  that  should  only  ever be installed, never
updated. Kernels in particular fall into this category. Defaults to
‘kernel, kernel-smp, kernel-bigmem, kernel-enterprise, kernel-debug,
kernel-unsupported’.

What I missed is never updated. If this is my problem, how do I fix
it?

 please check /etc/yum.conf again

No exclude in any config file.

Thanks again!
-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-23 Thread Ray Van Dolson
 installonlypkgs
 List  of  packages  that  should  only  ever be installed, never
 updated. Kernels in particular fall into this category. Defaults to
 ‘kernel, kernel-smp, kernel-bigmem, kernel-enterprise, kernel-debug,
 kernel-unsupported’.
 
 What I missed is never updated. If this is my problem, how do I fix
 it?

This just means that the newer kernels will be installed instead of
replacing the old kernels packages.  It doesn't mean that newer kernels
will not be installed at all.

Sheesh, I thought you got your update issues sorted out a long time
ago. :)  Just give someone from this list root on your box already so we
can see this for ourselves. :)

Ray
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-23 Thread Akemi Yagi
On Sat, Feb 23, 2008 at 10:24 AM, Ray Van Dolson [EMAIL PROTECTED] wrote:
  installonlypkgs
   List  of  packages  that  should  only  ever be installed, never
   updated. Kernels in particular fall into this category. Defaults to
   'kernel, kernel-smp, kernel-bigmem, kernel-enterprise, kernel-debug,
   kernel-unsupported'.
  
   What I missed is never updated. If this is my problem, how do I fix
   it?

  This just means that the newer kernels will be installed instead of
  replacing the old kernels packages.  It doesn't mean that newer kernels
  will not be installed at all.

  Sheesh, I thought you got your update issues sorted out a long time
  ago. :)  Just give someone from this list root on your box already so we
  can see this for ourselves. :)

Yes, that seems to be the best solution at this point.  You can
definitely trust Johnny Hughes if you ask who that someone should be.

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-23 Thread Bob Taylor
On Sat, 2008-02-23 at 06:25 -0500, William L. Maltby wrote:
 On Fri, 2008-02-22 at 23:45 -0800, Bob Taylor wrote:

[snip]

 == Useless/uninteresting lines snipped =
 [rpmforge] name = Red Hat Enterprise $releasever - RPMforge.net - dag
 mirrorlist = http://apt.sw.be/redhat/el4/en/mirrors-rpmforge
 enabled = 1
 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
 gpgcheck = 1
 # NEXT LINE WRAPPED - CAREFUL
 protect=0 priority=10 includepkgs=bittorrent.noarch, bittorrent-
 gui.noarch, python-khashmir.noarch, python-crypto.i386 rtorrent,
 libtorrent.i386, libtorrent-devel.i386, libsigc*, mplayer.i386, mplayer-
 docs.i386, mplayer-fonts.noarch, mplayerplug-in.i386, aalib.i386,
 faac.i386, lame.i386, libXvMCW.i386, libdvdnav.i386, libmad.i386,
 libmpcdec.i386, lirc.i386, lzo.i386, openal.i386, x264.i386,
 xvidcore.i386, libmp4v2.i386 gkrellm.i386 # mplayer-skins.noarch,
 ==
 
 Some of the above may not be appropriate any more - I've not looked in
 awhile.

Someone just said *not* to use protect and priority together.

Red Hat has a propensity to remove any documentation on a package that
does not have a man page. Sometimes it's included in /usr/share/doc and
sometimes in /usr/lib and sometimes it's just not there. There is,
hopefully *some* documentation on plugins other than how to write one. I
would like to know *what* plugins actually *do*.

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-23 Thread Ray Van Dolson
 Someone just said *not* to use protect and priority together.
 
 Red Hat has a propensity to remove any documentation on a package that
 does not have a man page. Sometimes it's included in /usr/share/doc and
 sometimes in /usr/lib and sometimes it's just not there. There is,
 hopefully *some* documentation on plugins other than how to write one. I
 would like to know *what* plugins actually *do*.

At this point I don't think it even matters.  You need to just get back
to the simplest configuration possible.  That means:

  * Remove ALL plugins
  * Disable ALL third party repo's.
  * Do a yum clean all
  * Revert to the default CentOS .repo files
  * Revert to default yum.conf file

If it works in this configuration, you can start adding things back one
at a time.

Maybe you've already tried this, I don't know.  It's been a long
thread. :)

Ray
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-23 Thread Akemi Yagi
On Sat, Feb 23, 2008 at 10:51 AM, Bob Taylor [EMAIL PROTECTED] wrote:

  Someone just said *not* to use protect and priority together.

  Red Hat has a propensity to remove any documentation on a package that
  does not have a man page. Sometimes it's included in /usr/share/doc and
  sometimes in /usr/lib and sometimes it's just not there. There is,
  hopefully *some* documentation on plugins other than how to write one. I
  would like to know *what* plugins actually *do*.

You can count on the CentOS wiki:

http://wiki.centos.org/PackageManagement/Yum

and follow the links in there to learn all about yum plugins.

Akemi

  --
  Bob Taylor
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-23 Thread William L. Maltby
On Sat, 2008-02-23 at 10:51 -0800, Bob Taylor wrote:
 On Sat, 2008-02-23 at 06:25 -0500, William L. Maltby wrote:
  On Fri, 2008-02-22 at 23:45 -0800, Bob Taylor wrote:
 
 [snip]
 
  snip

 Someone just said *not* to use protect and priority together.

Me. But I'm no authority on it. Just passing what Johnny et al has said
several times in the past.

 
 Red Hat has a propensity to remove any documentation on a package that
 does not have a man page. Sometimes it's included in /usr/share/doc and
 sometimes in /usr/lib and sometimes it's just not there. There is,
 hopefully *some* documentation on plugins other than how to write one. I
 would like to know *what* plugins actually *do*.
 

Well Google? But you must be, like me, lazy. So here's your sign. ;-)

http://www.duke.edu/search/?q=yum+package+manager

Enjoy.

-- 
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-22 Thread Bob Taylor
It seems everybody is out of ideas why yum is not updating the kernel.
The following kernels are installed in /boot:

vmlinuz-2.6.18-8.1.14.el5
vmlinuz-2.6.18-8.el5

I originally installed CentOS 5.0 via CD. Yum automatically updated to
5.1 including kernel-2.6.18-8.1.14.el5.

I have traced the kernels from kernel-2.6.18-8.el5 to
kernel-2.6.18-8.1.14.el5. Yum stopped updating at this point.
kernel-2.6.18-8.1.14.el5 was installed Oct 10, 2007 according to
yum.log. It seems I installed rpmforge.repo around October 13, 2007. The
installation included two files. rpmforge.repo and mirrors-rpmforge. The
contents of rpmforge.repo is:

# Name: RPMforge RPM Repository for Red Hat Enterprise 5 - dag
# URL: http://rpmforge.net/
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
#baseurl = http://apt.sw.be/redhat/el5/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
priority = 99
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

Other than the priority is not needed, does any of the previous ring a
bell? Still frustrated.

I received the following this morning:

/etc/cron.daily/yum.cron:

Error: Cannot find a valid baseurl for repo: base
Could not retrieve mirrorlist
http://mirrorlist.centos.org/?release=5arch=i386repo=os error was
[Errno 14] HTTP Error 505: DNS lookup error
Could not retrieve mirrorlist
http://mirrorlist.centos.org/?release=5arch=i386repo=os error was
[Errno 14] HTTP Error 506: Failure To Connect To Web Server

Has CentOS.org changed their url?

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-22 Thread Akemi Yagi
On Fri, Feb 22, 2008 at 1:02 PM, Bob Taylor [EMAIL PROTECTED] wrote:
 It seems everybody is out of ideas why yum is not updating the kernel.
  The following kernels are installed in /boot:

  vmlinuz-2.6.18-8.1.14.el5
  vmlinuz-2.6.18-8.el5

  I originally installed CentOS 5.0 via CD. Yum automatically updated to
  5.1 including kernel-2.6.18-8.1.14.el5.

The kernel that came with CentOS 5.1 was kernel-2.6.18-53.  Could you post your:

/etc/yum.repos.d/CentOS-Base.repo

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-22 Thread Bob Taylor
On Fri, 2008-02-22 at 14:41 -0800, Akemi Yagi wrote:
 On Fri, Feb 22, 2008 at 1:02 PM, Bob Taylor [EMAIL PROTECTED] wrote:
  It seems everybody is out of ideas why yum is not updating the kernel.
   The following kernels are installed in /boot:
 
   vmlinuz-2.6.18-8.1.14.el5
   vmlinuz-2.6.18-8.el5
 
   I originally installed CentOS 5.0 via CD. Yum automatically updated to
   5.1 including kernel-2.6.18-8.1.14.el5.
 
 The kernel that came with CentOS 5.1 was kernel-2.6.18-53.  Could you post 
 your:
 
 /etc/yum.repos.d/CentOS-Base.repo

I misspoke. Yum installed kernel-2.6.18-8.1.14 October 13, 2007
according to yum.log. So, yum appears to have worked *once* updating the
kernel. Looking in CentOS vault, I saw .15 which gives me a time frame
for what it's worth. All I did was add rpmforge. I have removed it with
no help. I will post any file related to this mystery when requested.
Time wise, I have spent at least 4 days attempting to locate this
failure. Here is the file you requested:

# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for
CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS
updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try
the 
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=
$basearchrepo
=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
priority=1
protect=1

#released updates 
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=
$basearchrepo
=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
priority=1
protect=1

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=
$basearchrepo
=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
priority=1
protect=0
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=
$basearchrepo
=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
priority=1
protect=0

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=
$basearchrepo
=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
priority=2
protect=0

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-22 Thread William L. Maltby
On Fri, 2008-02-22 at 15:37 -0800, Bob Taylor wrote:
 On Fri, 2008-02-22 at 14:41 -0800, Akemi Yagi wrote:
  On Fri, Feb 22, 2008 at 1:02 PM, Bob Taylor [EMAIL PROTECTED] wrote:
  snip
 snip

 
 # CentOS-Base.repo
 #
 # This file uses a new mirrorlist system developed by Lance Davis for
 CentOS.
 # The mirror system uses the connecting IP address of the client and the
 # update status of each mirror to pick mirrors that are updated to and
 # geographically close to the client.  You should use this for CentOS
 updates
 # unless you are manually picking other mirrors.
 #
 # If the mirrorlist= does not work for you, as a fall back you can try
 the 
 # remarked out baseurl= line instead.
 #
 #
 
 [base]
 name=CentOS-$releasever - Base
 mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=
 $basearchrepo
 =os
 #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
 gpgcheck=1
 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
 priority=1
 protect=1

Priority *and* protect? Supposed to be a no-no.

Worse, it's on the updates too. I would carefully examine all your repo
defs and have *either* protect or priority, but not both. Also make sure
the settings are appropriate sionce you've add some other repos.

I've been using Rpmforge for a long time, NP. But at the time I
established priorities, I disabled all protect settings.

And there are a couple exclude and include setups for a few special
instances.

 #released updates 
 [updates]
 name=CentOS-$releasever - Updates
 mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=
 $basearchrepo
 =updates
 #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
 gpgcheck=1
 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
 priority=1
 protect=1

Conflict?

 snip

HTH
-- 
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-22 Thread Shad L. Lords

I misspoke. Yum installed kernel-2.6.18-8.1.14 October 13, 2007
according to yum.log. So, yum appears to have worked *once* updating the
kernel. Looking in CentOS vault, I saw .15 which gives me a time frame
for what it's worth. All I did was add rpmforge. I have removed it with
no help. I will post any file related to this mystery when requested.


What does the following command produce on your system?

yum --noplugins --disable '*' --enable updates list 'kernel*'

-Shad
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-22 Thread Bob Taylor
On Fri, 2008-02-22 at 18:25 -0700, Shad L. Lords wrote:
  I misspoke. Yum installed kernel-2.6.18-8.1.14 October 13, 2007
  according to yum.log. So, yum appears to have worked *once* updating the
  kernel. Looking in CentOS vault, I saw .15 which gives me a time frame
  for what it's worth. All I did was add rpmforge. I have removed it with
  no help. I will post any file related to this mystery when requested.
 
 What does the following command produce on your system?
 
 yum --noplugins --disable '*' --enable updates list 'kernel*'


yum --noplugins --disable '*' --enable updates list 'kernel*'
Setting up repositories
updates   100% |=|  951 B
00:00 
Reading repository metadata in from local files
Installed Packages
kernel.i686  2.6.18-8.1.14.el5
installed   
kernel.i686  2.6.18-8.el5
installed   
kernel-headers.i386  2.6.18-53.1.13.el5.cen
installed   
Available Packages
kernel-doc.noarch2.6.18-53.1.13.el5
updates 
kernel-headers.i386  2.6.18-53.1.13.el5
updates 

Doesn't look like the problem is in plug-ins but maybe updates?

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-22 Thread Bob Taylor
On Fri, 2008-02-22 at 19:56 -0500, William L. Maltby wrote:
 On Fri, 2008-02-22 at 15:37 -0800, Bob Taylor wrote:
  On Fri, 2008-02-22 at 14:41 -0800, Akemi Yagi wrote:
   On Fri, Feb 22, 2008 at 1:02 PM, Bob Taylor [EMAIL PROTECTED] wrote:
   snip
  snip

[snip]

 Priority *and* protect? Supposed to be a no-no.
 
 Worse, it's on the updates too. I would carefully examine all your repo
 defs and have *either* protect or priority, but not both. Also make sure
 the settings are appropriate sionce you've add some other repos.

Thanks for your response, Bill. I added the protect lines attempting to
locate this problem. I've removed all protect lines.

 I've been using Rpmforge for a long time, NP. But at the time I
 established priorities, I disabled all protect settings.
 
 And there are a couple exclude and include setups for a few special
 instances.

Mind telling me what these are?

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-20 Thread Akemi Yagi
On Tue, Feb 19, 2008 at 10:06 PM, Bob Taylor [EMAIL PROTECTED] wrote:

 On Tue, 2008-02-19 at 14:27 -0800, Akemi Yagi wrote:
   On Feb 19, 2008 1:58 PM, Johnny Hughes [EMAIL PROTECTED] wrote:
   
Please look at the file /var/cache/yum/timedhosts.txt and see the
first server from that list.  If it is not a belnet.be mirror, please
tell me which one it is, as it may be out of date.
  
   According to Bob's earlier post, he does not seem to have the
   fastestmirror plugin.  So he probably does not have that file...
  
   Bob, do a 'yum install yum-fastestmirror' and try again.

  Did so. No help. FYI no timedhosts.txt in the rpm. I still think the
  problem lies in yum's message Could not find update match for kernel.

timedhosts.txt is NOT in the rpm.  It is created when you run yum and
contains the names of the mirror sites yum tried to access.  Johnny
wanted to know which site yum attempted to use.  If you do not see
this file even after yum was run, then something is amiss there.

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-20 Thread Bob Taylor
On Wed, 2008-02-20 at 02:22 -0800, Akemi Yagi wrote:
 On Tue, Feb 19, 2008 at 10:06 PM, Bob Taylor [EMAIL PROTECTED] wrote:
 
  On Tue, 2008-02-19 at 14:27 -0800, Akemi Yagi wrote:
On Feb 19, 2008 1:58 PM, Johnny Hughes [EMAIL PROTECTED] wrote:

 Please look at the file /var/cache/yum/timedhosts.txt and see the
 first server from that list.  If it is not a belnet.be mirror, please
 tell me which one it is, as it may be out of date.
   
According to Bob's earlier post, he does not seem to have the
fastestmirror plugin.  So he probably does not have that file...
   
Bob, do a 'yum install yum-fastestmirror' and try again.
 
   Did so. No help. FYI no timedhosts.txt in the rpm. I still think the
   problem lies in yum's message Could not find update match for kernel.
 
 timedhosts.txt is NOT in the rpm.  It is created when you run yum and
 contains the names of the mirror sites yum tried to access.  Johnny
 wanted to know which site yum attempted to use.  If you do not see
 this file even after yum was run, then something is amiss there.

My bad! It's there. I was looking in the wrong directory and didn't
notice until later. The file currently contains:

mirror.centos.org 1.90688800812

Shouldn't yum update kernel update all kernel rpms installed? Rpm -q
kernel returns all kernel rpm's I have installed (ie kernel-2.6.18-8.el5
kernel-2.6.18-8.1.14.el5)

I tried this (yum update kernel) which reported: Could not find update
match for kernel. How do I find what arch yum is using? This may be a
clue why the kernel only is not being updated. This is what uname -rmpi
returns:

uname -rmpi
2.6.18-8.1.14.el5 i686 i686 i386

 Akemi

Thanks for staying with me, Akemi
-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-20 Thread Bob Taylor
On Tue, 2008-02-19 at 23:14 -0800, John R Pierce wrote:
 Bob Taylor wrote:
  Hm. I just noticed http://mirror.centos.org/centos/5/updates/i386/RPMS/
  kernel listings are i686.rpm. Could my problem be this is confusing yum
  as I use i386 and this is the i386 directory? Doesn't make sense since
  no one else seems to have this. Of course their are most likely few
  running Pentium II's. Searching for answers in the dark.


 um, i686 is pentium pro and beyond, including P-II, P3, P4, and Core, as 
 well as the various Athlons. AFAIK, CentOS 5 doesn't support the 
 older i486/i585 variants

cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 5
model name  : Pentium II (Deschutes)
stepping: 1
cpu MHz : 398.278
cache size  : 512 KB

Sorry, I didn't actually say I have a Pentium II. Just implied I did.
-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-20 Thread Akemi Yagi
On Wed, Feb 20, 2008 at 7:57 AM, Bob Taylor [EMAIL PROTECTED] wrote:

 On Wed, 2008-02-20 at 02:22 -0800, Akemi Yagi wrote:

  My bad! It's there. I was looking in the wrong directory and didn't
  notice until later. The file currently contains:

  mirror.centos.org 1.90688800812

Is this all you have in the timedhosts.txt file?  That's odd.  Maybe
Johnny can help you here.

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-20 Thread Bob Taylor
On Wed, 2008-02-20 at 10:58 -0600, Johnny Hughes wrote:

[snip]

 OK .. lets go at this a different way :)
 
 what is the output of the following comamnd (put it all on one line if 
 it wraps):
 
 rpm -qa yum\* sqlite\* python\* rpm\* centos\* | sort

centos-release-5-1.0.el5.centos.1
centos-release-notes-5.1.0-2
python-2.4.3-19.el5
python-devel-2.4.3-19.el5
python-elementtree-1.2.6-5
python-imaging-1.1.6-2.el5.rf
python-ldap-2.2.0-2.1
python-numeric-23.7-2.2.2
python-sqlite-1.1.7-1.2.1
python-urlgrabber-3.1.0-2
rpm-4.4.2-47.el5
rpm-build-4.4.2-47.el5
rpm-devel-4.4.2-47.el5
rpmforge-release-0.3.6-1.el5.rf
rpm-libs-4.4.2-47.el5
rpm-python-4.4.2-47.el5
sqlite-3.3.6-2
sqlite-devel-3.3.6-2
yum-3.0.5-1.el5.centos.5
yum-cron-0.6-1.el5.centos
yum-downloadonly-1.0.4-3.el5.centos.2
yumex-2.0.3-2.el5.centos
yum-fastestmirror-1.0.4-3.el5.centos.2
yum-metadata-parser-1.0-8.fc6
yum-priorities-1.0.4-3.el5.centos.2
yum-repolist-1.0.4-3.el5.centos.2
yum-skip-broken-1.0.4-3.el5.centos.2
yum-updatesd-3.0.5-1.el5.centos.5
yum-utils-1.0.4-3.el5.centos.2
yum-versionlock-1.0.4-3.el5.centos.2

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-20 Thread Johnny Hughes

Akemi Yagi wrote:

On Wed, Feb 20, 2008 at 7:57 AM, Bob Taylor [EMAIL PROTECTED] wrote:

On Wed, 2008-02-20 at 02:22 -0800, Akemi Yagi wrote:

 My bad! It's there. I was looking in the wrong directory and didn't
 notice until later. The file currently contains:

 mirror.centos.org 1.90688800812


Is this all you have in the timedhosts.txt file?  That's odd.  Maybe
Johnny can help you here.

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos



OK .. lets go at this a different way :)

what is the output of the following comamnd (put it all on one line if 
it wraps):


rpm -qa yum\* sqlite\* python\* rpm\* centos\* | sort






signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-20 Thread Bob Taylor
On Wed, 2008-02-20 at 09:28 -0800, Akemi Yagi wrote:
 On Wed, Feb 20, 2008 at 9:10 AM, Bob Taylor [EMAIL PROTECTED] wrote:
  On Wed, 2008-02-20 at 10:58 -0600, Johnny Hughes wrote:
 
   [snip]
 
OK .. lets go at this a different way :)
   
what is the output of the following comamnd (put it all on one line if
it wraps):
   
rpm -qa yum\* sqlite\* python\* rpm\* centos\* | sort
 
   yum-versionlock-1.0.4-3.el5.centos.2
 
 Any chance you have the kernel listed in
 /etc/yum/pluginconf.d/versionlock.list and versionlock enabled??

versionlock.list is disabled and there is no file versionlock.
-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-19 Thread Johnny Hughes

Akemi Yagi wrote:

On Feb 18, 2008 10:56 PM, Bob Taylor [EMAIL PROTECTED] wrote:

On Mon, 2008-02-18 at 20:24 -0800, Akemi Yagi wrote:

repo id repo name   status
priority
=== =   ==

rpmforgeRed Hat Enterprise 5 - RPMforge.net enabled 99
baseCentOS-5 - Base enabled 99
updates CentOS-5 - Updates  enabled 99
c5-mediaCentOS-5 - Mediadisabled99
centosplus  CentOS-5 - Plus enabled 99
addons  CentOS-5 - Addons   enabled 99
extras  CentOS-5 - Extras   enabled 99

Looks OK to me. What the hell is our problem? All my updates are via
yum. I received 1 updated kernel in September and none since.


In addition to what Ray Van Dolson suggested... you need to set up
priorities according to:

http://wiki.centos.org/PackageManagement/Yum/Priorities



Correct ... however, with updates and base both at 99, this should not 
be a problem.  I see no reason why this will not work.




signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-19 Thread Ed Donahue
OK, that worked for me

yum clean all
yum --disablerepo=\* --enablerepo=updates update

Should this be done on a weekly/monthly basis?  yum clean all

Or are my repos messed up?


repo id repo name   status  priority
=== =   ==  
extras  CentOS-5 - Extras   enabled 1
baseCentOS-5 - Base enabled 1
addons  CentOS-5 - Addons   enabled 1
c5-mediaCentOS-5 - Mediadisabled2
centosplus  CentOS-5 - Plus disabled2
adobe-linux-i38 Adobe Systems Incorporated  enabled 11
kbs-CentOS-Extr CentOS.Karan.Org-EL5 - Stable   enabled 12
rpmforgeRed Hat Enterprise 5 - RPMforge.net enabled 15
updates CentOS-5 - Updates  enabled 99
c5-testing  CentOS-5 Testingdisabled99

I'm guessing updates should be priority 1 instead of 99?

Thank you for the help!!

On Feb 19, 2008 2:02 AM, Ray Van Dolson [EMAIL PROTECTED] wrote:


 Coming in late on this thread, but...

  1. Can you point your repo's at a different URL?
  2. Have you tried a 'yum clean all' first?
  3. Try disabling everything _but_ the update repo, doing yum clean
 and then yum update.

 yum clean all
 yum --disablerepo=\* --enablerepo=updates update

 Ray
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-19 Thread Akemi Yagi
On Feb 18, 2008 10:56 PM, Bob Taylor [EMAIL PROTECTED] wrote:
 On Mon, 2008-02-18 at 20:24 -0800, Akemi Yagi wrote:

 repo id repo name   status
 priority
 === =   ==
 
 rpmforgeRed Hat Enterprise 5 - RPMforge.net enabled 99
 baseCentOS-5 - Base enabled 99
 updates CentOS-5 - Updates  enabled 99
 c5-mediaCentOS-5 - Mediadisabled99
 centosplus  CentOS-5 - Plus enabled 99
 addons  CentOS-5 - Addons   enabled 99
 extras  CentOS-5 - Extras   enabled 99

 Looks OK to me. What the hell is our problem? All my updates are via
 yum. I received 1 updated kernel in September and none since.

In addition to what Ray Van Dolson suggested... you need to set up
priorities according to:

http://wiki.centos.org/PackageManagement/Yum/Priorities

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-19 Thread Michael A. Peters

Ed Donahue wrote:

OK, that worked for me

yum clean all
yum --disablerepo=\* --enablerepo=updates update

Should this be done on a weekly/monthly basis?  yum clean all

Or are my repos messed up?


I run yum clean headers daily.
I disabled the yum update daemon and use the following:

-=-=-=-=-
#!/bin/sh
# /etc/cron.daily/yum.cron

if [ -f /var/lock/subsys/yum ]; then
/usr/bin/yum clean headers
/usr/bin/yum -e 0 -d 0 -y update yum
sleep 300
/usr/bin/yum -e 0 -d 0 -y update
sleep 10
/usr/bin/yum clean headers
fi
-=-=-=-=-

The sleep commands are probably not necessary, but they make me feel 
better. Perhaps just a sync command would be enough, probably not even 
that is needed.


Actually I just remembered - the first sleep is necessary. Since I have 
several machines, I have staggered sleep values so they hit my local 
mirror at different times. I've found apache on my local mirror (low mem 
machine) sometimes locks up if they aren't staggered and all hit the 
repo at the same time.


If you are on dialup though, downloading headers may take awhile.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-19 Thread Ray Van Dolson
On Tue, Feb 19, 2008 at 06:30:38AM -0500, Ed Donahue wrote:
 OK, that worked for me
 
 yum clean all
 yum --disablerepo=\* --enablerepo=updates update
 
 Should this be done on a weekly/monthly basis?  yum clean all
 
 Or are my repos messed up?
 
 
 repo id repo name   status  priority
 === =   ==  
 extras  CentOS-5 - Extras   enabled 1
 baseCentOS-5 - Base enabled 1
 addons  CentOS-5 - Addons   enabled 1
 c5-mediaCentOS-5 - Mediadisabled2
 centosplus  CentOS-5 - Plus disabled2
 adobe-linux-i38 Adobe Systems Incorporated  enabled 11
 kbs-CentOS-Extr CentOS.Karan.Org-EL5 - Stable   enabled 12
 rpmforgeRed Hat Enterprise 5 - RPMforge.net enabled 15
 updates CentOS-5 - Updates  enabled 99
 c5-testing  CentOS-5 Testingdisabled99
 
 I'm guessing updates should be priority 1 instead of 99?

No, you shouldn't need to run that really ever, but it can be helpful
if yum gets funky (and it does seem to from time to time).

Also, yeah, your updates should be the same priority as the base.

Ray
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-19 Thread Bob Taylor
On Mon, 2008-02-18 at 23:02 -0800, Ray Van Dolson wrote:
 On Mon, Feb 18, 2008 at 10:56:58PM -0800, Bob Taylor wrote:
  On Mon, 2008-02-18 at 20:24 -0800, Akemi Yagi wrote:

[snip]

 Coming in late on this thread, but... 
 
   1. Can you point your repo's at a different URL?
   2. Have you tried a 'yum clean all' first?
   3. Try disabling everything _but_ the update repo, doing yum clean
  and then yum update.
 
  yum clean all
  yum --disablerepo=\* --enablerepo=updates update

After running both commands I receive the following:

0 packages excluded due to repository priority protections
No Packages marked for Update/Obsoletion

Still haven't found the problem! I have also put priority=1 in both base
and updates. No help. So...if Ed's is working, why isn't mine? Is
yum-updatesd the problem? Should I use Michael's script? This has become
very frustrating!

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-19 Thread Johnny Hughes

Bob Taylor wrote:

On Mon, 2008-02-18 at 23:02 -0800, Ray Van Dolson wrote:

On Mon, Feb 18, 2008 at 10:56:58PM -0800, Bob Taylor wrote:

On Mon, 2008-02-18 at 20:24 -0800, Akemi Yagi wrote:


[snip]

Coming in late on this thread, but... 


  1. Can you point your repo's at a different URL?
  2. Have you tried a 'yum clean all' first?
  3. Try disabling everything _but_ the update repo, doing yum clean
 and then yum update.

 yum clean all
 yum --disablerepo=\* --enablerepo=updates update


After running both commands I receive the following:

0 packages excluded due to repository priority protections
No Packages marked for Update/Obsoletion

Still haven't found the problem! I have also put priority=1 in both base
and updates. No help. So...if Ed's is working, why isn't mine? Is
yum-updatesd the problem? Should I use Michael's script? This has become
very frustrating!



sounds like the mirror you are updating from is not up to date.

We currently know that one mirror is bad:

http://lists.centos.org/pipermail/centos-mirror/2008-February/002532.html

Please look at the file /var/cache/yum/timedhosts.txt and see the 
first server from that list.  If it is not a belnet.be mirror, please 
tell me which one it is, as it may be out of date.




signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-19 Thread Bob Taylor
On Tue, 2008-02-19 at 15:58 -0600, Johnny Hughes wrote:
 Bob Taylor wrote:

[snip]

 sounds like the mirror you are updating from is not up to date.

I *think* I'm using
http://mirror.centos.org/centos/$releasever/updates/$basearch/

I have found that there is no kernel at rpmforge so I have commented out
all mirror urls in /etc/yum.repos.d/CentOS-Base.repo file and disabled
the rpmforge.repo file setting enabled=0. I have also set priority=1.
This creates a problem updating the kernel if you have rpms from
rpmforge. Is there a fix for this?

From what I gather from the message Could not find update match for
kernel. This is my problem. Why can't it find this match. What match is
yum looking for?

 We currently know that one mirror is bad:
 
 http://lists.centos.org/pipermail/centos-mirror/2008-February/002532.html
 
 Please look at the file /var/cache/yum/timedhosts.txt and see the 
 first server from that list.  If it is not a belnet.be mirror, please 
 tell me which one it is, as it may be out of date.

I don't have this file.

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-19 Thread Akemi Yagi
On Feb 19, 2008 1:58 PM, Johnny Hughes [EMAIL PROTECTED] wrote:
 Bob Taylor wrote:

 sounds like the mirror you are updating from is not up to date.

 We currently know that one mirror is bad:

 http://lists.centos.org/pipermail/centos-mirror/2008-February/002532.html

 Please look at the file /var/cache/yum/timedhosts.txt and see the
 first server from that list.  If it is not a belnet.be mirror, please
 tell me which one it is, as it may be out of date.

According to Bob's earlier post, he does not seem to have the
fastestmirror plugin.  So he probably does not have that file...

Bob, do a 'yum install yum-fastestmirror' and try again.

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-19 Thread Bob Taylor
On Tue, 2008-02-19 at 04:59 -0800, Michael A. Peters wrote:

[snip]

 -=-=-=-=-
 #!/bin/sh
 # /etc/cron.daily/yum.cron
 
 if [ -f /var/lock/subsys/yum ]; then
  /usr/bin/yum clean headers
  /usr/bin/yum -e 0 -d 0 -y update yum
  sleep 300
  /usr/bin/yum -e 0 -d 0 -y update
  sleep 10
  /usr/bin/yum clean headers
 fi
 -=-=-=-=-

I commented out the clean headers and sleep lines. Stopped yum-updatesd
and executed the script from the command line and it just sleeps (ie, ps
aux script STAT=S). Curious.

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-19 Thread Bob Taylor
On Tue, 2008-02-19 at 14:27 -0800, Akemi Yagi wrote:
 On Feb 19, 2008 1:58 PM, Johnny Hughes [EMAIL PROTECTED] wrote:
  Bob Taylor wrote:
 
  sounds like the mirror you are updating from is not up to date.
 
  We currently know that one mirror is bad:
 
  http://lists.centos.org/pipermail/centos-mirror/2008-February/002532.html
 
  Please look at the file /var/cache/yum/timedhosts.txt and see the
  first server from that list.  If it is not a belnet.be mirror, please
  tell me which one it is, as it may be out of date.
 
 According to Bob's earlier post, he does not seem to have the
 fastestmirror plugin.  So he probably does not have that file...
 
 Bob, do a 'yum install yum-fastestmirror' and try again.

Did so. No help. FYI no timedhosts.txt in the rpm. I still think the
problem lies in yum's message Could not find update match for kernel.

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-19 Thread Bob Taylor
Hm. I just noticed http://mirror.centos.org/centos/5/updates/i386/RPMS/
kernel listings are i686.rpm. Could my problem be this is confusing yum
as I use i386 and this is the i386 directory? Doesn't make sense since
no one else seems to have this. Of course their are most likely few
running Pentium II's. Searching for answers in the dark.

Shouldn't yum update kernel work update just the kernel* rpms?
-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-19 Thread John R Pierce

Bob Taylor wrote:

Hm. I just noticed http://mirror.centos.org/centos/5/updates/i386/RPMS/
kernel listings are i686.rpm. Could my problem be this is confusing yum
as I use i386 and this is the i386 directory? Doesn't make sense since
no one else seems to have this. Of course their are most likely few
running Pentium II's. Searching for answers in the dark.
  



um, i686 is pentium pro and beyond, including P-II, P3, P4, and Core, as 
well as the various Athlons. AFAIK, CentOS 5 doesn't support the 
older i486/i585 variants



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-18 Thread Akemi Yagi
On Feb 18, 2008 9:52 AM, Bob Taylor [EMAIL PROTECTED] wrote:
 I'm having the same problem as Valent Turkovic. I have the
 following /etc/yum.repos.d/CentOS-Base.repo (mind the line-wraps):

Would you post the output of:

uname -mr

rpm -qa | grep ^kernel | sort

I just want to make sure you indeed do not have the latest kernel.

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-18 Thread Ed Donahue
I am having the same issue

[EMAIL PROTECTED] ~]$ uname -mr
2.6.18-53.el5 x86_64

[EMAIL PROTECTED] ~]$ rpm -qa | grep ^kernel | sort
kernel-2.6.18-53.el5
kernel-devel-2.6.18-53.1.4.el5
kernel-devel-2.6.18-8.1.14.el5
kernel-headers-2.6.18-53.1.4.el5


On Feb 18, 2008 1:10 PM, Akemi Yagi [EMAIL PROTECTED] wrote:

 Would you post the output of:

 uname -mr

 rpm -qa | grep ^kernel | sort

 I just want to make sure you indeed do not have the latest kernel.

 Akemi

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-18 Thread Akemi Yagi
On Feb 18, 2008 2:40 PM, Ed Donahue [EMAIL PROTECTED] wrote:
 I am having the same issue

 [EMAIL PROTECTED] ~]$ uname -mr
 2.6.18-53.el5 x86_64

 [EMAIL PROTECTED] ~]$ rpm -qa | grep ^kernel | sort
 kernel-2.6.18-53.el5
 kernel-devel-2.6.18-53.1.4.el5
 kernel-devel-2.6.18-8.1.14.el5
  kernel-headers-2.6.18-53.1.4.el5

First make sure you do not have any line like:

exclude=kernel  -OR-
exclude=kernel*

in /etc/yum.conf or /etc/yum.repos.d/CentOS-Base.repo

Then try updating the kernel by:

yum -d5 update kernel

Does the output show any hint?

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-18 Thread Ed Donahue
output

[EMAIL PROTECTED] ~]# yum -d5 update kernel
Loading skip-broken plugin
Loading installonlyn plugin
Loading priorities plugin
Loading fastestmirror plugin
Loading kmod plugin
Loading kernel-module plugin
Running config handler for skip-broken plugin
Running config handler for installonlyn plugin
Running config handler for priorities plugin
Running init handler for fastestmirror plugin
Running init handler for kmod plugin
Loading Fedora Extras kernel module support.
Yum Version: 3.0.5
COMMAND: yum -d5
Installroot: /
Ext Commands:

   kernel
Setting up Update Process
Setting up repositories
Running postreposetup handler for fastestmirror plugin
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Setting up Package Sacks
Running exclude handler for priorities plugin

--list of packages--

588 packages excluded due to repository priority protections
Reading Local RPMDB
Building updates object
Could not find update match for kernel
No Packages marked for Update/Obsoletion

I think this started after I did an upgrade from 5 to 5.1 via dvd install.

On Feb 18, 2008 7:31 PM, Akemi Yagi [EMAIL PROTECTED] wrote:


 First make sure you do not have any line like:

 exclude=kernel  -OR-
 exclude=kernel*

 in /etc/yum.conf or /etc/yum.repos.d/CentOS-Base.repo

 Then try updating the kernel by:

 yum -d5 update kernel

 Does the output show any hint?

 Akemi

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-18 Thread Ed Donahue
[EMAIL PROTECTED] pluginconf.d]# yum -d5 update kernel
Loading skip-broken plugin
Loading installonlyn plugin
Loading priorities plugin
Loading fastestmirror plugin
kmod plugin is disabled
kernel-module plugin is disabled
Running config handler for skip-broken plugin
Running config handler for installonlyn plugin
Running config handler for priorities plugin
Running init handler for fastestmirror plugin
Yum Version: 3.0.5
COMMAND: yum -d5
Installroot: /
Ext Commands:

   kernel
...
588 packages excluded due to repository priority protections
Reading Local RPMDB
Building updates object
Could not find update match for kernel
No Packages marked for Update/Obsoletion

On Feb 18, 2008 8:32 PM, Akemi Yagi [EMAIL PROTECTED] wrote:

 *Just as a test*, can you temporarily disable these two plugins to see
 if the new kernel is found by yum after that?

 Akemi

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-18 Thread Akemi Yagi
On Feb 18, 2008 5:41 PM, Ed Donahue [EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] pluginconf.d]# yum -d5 update kernel

 Loading skip-broken plugin
 Loading installonlyn plugin
 Loading priorities plugin
 Loading fastestmirror plugin
  kmod plugin is disabled
 kernel-module plugin is disabled

 588 packages excluded due to repository priority protections
 Reading Local RPMDB
 Building updates object
 Could not find update match for kernel
 No Packages marked for Update/Obsoletion

Even with the two plugins disabled, yum still does not find the new
kernel?  OK, could you do the following?

yum install yum-repolist

Then run:

yum repolist

to list all the repos you have on your system and their status.

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-18 Thread Bob Taylor
On Mon, 2008-02-18 at 10:10 -0800, Akemi Yagi wrote:
 On Feb 18, 2008 9:52 AM, Bob Taylor [EMAIL PROTECTED] wrote:
  I'm having the same problem as Valent Turkovic. I have the
  following /etc/yum.repos.d/CentOS-Base.repo (mind the line-wraps):
 
 Would you post the output of:
 
 uname -mr

2.6.18-8.1.14.el5 i686

 rpm -qa | grep ^kernel | sort

kernel-2.6.18-8.1.14.el5
kernel-2.6.18-8.el5
kernel-headers-2.6.18-53.1.13.el5.centos.plus

I manually added kernel-headers. BTW uname -a says:

uname -a
Linux ann.qtpi.local 2.6.18-8.1.14.el5 #1 SMP Thu Sep 27 18:58:54 EDT
2007 i686 i686 i386 GNU/Linux

This doesn't look right.

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-18 Thread Bob Taylor
On Mon, 2008-02-18 at 16:31 -0800, Akemi Yagi wrote:
 On Feb 18, 2008 2:40 PM, Ed Donahue [EMAIL PROTECTED] wrote:
  I am having the same issue

 First make sure you do not have any line like:
 
 exclude=kernel  -OR-
 exclude=kernel*

I have no excludes

 in /etc/yum.conf or /etc/yum.repos.d/CentOS-Base.repo
 
 Then try updating the kernel by:
 
 yum -d5 update kernel
 
 Does the output show any hint?

yum -d5 update kernel
Loading skip-broken plugin
versionlock plugin is disabled
Loading installonlyn plugin
Loading downloadonly plugin
Loading priorities plugin
Running config handler for skip-broken plugin
Running config handler for installonlyn plugin
Running config handler for downloadonly plugin
Running config handler for priorities plugin
Yum Version: 3.0.5
COMMAND: yum -d5 
Installroot: /
Ext Commands:

   kernel
Setting up Update Process
Setting up repositories
rpmforge  100% |=| 1.1 kB
00:00 
base  100% |=| 1.1 kB
00:00 
updates   100% |=|  951 B
00:00 
centosplus100% |=|  951 B
00:00 
addons100% |=|  951 B
00:00 
extras100% |=| 1.1 kB
00:00 
Running postreposetup handler for downloadonly plugin
Reading repository metadata in from local files
Setting up Package Sacks
Running exclude handler for priorities plugin
0 packages excluded due to repository priority protections
Reading Local RPMDB
Building updates object
Could not find update match for kernel
No Packages marked for Update/Obsoletion

I see nothing other than the second to last line.


-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-18 Thread Bob Taylor
On Mon, 2008-02-18 at 20:24 -0800, Akemi Yagi wrote:

 yum install yum-repolist

 Then run:
 
yum repolist
 
 to list all the repos you have on your system and their status.

After running yum install yum-repolist
yum repolist is:

Loading skip-broken plugin
Loading installonlyn plugin
Loading downloadonly plugin
Loading priorities plugin
Loading repolist plugin

repo id repo name   status
priority
=== =   ==

rpmforgeRed Hat Enterprise 5 - RPMforge.net enabled 99
baseCentOS-5 - Base enabled 99
updates CentOS-5 - Updates  enabled 99
c5-mediaCentOS-5 - Mediadisabled99
centosplus  CentOS-5 - Plus enabled 99
addons  CentOS-5 - Addons   enabled 99
extras  CentOS-5 - Extras   enabled 99

Looks OK to me. What the hell is our problem? All my updates are via
yum. I received 1 updated kernel in September and none since.

-- 
Bob Taylor


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-18 Thread Ray Van Dolson
On Mon, Feb 18, 2008 at 10:56:58PM -0800, Bob Taylor wrote:
 On Mon, 2008-02-18 at 20:24 -0800, Akemi Yagi wrote:
 
  yum install yum-repolist
 
  Then run:
  
 yum repolist
  
  to list all the repos you have on your system and their status.
 
 After running yum install yum-repolist
 yum repolist is:
 
 Loading skip-broken plugin
 Loading installonlyn plugin
 Loading downloadonly plugin
 Loading priorities plugin
 Loading repolist plugin
 
 repo id repo name   status
 priority
 === =   ==
 
 rpmforgeRed Hat Enterprise 5 - RPMforge.net enabled 99
 baseCentOS-5 - Base enabled 99
 updates CentOS-5 - Updates  enabled 99
 c5-mediaCentOS-5 - Mediadisabled99
 centosplus  CentOS-5 - Plus enabled 99
 addons  CentOS-5 - Addons   enabled 99
 extras  CentOS-5 - Extras   enabled 99
 
 Looks OK to me. What the hell is our problem? All my updates are via
 yum. I received 1 updated kernel in September and none since.
 

Coming in late on this thread, but... 

  1. Can you point your repo's at a different URL?
  2. Have you tried a 'yum clean all' first?
  3. Try disabling everything _but_ the update repo, doing yum clean
 and then yum update.

 yum clean all
 yum --disablerepo=\* --enablerepo=updates update

Ray
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos