1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235 | tre@lappy:~$ dpkg -l linux-* | awk '/^ii/{ print $2 }' | grep -e [0-9]
linux-headers-3.16.0-31
linux-headers-3.16.0-31-generic
linux-libc-dev:amd64
linux-libc-dev:i386
tre@lappy:~$ dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Can not write log (Is stdout a terminal?) - tcgetattr (25: Inappropriate ioctl for device)
Setting up initramfs-tools (0.103ubuntu8) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-3.16.0-31-generic (3.16.0-31.43) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(3.16.0-31.41~14.04.1 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(3.16.0-31.41~14.04.1 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-31-generic /boot/vmlinuz-3.16.0-31-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-31-generic /boot/vmlinuz-3.16.0-31-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-31-generic /boot/vmlinuz-3.16.0-31-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-31-generic
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-31-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.16.0-31-generic.postinst line 1025.
dpkg: error processing package linux-image-3.16.0-31-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-31-generic:
linux-image-extra-3.16.0-31-generic depends on linux-image-3.16.0-31-generic; however:
Package linux-image-3.16.0-31-generic is not configured yet.
dpkg: error processing package linux-image-extra-3.16.0-31-generic (--configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.103ubuntu8) ...
No apport report written because the error message indicates its a followup error from a previous failure.
update-initramfs: Generating /boot/initrd.img-3.16.0-31-generic
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-31-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
linux-image-3.16.0-31-generic
linux-image-extra-3.16.0-31-generic
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
tre@lappy:~$ sudo apt-get update
Ign http://security.ubuntu.com utopic-security InRelease
Ign http://us.archive.ubuntu.com utopic InRelease
Get:1 http://security.ubuntu.com utopic-security Release.gpg [933 B]
Ign http://us.archive.ubuntu.com utopic-updates InRelease
Get:2 http://security.ubuntu.com utopic-security Release [62.0 kB]
Ign http://us.archive.ubuntu.com utopic-backports InRelease
Hit http://us.archive.ubuntu.com utopic Release.gpg
Ign http://archive.canonical.com utopic InRelease
Ign http://extras.ubuntu.com utopic InRelease
Get:3 http://us.archive.ubuntu.com utopic-updates Release.gpg [933 B]
Get:4 http://us.archive.ubuntu.com utopic-backports Release.gpg [933 B]
Hit http://archive.canonical.com utopic Release.gpg
Hit http://extras.ubuntu.com utopic Release.gpg
Hit http://us.archive.ubuntu.com utopic Release
Get:5 http://us.archive.ubuntu.com utopic-updates Release [62.0 kB]
Hit http://archive.canonical.com utopic Release
Hit http://extras.ubuntu.com utopic Release
Get:6 http://security.ubuntu.com utopic-security/main Sources [43.0 kB]
Get:7 http://us.archive.ubuntu.com utopic-backports Release [62.0 kB]
Hit http://us.archive.ubuntu.com utopic/main Sources
Hit http://us.archive.ubuntu.com utopic/restricted Sources
Get:8 http://security.ubuntu.com utopic-security/restricted Sources [2,107 B]
Hit http://archive.canonical.com utopic/partner amd64 Packages
Hit http://us.archive.ubuntu.com utopic/universe Sources
Hit http://extras.ubuntu.com utopic/main amd64 Packages
Get:9 http://security.ubuntu.com utopic-security/universe Sources [8,053 B]
Hit http://us.archive.ubuntu.com utopic/multiverse Sources
Get:10 http://security.ubuntu.com utopic-security/multiverse Sources [1,947 B]
Hit http://us.archive.ubuntu.com utopic/main amd64 Packages
Hit http://archive.canonical.com utopic/partner i386 Packages
Get:11 http://security.ubuntu.com utopic-security/main amd64 Packages [126 kB]
Hit http://us.archive.ubuntu.com utopic/restricted amd64 Packages
Hit http://extras.ubuntu.com utopic/main i386 Packages
Hit http://us.archive.ubuntu.com utopic/universe amd64 Packages
Hit http://us.archive.ubuntu.com utopic/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com utopic/main i386 Packages
Hit http://us.archive.ubuntu.com utopic/restricted i386 Packages
Get:12 http://security.ubuntu.com utopic-security/restricted amd64 Packages [8,496 B]
Get:13 http://security.ubuntu.com utopic-security/universe amd64 Packages [54.1 kB]
Hit http://us.archive.ubuntu.com utopic/universe i386 Packages
Ign http://archive.canonical.com utopic/partner Translation-en
Hit http://us.archive.ubuntu.com utopic/multiverse i386 Packages
Get:14 http://security.ubuntu.com utopic-security/multiverse amd64 Packages [4,133 B]
Hit http://us.archive.ubuntu.com utopic/main Translation-en
Get:15 http://security.ubuntu.com utopic-security/main i386 Packages [126 kB]
Hit http://us.archive.ubuntu.com utopic/multiverse Translation-en
Hit http://us.archive.ubuntu.com utopic/restricted Translation-en
Hit http://us.archive.ubuntu.com utopic/universe Translation-en
Get:16 http://security.ubuntu.com utopic-security/restricted i386 Packages [8,438 B]
Get:17 http://us.archive.ubuntu.com utopic-updates/main Sources [78.7 kB]
Get:18 http://security.ubuntu.com utopic-security/universe i386 Packages [54.0 kB]
Get:19 http://us.archive.ubuntu.com utopic-updates/restricted Sources [2,107 B]
Get:20 http://us.archive.ubuntu.com utopic-updates/universe Sources [19.4 kB]
Get:21 http://security.ubuntu.com utopic-security/multiverse i386 Packages [4,320 B]
Get:22 http://us.archive.ubuntu.com utopic-updates/multiverse Sources [1,947 B]
Hit http://security.ubuntu.com utopic-security/main Translation-en
Get:23 http://us.archive.ubuntu.com utopic-updates/main amd64 Packages [204 kB]
Hit http://security.ubuntu.com utopic-security/multiverse Translation-en
Hit http://security.ubuntu.com utopic-security/restricted Translation-en
Get:24 http://us.archive.ubuntu.com utopic-updates/restricted amd64 Packages [8,496 B]
Get:25 http://us.archive.ubuntu.com utopic-updates/universe amd64 Packages [80.5 kB]
Get:26 http://us.archive.ubuntu.com utopic-updates/multiverse amd64 Packages [4,133 B]
Hit http://security.ubuntu.com utopic-security/universe Translation-en
Get:27 http://us.archive.ubuntu.com utopic-updates/main i386 Packages [203 kB]
Ign http://extras.ubuntu.com utopic/main Translation-en_US
Get:28 http://us.archive.ubuntu.com utopic-updates/restricted i386 Packages [8,438 B]
Get:29 http://us.archive.ubuntu.com utopic-updates/universe i386 Packages [80.4 kB]
Ign http://extras.ubuntu.com utopic/main Translation-en
Get:30 http://us.archive.ubuntu.com utopic-updates/multiverse i386 Packages [4,320 B]
Hit http://us.archive.ubuntu.com utopic-updates/main Translation-en
Hit http://us.archive.ubuntu.com utopic-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com utopic-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com utopic-updates/universe Translation-en
Get:31 http://us.archive.ubuntu.com utopic-backports/main Sources [765 B]
Get:32 http://us.archive.ubuntu.com utopic-backports/restricted Sources [28 B]
Get:33 http://us.archive.ubuntu.com utopic-backports/universe Sources [9,218 B]
Get:34 http://us.archive.ubuntu.com utopic-backports/multiverse Sources [28 B]
Get:35 http://us.archive.ubuntu.com utopic-backports/main amd64 Packages [570 B]
Get:36 http://us.archive.ubuntu.com utopic-backports/restricted amd64 Packages [28 B]
Get:37 http://us.archive.ubuntu.com utopic-backports/universe amd64 Packages [10.6 kB]
Get:38 http://us.archive.ubuntu.com utopic-backports/multiverse amd64 Packages [28 B]
Get:39 http://us.archive.ubuntu.com utopic-backports/main i386 Packages [574 B]
Get:40 http://us.archive.ubuntu.com utopic-backports/restricted i386 Packages [28 B]
Get:41 http://us.archive.ubuntu.com utopic-backports/universe i386 Packages [10.6 kB]
Get:42 http://us.archive.ubuntu.com utopic-backports/multiverse i386 Packages [28 B]
Hit http://us.archive.ubuntu.com utopic-backports/main Translation-en
Hit http://us.archive.ubuntu.com utopic-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com utopic-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com utopic-backports/universe Translation-en
Fetched 1,357 kB in 7s (179 kB/s)
Reading package lists... Done
tre@lappy:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.103ubuntu8) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-3.16.0-31-generic (3.16.0-31.43) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(3.16.0-31.41~14.04.1 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(3.16.0-31.41~14.04.1 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-31-generic /boot/vmlinuz-3.16.0-31-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-31-generic /boot/vmlinuz-3.16.0-31-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-31-generic /boot/vmlinuz-3.16.0-31-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-31-generic
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-31-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.16.0-31-generic.postinst line 1025.
dpkg: error processing package linux-image-3.16.0-31-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-31-generic:
linux-image-extra-3.16.0-31-generic depends on linux-image-3.16.0-31-generic; however:
Package linux-image-3.16.0-31-generic is not configured yet.
dpkg: error processing package linux-image-extra-3.16.0-31-generic (--configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.103ubuntu8) ...
No apport report written because the error message indicates its a followup error from a previous failure.
update-initramfs: Generating /boot/initrd.img-3.16.0-31-generic
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-31-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
linux-image-3.16.0-31-generic
linux-image-extra-3.16.0-31-generic
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
tre@lappy:~$ sudo apt-get autoremove | pastebinit
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(3.16.0-31.41~14.04.1 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(3.16.0-31.41~14.04.1 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.16.0-31-generic /boot/vmlinuz-3.16.0-31-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.16.0-31-generic /boot/vmlinuz-3.16.0-31-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-31-generic /boot/vmlinuz-3.16.0-31-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-31-generic
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.16.0-31-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.16.0-31-generic.postinst line 1025.
dpkg: error processing package linux-image-3.16.0-31-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-31-generic:
linux-image-extra-3.16.0-31-generic depends on linux-image-3.16.0-31-generic; however:
Package linux-image-3.16.0-31-generic is not configured yet.
dpkg: error processing package linux-image-extra-3.16.0-31-generic (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
gzip: stdout: No space left on device
update-initramfs: failed for /boot/initrd.img-3.16.0-31-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
linux-image-3.16.0-31-generic
linux-image-extra-3.16.0-31-generic
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
|