LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 10-04-2007, 02:17 AM   #1
sneakyimp
Senior Member
 
Registered: Dec 2004
Posts: 1,056

Rep: Reputation: 78
'yum upgrade' wants to install older kernel


please forgive me i'm a noob to centOS and yum. Do I need to change a source list or something? My hosting provider just set up this machine and I need to install apache/php/mysql, etc on it and want to make sure it's as hard and safe as possible.

My uname:
Code:
[root@server2 ~]# uname -a
Linux server2.mydomain.com 2.6.20.1 #12 SMP Fri May 18 19:03:50 EDT 2007 i686 athlon i386 GNU/Linux
Unless I'm mistaken, kernel version is 2.6.20.1.

Now when I try to use yum to upgrade, it tries to install 2.6.18
Code:
[root@server2 ~]# yum upgrade
Loading "installonlyn" plugin
Setting up Upgrade Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package vim-minimal.i386 2:7.0.109-3.el5.3 set to be updated
---> Package vixie-cron.i386 4:4.1-70.el5 set to be updated
---> Package krb5-libs.i386 0:1.5-29 set to be updated
---> Package net-snmp-libs.i386 1:5.3.1-14.0.1.el5 set to be updated
---> Package xorg-x11-server-Xnest.i386 0:1.1.1-48.13.0.1.el5 set to be updated
---> Package libgcc.i386 0:4.1.1-52.el5.2 set to be updated
---> Package samba-common.i386 0:3.0.23c-2.el5.2.0.2 set to be updated
---> Package cpp.i386 0:4.1.1-52.el5.2 set to be updated
---> Package samba-client.i386 0:3.0.23c-2.el5.2.0.2 set to be updated
---> Package nfs-utils-lib.i386 0:1.0.8-7.2.z2 set to be updated
---> Package tzdata.noarch 0:2007f-1.el5 set to be updated
---> Package cups-libs.i386 1:1.2.4-11.5.3.el5 set to be updated
---> Package Deployment_Guide-en-US.noarch 0:5.0.0-21.el5.centos set to be updated
---> Package dhclient.i386 12:3.0.5-5.el5 set to be updated
---> Package bind-utils.i386 30:9.3.3-9.0.1.el5 set to be updated
---> Package kernel-headers.i386 0:2.6.18-8.1.14.el5 set to be updated
---> Package libpng.i386 2:1.2.10-7.0.2 set to be updated
---> Package xorg-x11-xfs.i386 1:1.0.2-4 set to be updated
---> Package libXfont.i386 0:1.2.2-1.0.2.el5 set to be updated
---> Package autofs.i386 1:5.0.1-0.rc2.43.0.2 set to be updated
---> Package bind-libs.i386 30:9.3.3-9.0.1.el5 set to be updated
---> Package ipsec-tools.i386 0:0.6.5-8.el5 set to be updated
---> Package cups.i386 1:1.2.4-11.5.3.el5 set to be updated
---> Package libX11.i386 0:1.0.3-8.0.1.el5 set to be updated
---> Package xorg-x11-server-Xorg.i386 0:1.1.1-48.13.0.1.el5 set to be updated
---> Package tar.i386 2:1.15.1-23.0.1.el5 set to be updated
---> Package libvorbis.i386 1:1.1.2-3.el5.0 set to be updated
---> Package nspr.i386 0:4.6.5-1.0.1.el5 set to be updated
---> Package nss.i386 0:3.11.5-3.el5.centos set to be updated
---> Package file.i386 0:4.17-9.0.1.el5 set to be updated
---> Package freetype.i386 0:2.2.1-17.el5 set to be updated
---> Package module-init-tools.i386 0:3.3-0.pre3.1.16.0.1.el5 set to be updated
---> Package kernel.i686 0:2.6.18-8.1.14.el5 set to be installed
---> Package krb5-workstation.i386 0:1.5-29 set to be updated
---> Package libstdc++.i386 0:4.1.1-52.el5.2 set to be updated
---> Package gnupg.i386 0:1.4.5-13 set to be updated
---> Package nss-tools.i386 0:3.11.5-3.el5.centos set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 kernel                  i686       2.6.18-8.1.14.el5  updates            12 M
Updating:
 Deployment_Guide-en-US  noarch     5.0.0-21.el5.centos  updates           7.3 M
 autofs                  i386       1:5.0.1-0.rc2.43.0.2  updates           760 k
 bind-libs               i386       30:9.3.3-9.0.1.el5  updates           837 k
 bind-utils              i386       30:9.3.3-9.0.1.el5  updates           162 k
 cpp                     i386       4.1.1-52.el5.2   updates           2.6 M
 cups                    i386       1:1.2.4-11.5.3.el5  updates           2.7 M
 cups-libs               i386       1:1.2.4-11.5.3.el5  updates           178 k
 dhclient                i386       12:3.0.5-5.el5   updates           274 k
 file                    i386       4.17-9.0.1.el5   updates           319 k
 freetype                i386       2.2.1-17.el5     updates           313 k
 gnupg                   i386       1.4.5-13         updates           1.8 M
 ipsec-tools             i386       0.6.5-8.el5      updates           350 k
 kernel-headers          i386       2.6.18-8.1.14.el5  updates           728 k
 krb5-libs               i386       1.5-29           updates           592 k
 krb5-workstation        i386       1.5-29           updates           895 k
 libX11                  i386       1.0.3-8.0.1.el5  updates           796 k
 libXfont                i386       1.2.2-1.0.2.el5  updates           240 k
 libgcc                  i386       4.1.1-52.el5.2   updates            82 k
 libpng                  i386       2:1.2.10-7.0.2   updates           241 k
 libstdc++               i386       4.1.1-52.el5.2   updates           350 k
 libvorbis               i386       1:1.1.2-3.el5.0  updates           192 k
 module-init-tools       i386       3.3-0.pre3.1.16.0.1.el5  updates           411 k
 net-snmp-libs           i386       1:5.3.1-14.0.1.el5  updates           1.1 M
 nfs-utils-lib           i386       1.0.8-7.2.z2     updates            55 k
 nspr                    i386       4.6.5-1.0.1.el5  updates           118 k
 nss                     i386       3.11.5-3.el5.centos  updates           799 k
 nss-tools               i386       3.11.5-3.el5.centos  updates           650 k
 samba-client            i386       3.0.23c-2.el5.2.0.2  updates           4.3 M
 samba-common            i386       3.0.23c-2.el5.2.0.2  updates           8.6 M
 tar                     i386       2:1.15.1-23.0.1.el5  updates           750 k
 tzdata                  noarch     2007f-1.el5      updates           745 k
 vim-minimal             i386       2:7.0.109-3.el5.3  updates           312 k
 vixie-cron              i386       4:4.1-70.el5     updates            91 k
 xorg-x11-server-Xnest   i386       1.1.1-48.13.0.1.el5  updates           1.4 M
 xorg-x11-server-Xorg    i386       1.1.1-48.13.0.1.el5  updates           3.2 M
 xorg-x11-xfs            i386       1:1.0.2-4        updates            68 k

