LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 09-22-2004, 10:33 PM   #1
Rexversusu
Member
 
Registered: Aug 2004
Location: British Columbia
Distribution: Debian Testing
Posts: 47

Rep: Reputation: 15
Kernel Upgrade Problem.


I'm having a problem upgrading my kernel from 2.6.7-1-k7 to 2.6.8-1-k7.

This is the error message that I get....

Quote:
dpkg: error processing /var/cache/apt/archives/kernel-image-2.6.8-1-k7_2.6.8-2_i386.deb (--unpack):
failed in buffer_write(fd) (8, ret=-1): backend dpkg-deb during `./boot/config-2.6.8-1-k7': No space left on device
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/kernel-image-2.6.8-1-k7_2.6.8-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
What exactly is happening here? I'm way too much of a newb to figure it out.

My best guess is that there is not enough space in my boot file?
 
Old 09-22-2004, 10:46 PM   #2
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
yeah, looks like you don't have enough free space in "/boot". the only solution is te get in there and clean out some unneeded files (old kernels that you don't use any more, etc.). just be careful because a broken /boot will render you with an unbootable system, so make a boot floppy before messing around.
 
Old 09-22-2004, 10:57 PM   #3
Rexversusu
Member
 
Registered: Aug 2004
Location: British Columbia
Distribution: Debian Testing
Posts: 47

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by zero79
yeah, looks like you don't have enough free space in "/boot". the only solution is te get in there and clean out some unneeded files (old kernels that you don't use any more, etc.). just be careful because a broken /boot will render you with an unbootable system, so make a boot floppy before messing around.
So, if my lilo.conf file looked something like this...

Quote:
image=/vmlinuz
label=Linux
initrd=/initrd.img
read-only
# restricted
# alias=1

image=/vmlinuz.old
label=LinuxOLD
read-only
optional
# restricted
# alias=2
Would it be safe to remove the "old" linux? I'm really not sure how to clean files out of my boot sector. I'm assuming this old linux is what is taking up space in my /boot directory.
 
Old 09-23-2004, 09:04 AM   #4
short101
Member
 
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Rep: Reputation: 30
Dunno if I would go removing kernels just yet if I was you. I think maybe firstly you want to have a look at how much space is left on the partition that you have your /boot directory on. Is your whole system on one partition or does your /boot have its own partition. If your system is all on one partition, then start going through maybe your home directory and clean out any old stuff, maybe old emails, music , movies etc, that you may not use any more. Then I suppose its maybe your apt cache thats getting full. You can clean that out as well. Read the apt howto at debian.org. have a bit of a look around and see whats taking up the space, check if its still used/important/needed and go from there.
 
Old 09-23-2004, 06:43 PM   #5
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
that's a good point.

use the "df" command to see your disk partitions/mount points and how much space is available.

if you only have your old kernel and this new kernel that you're trying to install, i would suggest not removing the old kernel just yet. when you are ready, remove the old kernel with

apt-get remove kernel-image-<kernel version>-1-<processor architecture>

although, it may be possible that just "/var" is full. if so, you gotta clean that out or use "qtparted" (apt-get install qtparted) to resize the partition.

Last edited by zero79; 09-23-2004 at 06:46 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 upgrade problem. Ten-shin Slackware 8 06-30-2004 03:20 PM
Problem when upgrade to kernel 2.4.24 little_ball Slackware 19 01-08-2004 07:43 PM
Kernel upgrade problem samble Linux - General 2 11-06-2003 12:07 PM
kernel upgrade problem andy18 Linux - Software 2 08-20-2003 05:24 PM
Kernel Upgrade Problem ppuru Linux - Software 1 07-28-2003 12:09 PM


All times are GMT -5. The time now is 12:43 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration