Linux - DistributionsThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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]:
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]:
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.