Transaction Summary
=============================================================================
Install      1 Package(s)
Update      36 Package(s)
Remove       0 Package(s)

Total download size: 57 M
Is this ok [y/N]:
 
Old 10-04-2007, 02:41 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I thought you used

yum upgrade

to move from one version to the next (eg CentOS 4 to 5). Check the man page

Try yum update if you just want to install the newest versions of everything
 
Old 10-04-2007, 02:58 AM   #3
sneakyimp
Senior Member
 
Registered: Dec 2004
Posts: 1,056

Original Poster
Rep: Reputation: 78
Thanks for your response. That results in the same problem:
Code:
[root@server2 ~]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
base                      100% |=========================| 1.1 kB    00:00
updates                   100% |=========================|  951 B    00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package vim-minimal.i386 2:7.0.109-3.el5.3 set to be updated
---> Package vixie-cron.i386 4:4.1-70.el5 set to be updated
---> Package krb5-libs.i386 0:1.5-29 set to be updated
---> Package net-snmp-libs.i386 1:5.3.1-14.0.1.el5 set to be updated
---> Package xorg-x11-server-Xnest.i386 0:1.1.1-48.13.0.1.el5 set to be updated
---> Package libgcc.i386 0:4.1.1-52.el5.2 set to be updated
---> Package samba-common.i386 0:3.0.23c-2.el5.2.0.2 set to be updated
---> Package cpp.i386 0:4.1.1-52.el5.2 set to be updated
---> Package samba-client.i386 0:3.0.23c-2.el5.2.0.2 set to be updated
---> Package nfs-utils-lib.i386 0:1.0.8-7.2.z2 set to be updated
---> Package tzdata.noarch 0:2007f-1.el5 set to be updated
---> Package cups-libs.i386 1:1.2.4-11.5.3.el5 set to be updated
---> Package Deployment_Guide-en-US.noarch 0:5.0.0-21.el5.centos set to be updated
---> Package dhclient.i386 12:3.0.5-5.el5 set to be updated
---> Package bind-utils.i386 30:9.3.3-9.0.1.el5 set to be updated
---> Package kernel-headers.i386 0:2.6.18-8.1.14.el5 set to be updated
---> Package libpng.i386 2:1.2.10-7.0.2 set to be updated
---> Package xorg-x11-xfs.i386 1:1.0.2-4 set to be updated
---> Package libXfont.i386 0:1.2.2-1.0.2.el5 set to be updated
---> Package autofs.i386 1:5.0.1-0.rc2.43.0.2 set to be updated
---> Package bind-libs.i386 30:9.3.3-9.0.1.el5 set to be updated
---> Package ipsec-tools.i386 0:0.6.5-8.el5 set to be updated
---> Package cups.i386 1:1.2.4-11.5.3.el5 set to be updated
---> Package libX11.i386 0:1.0.3-8.0.1.el5 set to be updated
---> Package xorg-x11-server-Xorg.i386 0:1.1.1-48.13.0.1.el5 set to be updated
---> Package tar.i386 2:1.15.1-23.0.1.el5 set to be updated
---> Package libvorbis.i386 1:1.1.2-3.el5.0 set to be updated
---> Package nspr.i386 0:4.6.5-1.0.1.el5 set to be updated
---> Package nss.i386 0:3.11.5-3.el5.centos set to be updated
---> Package file.i386 0:4.17-9.0.1.el5 set to be updated
---> Package freetype.i386 0:2.2.1-17.el5 set to be updated
---> Package module-init-tools.i386 0:3.3-0.pre3.1.16.0.1.el5 set to be updated
---> Package kernel.i686 0:2.6.18-8.1.14.el5 set to be installed
---> Package krb5-workstation.i386 0:1.5-29 set to be updated
---> Package libstdc++.i386 0:4.1.1-52.el5.2 set to be updated
---> Package gnupg.i386 0:1.4.5-13 set to be updated
---> Package nss-tools.i386 0:3.11.5-3.el5.centos set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 kernel                  i686       2.6.18-8.1.14.el5  updates            12 M
Updating:
 Deployment_Guide-en-US  noarch     5.0.0-21.el5.centos  updates           7.3 M
 autofs                  i386       1:5.0.1-0.rc2.43.0.2  updates           760 k
 bind-libs               i386       30:9.3.3-9.0.1.el5  updates           837 k
 bind-utils              i386       30:9.3.3-9.0.1.el5  updates           162 k
 cpp                     i386       4.1.1-52.el5.2   updates           2.6 M
 cups                    i386       1:1.2.4-11.5.3.el5  updates           2.7 M
 cups-libs               i386       1:1.2.4-11.5.3.el5  updates           178 k
 dhclient                i386       12:3.0.5-5.el5   updates           274 k
 file                    i386       4.17-9.0.1.el5   updates           319 k
 freetype                i386       2.2.1-17.el5     updates           313 k
 gnupg                   i386       1.4.5-13         updates           1.8 M
 ipsec-tools             i386       0.6.5-8.el5      updates           350 k
 kernel-headers          i386       2.6.18-8.1.14.el5  updates           728 k
 krb5-libs               i386       1.5-29           updates           592 k
 krb5-workstation        i386       1.5-29           updates           895 k
 libX11                  i386       1.0.3-8.0.1.el5  updates           796 k
 libXfont                i386       1.2.2-1.0.2.el5  updates           240 k
 libgcc                  i386       4.1.1-52.el5.2   updates            82 k
 libpng                  i386       2:1.2.10-7.0.2   updates           241 k
 libstdc++               i386       4.1.1-52.el5.2   updates           350 k
 libvorbis               i386       1:1.1.2-3.el5.0  updates           192 k
 module-init-tools       i386       3.3-0.pre3.1.16.0.1.el5  updates           411 k
 net-snmp-libs           i386       1:5.3.1-14.0.1.el5  updates           1.1 M
 nfs-utils-lib           i386       1.0.8-7.2.z2     updates            55 k
 nspr                    i386       4.6.5-1.0.1.el5  updates           118 k
 nss                     i386       3.11.5-3.el5.centos  updates           799 k
 nss-tools               i386       3.11.5-3.el5.centos  updates           650 k
 samba-client            i386       3.0.23c-2.el5.2.0.2  updates           4.3 M
 samba-common            i386       3.0.23c-2.el5.2.0.2  updates           8.6 M
 tar                     i386       2:1.15.1-23.0.1.el5  updates           750 k
 tzdata                  noarch     2007f-1.el5      updates           745 k
 vim-minimal             i386       2:7.0.109-3.el5.3  updates           312 k
 vixie-cron              i386       4:4.1-70.el5     updates            91 k
 xorg-x11-server-Xnest   i386       1.1.1-48.13.0.1.el5  updates           1.4 M
 xorg-x11-server-Xorg    i386       1.1.1-48.13.0.1.el5  updates           3.2 M
 xorg-x11-xfs            i386       1:1.0.2-4        updates            68 k

