I got the following output when removing a kernel by dpkg --purge :   Removing linux-headers-3.13.0-112-generic (3.13.0-112.159) ... Removing linux-image-extra-3.13.0-112-generic (3.13.0-112.159) ... run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic update-initramfs: Generating /boot/initrd.img-3.13.0-112-generic W: TMPDIR is mounted noexec, will not cache run scripts.  gzip: stdout: No space left on device E: mkinitramfs failure cpio 141 gzip 1 update-initramfs: failed for /boot/initrd.img-3.13.0-112-generic with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 dpkg: error processing package linux-image-extra-3.13.0-112-generic (--purge):  subprocess installed post-removal script returned error exit status 1 Removing linux-image-3.13.0-112-generic (3.13.0-112.159) ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic update-initramfs: Deleting /boot/initrd.img-3.13.0-112-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic Generating grub configuration file ... Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. Found linux image: /boot/vmlinuz-4.4.0-71-generic Found initrd image: /boot/initrd.img-4.4.0-71-generic Found linux image: /boot/vmlinuz-4.4.0-67-generic Found initrd image: /boot/initrd.img-4.4.0-67-generic Found linux image: /boot/vmlinuz-4.4.0-66-generic Found initrd image: /boot/initrd.img-4.4.0-66-generic Found linux image: /boot/vmlinuz-4.4.0-64-generic Found initrd image: /boot/initrd.img-4.4.0-64-generic Found linux image: /boot/vmlinuz-3.13.0-115-generic Found initrd image: /boot/initrd.img-3.13.0-115-generic Found linux image: /boot/vmlinuz-3.13.0-113-generic Found initrd image: /boot/initrd.img-3.13.0-113-generic Found memtest86+ image: /memtest86+.elf Found memtest86+ image: /memtest86+.bin   No volume groups found done Purging configuration files for linux-image-3.13.0-112-generic (3.13.0-112.159) ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic Errors were encountered while processing:  linux-image-extra-3.13.0-112-generic  Why does it run out of space even when purging? It is not an inode issue in this case.  Note: There are other questions where error happens during dpkg --configure or when installing a kernel. It is more understandable that system runs out of disk space then, but in this case I am purging a kernel - a linux-image-extra package to be specific - by dpkg. There is no dependency problem in this case. For example in  a solution could be to purge kernel packages directly by dpkg, but the issue of this question produces an error when doing so.
My first issue was when I tried to apt-get update or apt-get upgrade. On upgrade I get the following error:  You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: linux-image-server : Depends: linux-image-3.2.0-27-generic but it is not installed E: Unmet dependencies. Try using -f.   I tried running apt-get install -f and this was the output(after saying yes on prompt)  (Reading database ... 186183 files and directories currently installed.) Unpacking linux-image-3.2.0-27-generic (from .../linux-image-3.2.0-27-generic_3.2.0-27.43_amd64.deb) ... Done. dpkg: error processing /var/cache/apt/archives/linux-image-3.2.0-27-generic_3.2.0-27.43_amd64.deb (--unpack):  failed in write on buffer copy for backend dpkg-deb during `./boot/System.map-3.2.0-27-generic': No space left on device  No apport report written because the error message indicates a disk full error                                                                           dpkg-deb:    error: subprocess paste was killed by signal (Broken pipe) Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-27-generic   /boot/vmlinuz-3.2.0-27-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-27-generic /boot/vmlinuz-3.2.0-27-generic Errors were encountered while processing: /var/cache/apt/archives/linux-image-3.2.0-27-generic_3.2.0-27.43_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)   I tried running apt-get autoremove and it gives me the same error as apt-get upgrade.  When I run df, I get this for /boot:  /dev/sda1                    233191     230297         0 100% /boot   So, I read elsewhere that I should try to purge old kernels. I checked for what kernels I had with:  $ dpkg -l linux-image-\* | grep ^ii ii  linux-image-2.6.38-13-server  2.6.38-13.52  Linux kernel image for version 2.6.38 on x86_64 ii  linux-image-3.0.0-13-server   3.0.0-13.22   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.0.0-14-server   3.0.0-14.23   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.0.0-15-server   3.0.0-15.26   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.0.0-16-server   3.0.0-16.29   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.0.0-17-server   3.0.0-17.30   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.2.0-24-generic  3.2.0-24.39   Linux kernel image for version 3.2.0  on 64 bit x86 SMP ii  linux-image-3.2.0-25-generic  3.2.0-25.40   Linux kernel image for version 3.2.0  on 64 bit x86 SMP ii  linux-image-3.2.0-26-generic  3.2.0-26.41   Linux kernel image for version 3.2.0  on 64 bit x86 SMP   When I try to remove the oldest with this:  $ sudo apt-get purge linux-image-2.6.38-13-server Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: linux-image-server : Depends: linux-image-3.2.0-27-generic but it is not going to be     installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).   How can I free up or extend boot without messing up my installation?
How to set systemwide "XP style DPI scaling" in Windows 8.1? I run my ThinkPad with a system DPI setting of 140%. In Windows 7 and 8, I enabled the "Use Windows XP style DPI scaling" checkbox in the Custom DPI Setting dialog. When this setting is off, non-DPI-aware applications get DPI virtualization via bitmap stretching, which results in large but fuzzy text. Turning on the checkbox disables this bitmap stretching, so non-DPI-aware apps get smaller text but without the fuzzy stretching. I find most apps to be more readable with the smaller crisper text, so I enable XP style scaling (i.e. disable DPI virtualization).  Windows 8.1 RTM has removed this option completely. After upgrading, all of my non-DPI-aware apps are running with ugly bitmap stretching. I'm able to fix this by going into the Properties for each app and setting the "Disable diplay scaling on high DPI settings" box in the Compatibility tab, but that is a bit of a pain.  Is there any way to restore the systemwide XP-style DPI scaling in Windows 8.1? $A$ is an $n\times n$ matrix of complex numbers. Prove that if $\lambda$ is an eigenvalue of $A^2,$ then $\sqrt{\lambda}$ or $-\sqrt{\lambda}$ is an eigenvalue of $A.$    If $\lambda$ is an eigenvalue of $A^2,$ we have $\lambda\alpha=A^2\alpha$ for some $\alpha.$ Then how can we find a $\beta$ s.t. $\sqrt{\lambda}\beta=A\beta?$ How do you return to the default view (the one you see when blender starts)? PayPal API Listener Website Payments Standard URI Gapless superconductivity I don't understand what is meant by &quot;gapless superconductors&quot;. As far as I know, the superconducting gap is necessairy for both zero resistance and the Meissner effect, the two hallmarks of superconductivity. So, what does it mean to have gapless superconductivity and how does it work? Thanks in advance, Greetings What is the quickest way to send some text from desktop\laptop to iPhone? I usually send emails to myself, but I wonder if there is a better way to share something quickly from my PC\laptop to iPhone. is it possible to redefine { and } in C? How to show also the name of the parent counter with cleveref? Consider the following piece of code:  \documentclass{book} \usepackage{cleveref} \usepackage{lipsum}  \begin{document}   \chapter{Chapter One}   \section{Section One.One}   \label{mysection}   \lipsum    \section{Section One.Two}   Please ignore \cref{mysection}.    \chapter{Chapter Two}   \section{Section Two.One}    As you may have noticed, \cref{mysection} is useless. \end{document}   By default, in both uses of \cref I get Section 1.1 as expected.   Is it possible to change the way the reference is shown in such a way that the second use of \cref above will print Section 1 of Chapter 1? i.e., naming the parent counter as well.   However, this should be done only outside the own chapter, so the first use of \cref in the above example should print Section 1.  This comes from a use case of a normative text where the document is divided in "articles" and "commas", and it is good to have references like "Comma 1 of Article 2" or "Article 2, Comma 1". Injecting beans into a class outside the Spring managed context I'm an end-user of one of my company's products. It is not very suitable for integration into Spring, however I am able to get a handle on the context and retrieve the required bean by name.  However, I would still like to know if it was possible to inject a bean into this class, even though the class is not managed by Spring itself.  Clarification: The same application which is managing the lifecycle of some class MyClass, is also managing the lifecycle of the Spring context. Spring does not have any knowledge of the instance of MyClass, and I would like to some how provide the instance to the context, but cannot create the instance in the context itself. Adding my launcher to the Unity Launcher automatically. How? Best way to parse RSS/Atom feeds with PHP The problem of instant velocity The concept of velocity is by definition the movement divided by the interval of time between initial position and final position.  If $f(t)$ is the position of a particle at time $t$; the velocity in the interval $[t_0;t_1]$ is $\dfrac{f(t_1)-f(t_0)}{t_1-t_0}$  The problem is that in a single instant there is no movement and the time is not changed; so no velocity.  I can consider $\lim_{t_1 \to t_0} \dfrac{f(t_1)-f(t_0)}{t_1-t_0}$, but mathematically it is only the limit of average velocity function and doesn't represent velocity at instant $t_0$  What are your views about this problem ? Suppressing addition of blank page before figure when wrapping long JPEG image I have the following LaTeX file, whose sole purpose is to wrap a JPEG file. This file does not convert well to PDF, so I'm using this unorthodox technique to convert it.  \documentclass{article} \usepackage[pdftex]{graphicx} \pagenumbering{gobble} \begin{document}  \centering\includegraphics[height=650pt]{foo.jpg} \end{document}   This produces a PDF file including the document, but it first includes a blank page, and thus produces a 2 page document, rather than a 1 page document. How do I get rid of this blank page? Using \textheight instead of 650pt as an argument to \includegraphicsmakes the  problem go away, but I'd prefer the larger size I get from using 650pt.  Here is the relevant information from the log file.  &lt;foo.jpg, id=1, 162.6075pt x 1165.35374pt&gt; File: foo.jpg Graphic file (type jpg)  &lt;use foo.jpg&gt; Package pdftex.def Info: foo.jpg used on input line 14. (pdftex.def)             Requested size: 90.6998pt x 650.0pt.  [1  ] Overfull \vbox (100.0pt too high) has occurred while \output is active []   [2 &lt;./foo.jpg&gt;] (./foo.aux) )    I'd prefer to not make the actual document public. Therefore the code above is not a MWE. However, if anyone has tips on how to create a dummy JPEG of the same size, let me know. Is the graviton hypothetical? $x,y,z$ are independent and uniform random on $[0,1]$.  I know that $P(x \geq yz) = 3/4$ by triple integrating the triple density function.  However, is there a easier way to get this solution? Without triple integration. After an AJAX request, sometimes my application may return an empty object, like:  var a = {};   How can I check whether that's the case? I have connected speakers to the back panel of my computer at work and I would like to have them always enabled (I can switch them off on the speaker casing). However when I connect headphones on the front panel system automatically says that the rear output is unplugged.  I found a solution to disable auto detection with Alsamixer and it works almost ok except the fact that after system restart I need to reconfigure the settings again... How can I set this once and forget about it? Determine if the convergence of $f_n(x) = \sqrt{x^2 + \frac{1}{n^2}}$ is uniform. $f_n(x) = \sqrt{x^2 + \frac{1}{n^2}}$ converges pointwise in a set $E = [0, \infty)$ to $f(x) = x$.   This problem reminds me a lot of how $\frac{x}{n}$ fails to converge uniformly to $f=0$ on $[0,\infty]$, but does converge uniformly on $[0,a]$. However, when we proved that we used the definition of uniform convergence. I do not wish to do that here.  I wish to use the Weierstrass test here. And that is where I'm stuck. I cannot find $M_n = \sup\limits_{x \in E} |f_n(x)-f(x)|$. Can someone help me out here? How do I adjust the Clock Indicator format? I was wondering if there is an easy way to trigger an e-mail alert on Windows Server 2008 when any logical disk partitions become low on space.  I have 2 SQL servers that have come close to running out of disk space because of the DB log files.  Thanks, Ryan