LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   CentOS Latest Kernel upgrade Problem (http://www.linuxquestions.org/questions/linux-software-2/centos-latest-kernel-upgrade-problem-628933/)

associatedappraisers 03-18-2008 09:50 AM

CentOS Latest Kernel upgrade Problem
 
Hi all, this is my first post so don't be to hard on me. Up to now (about 2 years) I have been running CentOS on my file server without a problem. I see the little red upgrade indicator on the upper left bar, I hit it, it downloads upgrades, I hit go, it's all good. Yesterday I downloaded kernel-2.6.9-67.0.7.EL and I got an error.

"There was a fatal RPM install error. The message was: There was a rpm unpack error installing the package: kernel-2.6.9-67.0.7.EL"

Is this a big problem or can someone help me out with a quick, or slow, fix?

Thanks,
Tony

unSpawn 03-18-2008 11:18 AM

Hello and welcome to LQ. Hope you like it here. Check if you've got enough disk space in temp dirs and /boot (if separate partition). If so then see if the kernel-2.6.9-67.0.7.EL.*.rpm is in your yum cache and try to upgrade from the commandline manually and post exact errors.

associatedappraisers 03-18-2008 04:08 PM

Thanks I'll try that

associatedappraisers 03-18-2008 04:41 PM

my temp file shows 124.6 GB of free space and my /boot file indicates 0 bytes of free space. Can I just delete some files? How do I know what files are needed?

unSpawn 03-19-2008 06:17 AM

Quote:

Originally Posted by associatedappraisers (Post 3093129)
Can I just delete some files? How do I know what files are needed?

/boot contains kernels and the bootloader. If you have amassed kernel versions you don't run anymore due to upgrading you can remove them. List them using 'grep kernel /var/log/rpmpkgs' (if /etc/cron.daily/rpm is used and has run successfully) or 'rpm --last -q kernel' or 'rpm --qf "%{name} %{installtime:date}\n" -q kernel' if your version of rpm doesn't take "--last". It's a human decision to choose which kernels to remove so do get it right.

associatedappraisers 03-19-2008 03:33 PM

Thanks again!!

associatedappraisers 03-31-2008 07:41 AM

It worked, Thanks!!
 
Quote:

Originally Posted by unSpawn (Post 3093649)
/boot contains kernels and the bootloader. If you have amassed kernel versions you don't run anymore due to upgrading you can remove them. List them using 'grep kernel /var/log/rpmpkgs' (if /etc/cron.daily/rpm is used and has run successfully) or 'rpm --last -q kernel' or 'rpm --qf "%{name} %{installtime:date}\n" -q kernel' if your version of rpm doesn't take "--last". It's a human decision to choose which kernels to remove so do get it right.


unSpawn, it worked! I cleared some files from /boot and it worked.

unSpawn 03-31-2008 08:55 AM

That's good to know. I do hope it didn't take you ten days to swap a kernel though?

associatedappraisers 04-03-2008 01:02 PM

He he, not 10 but close. I got another machine running CentOS and that's my guinea pig. Since I wasn't too clear on what to erase, I would do experimentation on it, then on the server. Can't afford to have my office down, as you can tell, still learning how to manage Linux.


All times are GMT -5. The time now is 11:17 AM.