Transaction Summary
=============================================================================
Install      1 Package(s)
Update      36 Package(s)
Remove       0 Package(s)

Total download size: 57 M
Is this ok [y/N]:
 
Old 10-04-2007, 07:34 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
The kernel I have on an up to date CentOS system is 2.6.18-8.1.14.el5, so it may be that your provider has added a later kernel themselves. My memory is that yum keeps 2 kernels, so it may be that this ends up being the second of the 2. Note that yum doesn't say that it's removing the existing kernel (which it will before it does)
 
Old 10-07-2007, 03:13 PM   #5
sneakyimp
Senior Member
 
Registered: Dec 2004
Posts: 1,056

Original Poster
Rep: Reputation: 78
Hm...OK so I'm trying to understand this. CentOS is configured such that yum thinks the latest kernel is 2.6.18 - is that right?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel panic after yum upgrade jemhood Fedora 1 11-10-2006 09:57 PM
Install Older Kernel with yum lebabyg Linux - General 5 06-27-2006 09:28 AM
How do I install an older kernel? Dimension User MEPIS 0 03-18-2006 11:16 AM
How to install older kernel d2h78q9rf Mandriva 1 03-11-2005 02:23 PM
i want to install an older kernel tchumatu Linux - Software 4 03-15-2001 08:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 10:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration