FW: upgrade problem
Date: Wed, 5 Feb 2014 16:35:47 -0500 From: deb...@paulscrap.com To: debian-user@lists.debian.org Subject: Re: upgrade problem 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) but df -i schows there is enough room : Bestandssysteem I-nodes IGebr IVrij IGeb% Aangekoppeld op /dev/sda1 85344 7496 77848 9% / udev 505442 497 504945 1% /dev tmpfs 507394 562 506832 1% /run tmpfs 507394 1 507393 1% /run/lock tmpfs 507394 9 507385 1% /run/shm /dev/sda9 3727360 13188 3714172 1% /home /dev/sda8 97536 23 97513 1% /tmp /dev/sda5 549440 143994 405446 27% /usr /dev/sda6 183264 9332 173932 6% /var none 507394 2 507392 1% /sys/fs/cgroup Roelof What about df -h (or just plain df if you prefer)? It's entirely possible to fill up a drive an still have inodes left. - PaulNM df -h gives this : /dev/sda1 315M 210M 85M 72% / udev10M0 10M 0% /dev tmpfs 397M 784K 396M 1% /run tmpfs 5,0M0 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,0K0 4,0K 0% /sys/fs/cgroup df gives this : /dev/sda1 322023 214592 86286 72% / udev102400 10240 0% /dev tmpfs 405916 784 405132 1% /run tmpfs512005120 0% /run/lock tmpfs 2488920 92 2488828 1% /run/shm /dev/sda958512580 46776855049460 1% /home /dev/sda8 368615 2070 342993 1% /tmp /dev/sda5 8518920 3558876 4504264 45% /usr /dev/sda6 2817056 647952 2006288 25% /var none40 4 0% /sys/fs/cgroup Roelof -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/dub121-w10d41b9a6a3abfd5fef060ae...@phx.gbl
Re: FW: upgrade problem
On 6 February 2014 08:31, Roelof Wobben rwob...@hotmail.com wrote: Date: Wed, 5 Feb 2014 16:35:47 -0500 From: deb...@paulscrap.com To: debian-user@lists.debian.org Subject: Re: upgrade problem 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) but df -i schows there is enough room : Bestandssysteem I-nodes IGebr IVrij IGeb% Aangekoppeld op /dev/sda1 85344 7496 77848 9% / udev 505442 497 504945 1% /dev tmpfs 507394 562 506832 1% /run tmpfs 507394 1 507393 1% /run/lock tmpfs 507394 9 507385 1% /run/shm /dev/sda9 3727360 13188 3714172 1% /home /dev/sda8 97536 23 97513 1% /tmp /dev/sda5 549440 143994 405446 27% /usr /dev/sda6 183264 9332 173932 6% /var none 507394 2 507392 1% /sys/fs/cgroup Roelof What about df -h (or just plain df if you prefer)? It's entirely possible to fill up a drive an still have inodes left. - PaulNM df -h gives this : /dev/sda1 315M 210M 85M 72% / udev10M0 10M 0% /dev tmpfs 397M 784K 396M 1% /run tmpfs 5,0M0 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,0K0 4,0K 0% /sys/fs/cgroup df gives this : /dev/sda1 322023 214592 86286 72% / udev102400 10240 0% /dev tmpfs 405916 784 405132 1% /run tmpfs512005120 0% /run/lock tmpfs 2488920 92 2488828 1% /run/shm /dev/sda958512580 46776855049460 1% /home /dev/sda8 368615 2070 342993 1% /tmp /dev/sda5 8518920 3558876 4504264 45% /usr /dev/sda6 2817056 647952 2006288 25% /var none40 4 0% /sys/fs/cgroup Roelof -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/dub121-w10d41b9a6a3abfd5fef060ae...@phx.gbl I don't know the inner workings of dpkg. But during the extraction process does dpkg use the /tmp partition? The /tmp partition is 360MB. Maybe increasing /tmp size or setting up /tmp on home may help -- rob -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caozwb-pt3hj+ok2w4eb8gfhh5a0wb5awvr_y2aek35cpoyw...@mail.gmail.com
Re: FW: upgrade problem
On Thu, Feb 06, 2014 at 08:31:57AM +, Roelof Wobben wrote: On 02/05/2014 04:16 PM, Roelof Wobben wrote: [cut] df -h gives this : /dev/sda1 315M 210M 85M 72% / Here's your problem. The package is trying to write to /lib, which will be on this partition. apt-cache show linux-image-3.12-1-amd64 tells me Installed-Size: 135248 (this is kilobytes). Now, all of that 135Mb won't go to your root partition, it's true, but probably most of it will. udev10M0 10M 0% /dev tmpfs 397M 784K 396M 1% /run tmpfs 5,0M0 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 As a possible solution, you could do away with this partition (and move to a tmpfs-based /tmp). In its stead, create an LVM PV and move your root partition there. Then, convert /dev/sda1 into a PV, too, and extend the Logical Volume into it. After that, you end up with a root partition of ~675M. signature.asc Description: Digital signature
Re: FW: upgrade problem
On Thu, Feb 06, 2014 at 08:31:57AM +, 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% / udev10M0 10M 0% /dev tmpfs 397M 784K 396M 1% /run tmpfs 5,0M0 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,0K0 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 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140206115744.GA17921@tal
Re: FW: upgrade problem
On 06/02/14 22:57, Chris Bannister wrote: On Thu, Feb 06, 2014 at 08:31:57AM +, 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) snipped So that 85M you have free is the problem. Have you got any old kernels installed which you could purge? And/or will deborphan help? snipped Kind regards -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52f37a73.3090...@gmail.com