I have a text file in my home directory with the following snippet I
found on an Ubuntu forum that i'm copying and pasting every time my boot
dir runs out of memory:

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

I have no idea what the above command does - I see some horrifying
regexes and a double-nested sed call and some weird parameters and apt-
get....  That's what this bug has reduced me to - copy-paste random
commands into terminal.  It seems to happen with the normal recommended
boot partition - how are other users not hitting this all the time?
Shouldn't every single user with recommended partitioning eventually run
out of space and hit this total failure?  Because I'm wondering about
Grandma-machines where somebody just gets used to ignoring the fact that
they can't update.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/798414

Title:
  update-initramfs should produce a more helpful error when there isn't
  enough  free space

To manage notifications about this bug go to:
https://bugs.launchpad.net/initramfs-tools/+bug/798414/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to