Re: FW: upgrade problem
On Thu, Feb 06, 2014 at 08:31:57AM +0000, Roelof Wobben wrote:
> >> On 02/05/2014 04:16 PM, Roelof Wobben wrote:
> >>> When I did today apt-get dist-upgrade it fails with this message :
> >>>
> >>> Preconfiguring packages ...
> >>> (Reading database ... 146026 files and directories currently installed.)
> >>> Preparing to unpack .../linux-image-3.12-1-amd64_3.12.9-1_amd64.deb ...
> >>> Unpacking linux-image-3.12-1-amd64 (3.12.9-1) over (3.12.6-2) ...
> >>> dpkg: error processing archive /var/cache/apt/archives/linux-image-3.12-1-amd64_3.12.9-1_amd64.deb (--unpack):
> >>> cannot copy extracted data for './lib/modules/3.12-1-amd64/kernel/net/l2tp/l2tp_ip6.ko' to '/lib/modules/3.12-1-amd64/kernel/net/l2tp/l2tp_ip6.ko.dpkg-new': failed to write (No space left on device)
> >>> dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
> >>> Errors were encountered while processing:
> >>> /var/cache/apt/archives/linux-image-3.12-1-amd64_3.12.9-1_amd64.deb
> >>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> df -h gives this :
>
> /dev/sda1 315M 210M 85M 72% /
> udev 10M 0 10M 0% /dev
> tmpfs 397M 784K 396M 1% /run
> tmpfs 5,0M 0 5,0M 0% /run/lock
> tmpfs 2,4G 88K 2,4G 1% /run/shm
> /dev/sda9 56G 460M 53G 1% /home
> /dev/sda8 360M 2,1M 335M 1% /tmp
> /dev/sda5 8,2G 3,4G 4,3G 45% /usr
> /dev/sda6 2,7G 633M 2,0G 25% /var
> none 4,0K 0 4,0K 0% /sys/fs/cgroup
Was that the default partitioning layout suggested by the installer?
I notice that you only have 85M free under / which includes /lib.
e.g.
root@tal:~# du -h /lib/modules/ | tail -n 3
81M /lib/modules/3.2.0-4-686-pae/kernel
84M /lib/modules/3.2.0-4-686-pae
84M /lib/modules/
What does yours say?
So that 85M you have free is the problem.
Have you got any old kernels installed which you could purge?
root@tal:~# ls -alh /lib/modules/
total 20K
drwxr-xr-x 3 root root 4.0K Oct 4 16:22 .
drwxr-xr-x 15 root root 12K Dec 28 20:52 ..
drwxr-xr-x 3 root root 4.0K Jun 21 2013 3.2.0-4-686-pae
--
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the
oppressing." --- Malcolm X
Reply to: