I alsways receive an error message when I try to upgrade Debian 7.11 (wheezy).
Code: Select all
root@server:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.11 (wheezy)
Release: 7.11
Codename: wheezy
root@server:~#
These commands where used:
Code: Select all
apt-get update
apt-get upgrade
Code: Select all
Fetched 53.9 MB in 7s (6,990 kB/s)
Reading changelogs... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
Setting up sensible-utils (0.0.7+deb7u1) ...
(Reading database ... 39591 files and directories currently installed.)
Preparing to replace linux-image-3.2.0-4-amd64 3.2.82-1 (using .../linux-image-3.2.0-4-amd64_3.2.96-2_amd64.deb) ...
Unpacking replacement linux-image-3.2.0-4-amd64 ...
dpkg: error processing /var/cache/apt/archives/linux-image-3.2.0-4-amd64_3.2.96-2_amd64.deb (--unpack):
cannot copy extracted data for './lib/modules/3.2.0-4-amd64/kernel/drivers/hwmon/pc87360.ko' to '/lib/modules/3.2.0-4-amd64/kernel/drivers/hwmon/pc87360.ko.dpkg-new': failed to write (No space left on device)
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-4-amd64 /boot/vmlinuz-3.2.0-4-amd64
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-4-amd64 /boot/vmlinuz-3.2.0-4-amd64
Preparing to replace multiarch-support 2.13-38+deb7u11 (using .../multiarch-support_2.13-38+deb7u12_amd64.deb) ...
Unpacking replacement multiarch-support ...
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-3.2.0-4-amd64_3.2.96-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@server:~#
The OS is installed on a small 16gb SSD and mabe I can resize a partition (need advice on this one).
This is my usage and free space:
Code: Select all
root@server:~# fdisk -l
Disk /dev/sda: 16.0 GB, 16013942784 bytes
255 heads, 63 sectors/track, 1946 cylinders, total 31277232 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0006bc6f
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 684031 340992 83 Linux
/dev/sda2 686078 31277055 15295489 5 Extended
/dev/sda5 686080 11765759 5539840 83 Linux
/dev/sda6 11767808 17088511 2660352 83 Linux
/dev/sda7 17090560 18853887 881664 82 Linux swap / Solaris
/dev/sda8 18855936 19634175 389120 83 Linux
/dev/sda9 19636224 31277055 5820416 83 Linux
root@server:~#
Code: Select all
root@server:~# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 323M 238M 69M 78% /
udev 10M 0 10M 0% /dev
tmpfs 395M 288K 395M 1% /run
/dev/disk/by-uuid/bf584f21-fe6b-4281-a3ee-35252d7b733c 323M 238M 69M 78% /
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 963M 0 963M 0% /run/shm
/dev/sda9 5.5G 140M 5.1G 3% /home
/dev/sda8 368M 11M 339M 3% /tmp
/dev/sda5 5.3G 968M 4.0G 20% /usr
/dev/sda6 2.5G 489M 1.9G 21% /var
root@server:~#