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)
Hmmm...can you give us the output of this code?
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
Okay...your root partition has 12 mb free, which must not be enough...
/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.
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.