[SFS] Fwd: When you can't update Debian or Ubuntu, because /boot is too full

David L. Willson DLWillson@TheGeek.NU
Wed, 09 Apr 2014 16:21:07 -0600 (MDT)


--=_e3649ccf-1c73-43a3-a0e9-55b3792c2b0f
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

Somebody asked me this, and it actually comes up kinda frequently, so I figured I'd share it here. 
----- Forwarded Message -----

> When you can't update Debian or Ubuntu, because /boot is too full ,
> try this:
> ----- Forwarded Message -----

> > # Try this:
> 

> > ls -ltr /boot
> 

> > # Now, with your oldest version number (probably at the top of that
> > listing), do something like this:
> 

> > dpkg -l | grep 3.2.0-29
> 

> > # Now, remove those packages with something like this:
> 

> > sudo apt-get purge linux-image-3.2.0-29-generic
> > linux-headers-3.2.0-29-generic linux-headers-3.2.0-29
> 

> > # Keep doing that until your /boot is only around half full
> 

> > df -h /boot
> 

--=_e3649ccf-1c73-43a3-a0e9-55b3792c2b0f
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><style type=3D'text/css'>p { margin: 0; }</style></head><body><=
div style=3D'font-family: Times New Roman; font-size: 12pt; color: #000000'=
><span>Somebody asked me this, and it actually comes up kinda frequently, s=
o I figured I'd share it here.</span><br><hr id=3D"zwchr"><blockquote style=
=3D"border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px=
;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-=
family:Helvetica,Arial,sans-serif;font-size:12pt;"><style>p { margin: 0; }<=
/style><div style=3D"font-family: Times New Roman; font-size: 12pt; color: =
#000000"><span>When you can't update Debian or Ubuntu, because /boot is too=
 full</span>, try this:<br><hr id=3D"zwchr"><blockquote style=3D"border-lef=
t:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;fo=
nt-weight:normal;font-style:normal;text-decoration:none;font-family:Helveti=
ca,Arial,sans-serif;font-size:12pt;"><style>p { margin: 0; }</style><div st=
yle=3D"font-family: Times New Roman; font-size: 12pt; color: #000000"># Try=
 this:<br><br>ls -ltr /boot<br><br># Now, with your oldest version number (=
probably at the top of that listing), do something like this:<br><br>dpkg -=
l | grep 3.2.0-29<br><br># Now, remove those packages with something like t=
his:<br><br>sudo apt-get purge linux-image-3.2.0-29-generic linux-headers-3=
.2.0-29-generic linux-headers-3.2.0-29 <br><span><br># Keep doing that unti=
l your /boot is only around half full<br><br>df -h /boot</span><br></div></=
blockquote><br></div></blockquote><br></div></body></html>
--=_e3649ccf-1c73-43a3-a0e9-55b3792c2b0f--