supremedalek
December 19th, 2012, 04:41 PM
Let's say I have an 11.10 install with a disk layout that kinda looks like this:
root@ubuntu2:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 1.9G 1.1G 734M 60% /
udev 2.0G 12K 2.0G 1% /dev
tmpfs 512M 8.0K 512M 1% /tmp
tmpfs 793M 288K 793M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 2.0G 0 2.0G 0% /run/shm
/dev/mapper/ubuntu_vg0-home
2.0G 69M 1.9G 4% /home
/dev/sda1 472M 156M 292M 35% /boot
/dev/mapper/ubuntu_vg0-usr
2.0G 864M 1.1G 46% /usr
/dev/mapper/ubuntu_vg0-var
2.0G 1016M 898M 54% /var
/dev/mapper/export 1007M 85M 872M 9% /export
root@ubuntu2:~#
in which I need to upgrade a package (linux-headers-server in this case). During the package upgrade process I get the following messages:
Fetched 12.3 MB in 1s (11.2 MB/s)
Selecting previously deselected package linux-headers-3.0.0-28.
(Reading database ... 152680 files and directories currently installed.)
Unpacking linux-headers-3.0.0-28 (from .../linux-headers-3.0.0-28_3.0.0-28.45_all.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-headers-3.0.0-28_3.0.0-28.45_all.deb (--unpack):
unable to create `/usr/src/linux-headers-3.0.0-28/arch/sh/include/asm/unistd_64.h.dpkg-new' (while processing `./usr/src/linux-headers-3.0.0-28/arch/sh/include/asm/unistd_64.h'): No space left on device
No apport report written because the error message indicates a disk full error
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Selecting previously deselected package linux-headers-3.0.0-28-server.
Unpacking linux-headers-3.0.0-28-server (from .../linux-headers-3.0.0-28-server_3.0.0-28.45_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-headers-3.0.0-28-server_3.0.0-28.45_amd64.deb (--unpack):
error creating symbolic link `./usr/src/linux-headers-3.0.0-28-server/include/linux/timb_gpio.h': No space left on device
No apport report written because the error message indicates a disk full error
Preparing to replace linux-headers-server 3.0.0.27.31 (using .../linux-headers-server_3.0.0.28.32_amd64.deb) ...
Unpacking replacement linux-headers-server ...
Errors were encountered while processing:
/var/cache/apt/archives/linux-headers-3.0.0-28_3.0.0-28.45_all.deb
/var/cache/apt/archives/linux-headers-3.0.0-28-server_3.0.0-28.45_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Why is it claiming I have no space? I am not going to say the space I allocated for this install is massive, but I think that 12MB should not break the bank.
root@ubuntu2:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 1.9G 1.1G 734M 60% /
udev 2.0G 12K 2.0G 1% /dev
tmpfs 512M 8.0K 512M 1% /tmp
tmpfs 793M 288K 793M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 2.0G 0 2.0G 0% /run/shm
/dev/mapper/ubuntu_vg0-home
2.0G 69M 1.9G 4% /home
/dev/sda1 472M 156M 292M 35% /boot
/dev/mapper/ubuntu_vg0-usr
2.0G 864M 1.1G 46% /usr
/dev/mapper/ubuntu_vg0-var
2.0G 1016M 898M 54% /var
/dev/mapper/export 1007M 85M 872M 9% /export
root@ubuntu2:~#
in which I need to upgrade a package (linux-headers-server in this case). During the package upgrade process I get the following messages:
Fetched 12.3 MB in 1s (11.2 MB/s)
Selecting previously deselected package linux-headers-3.0.0-28.
(Reading database ... 152680 files and directories currently installed.)
Unpacking linux-headers-3.0.0-28 (from .../linux-headers-3.0.0-28_3.0.0-28.45_all.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-headers-3.0.0-28_3.0.0-28.45_all.deb (--unpack):
unable to create `/usr/src/linux-headers-3.0.0-28/arch/sh/include/asm/unistd_64.h.dpkg-new' (while processing `./usr/src/linux-headers-3.0.0-28/arch/sh/include/asm/unistd_64.h'): No space left on device
No apport report written because the error message indicates a disk full error
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Selecting previously deselected package linux-headers-3.0.0-28-server.
Unpacking linux-headers-3.0.0-28-server (from .../linux-headers-3.0.0-28-server_3.0.0-28.45_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-headers-3.0.0-28-server_3.0.0-28.45_amd64.deb (--unpack):
error creating symbolic link `./usr/src/linux-headers-3.0.0-28-server/include/linux/timb_gpio.h': No space left on device
No apport report written because the error message indicates a disk full error
Preparing to replace linux-headers-server 3.0.0.27.31 (using .../linux-headers-server_3.0.0.28.32_amd64.deb) ...
Unpacking replacement linux-headers-server ...
Errors were encountered while processing:
/var/cache/apt/archives/linux-headers-3.0.0-28_3.0.0-28.45_all.deb
/var/cache/apt/archives/linux-headers-3.0.0-28-server_3.0.0-28.45_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Why is it claiming I have no space? I am not going to say the space I allocated for this install is massive, but I think that 12MB should not break the bank.