SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-06-24 18:24:42

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Upgrading "linux-image-2.6.32-5-amd64" error

So I tried doing an upgrade, but apparently there seems to be an error installing the linux-image-2.6.32-5-amd64 and possibly a lack of space.  Is there a way to fix this?

$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  linux-image-2.6.32-5-amd64
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/28.7 MB of archives.
After this operation, 401 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 108544 files and directories currently installed.)
Preparing to replace linux-image-2.6.32-5-amd64 2.6.32-30 (using .../linux-image-2.6.32-5-amd64_2.6.32-34squeeze1_amd64.deb) ...
Unpacking replacement linux-image-2.6.32-5-amd64 ...
dpkg: error processing /var/cache/apt/archives/linux-image-2.6.32-5-amd64_2.6.32-34squeeze1_amd64.deb (--unpack):
 failed in write on buffer copy for backend dpkg-deb during `./lib/modules/2.6.32-5-amd64/kernel/drivers/net/wireless/airo_cs.ko': No space left on device
configured to not write apport reports
                                      dpkg-deb: subprocess paste killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-2.6.32-5-amd64_2.6.32-34squeeze1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Offline

Help fund CrunchBang, donate to the project!

#2 2011-06-24 18:46:09

chaanakya
#! Die Hard
Registered: 2010-12-30
Posts: 940

Re: Upgrading "linux-image-2.6.32-5-amd64" error

Hmmm...can you give us the output of this code?

df -h

Offline

#3 2011-07-11 23:07:44

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: Upgrading "linux-image-2.6.32-5-amd64" error

Here is the output from "df -h"

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             323M  295M   12M  97% /
tmpfs                 2.0G     0  2.0G   0% /lib/init/rw
udev                  2.0G  228K  2.0G   1% /dev
tmpfs                 2.0G  1.4M  2.0G   1% /dev/shm
/dev/sda8             368M   11M  339M   3% /tmp
/dev/sda5             8.3G  1.9G  6.0G  25% /usr
/dev/sda6             2.8G  484M  2.2G  19% /var
/dev/sda9             447G   31G  394G   8% /home

Offline

#4 2011-07-12 05:54:46

chaanakya
#! Die Hard
Registered: 2010-12-30
Posts: 940

Re: Upgrading "linux-image-2.6.32-5-amd64" error

Okay...your root partition has 12 mb free, which must not be enough...

Offline

#5 2011-07-12 08:51:22

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,826
Website

Re: Upgrading "linux-image-2.6.32-5-amd64" error

/dev/sda1 generally seems to be pretty small (compared to the ~400GB you left for /home on /dev/sda9)

If you want to resize the partitions, you can try to run gParted off a LiveCD (to be sure nothing is mounted, not even swap) and then taking away ~5 GBs from /home and adding these to /
Disclaimer: No warranty! You might lose your data.

Offline

#6 2011-07-13 12:45:00

EndlessDissent
#! CrunchBanger
From: Near Chicago
Registered: 2011-05-14
Posts: 131
Website

Re: Upgrading "linux-image-2.6.32-5-amd64" error

I have to agree with the others. Your root partition is way too small. You only gave it 300MB. My partitions are: 25GB for / and 205 for /home. I had problems when I had / set to 10GB, so I had to make it even bigger. Yours will be different since you split everything into separate partitions, but like machinebacon said, / should have at least 5GB of space.

Remember, /etc, /opt, and /boot are all unaccounted for in your partitioning scheme, and /boot should have at least 200MB for itself, let alone all the things that have to go into /etc.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo