Upgrade Release Kernel Tips

Upgrade Release Kernel Tips

This is for CentOS 3.1 to 3.8 but the methodology will apply everywhere.

I ran into a problem first of all with a non-booting system after running

#yum update centos-release

It took me to 3.8 and upgraded all the other packages [b:7e931c835d]BUT[/b:7e931c835d]
because of some stupid flags enabled in /etc/yum.conf the KERNEL WASN'T UPGRADED SO AFTER BOOTING, WELL IT DIDN'T BOOT OF COURSE :)

Here's the bad flags:

#exactarch=1

There was another one something like [code:1:7e931c835d]installonlypkgs=kernel kernel-smp kernel-hugemem kernel-enterprise kernel-debug kernel-unsupported kernel-smp-unsupported kernel-hug[/code:1:7e931c835d]

and it didn't include kernel updates which explains even why "yum update kernel" wouldn't give me the new kernel.

Basically the process to upgrade to a new version is:
yum update yum
yum clean all
yum update centos-release
yum update kernel*
yum update

That should be it :)



Tags:

upgrade, kernel, tipsupgrade, tipsthis, centos, methodology, booting, yum, update, upgraded, packages, flags, enabled, etc, conf, wasn, didn, exactarch, installonlypkgs, smp, hugemem, enterprise, debug, unsupported, updates, quot, wouldn,

Latest Articles

  • Linux Ubuntu Cannot Print Large Images
  • Cannot Print PDF Solution and Howto Resize
  • Linux Console Login Screen TTY Change Message
  • Apache Cannot Start Listening Already on 0.0.0.0
  • MySQL Bash Query to pipe input directly without using heredoc trick
  • CentOS 6 and 7 / RHEL Persistent DHCP Solution
  • Debian Ubuntu Mint rc-local service startup error solution rc-local.service: Failed at step EXEC spawning /etc/rc.local: Exec format error
  • MySQL Cheatsheet Guide and Tutorial
  • bash script kill whois or other command that is running for too long
  • Linux tftp listens on all interfaces and IPs by DEFAULT Security Risk Hole Solution
  • python import docx error
  • Cisco Unified Communications Manager Express Cheatsheet CUCME CME
  • Linux Ubuntu Debian Missing privilege separation directory: /var/run/sshd
  • bash how to count the number of columns or words in a line
  • bash if statement how to test program output without assigning to variable
  • RTNETLINK answers: Network is unreachable
  • Centos 7 how to save iptables rules like Centos 6
  • nfs tuning maximum amount of connections
  • qemu-kvm error "Could not initialize SDL(No available video device) - exiting"
  • Centos 7 tftpd will not work with selinux enabled