# apt-get install --reinstall linux-image-3.2.0-36-generic Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: dconf-gsettings-backend:i386 linux-headers-3.2.0-35 phonon libstartup-notification0:i386 libxmuu1:i386 libportaudio0:i386 libportaudio2:i386 libgconf2-4:i386 lib32asound2 libgtk-3-0:i386 linux-headers-3.2.0-35-generic libpam-cap:i386 nethack-common libdconf0:i386 fuseiso libqt3-mt libpam-gnome-keyring:i386 libxcb-util0:i386 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 3 not upgraded. Need to get 0 B/38.5 MB of archives. After this operation, 0 B of additional disk space will be used. Can not write log, openpty() failed (/dev/pts not mounted?) (Reading database ... dpkg: warning: files list file for package `install-info' missing, assuming package has no files currently installed. (Reading database ... 478146 files and directories currently installed.) Preparing to replace linux-image-3.2.0-36-generic 3.2.0-36.57 (using .../linux-image-3.2.0-36-generic_3.2.0-36.57_amd64.deb) ... Done. Unpacking replacement linux-image-3.2.0-36-generic ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-36-generic /boot/vmlinuz-3.2.0-36-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-36-generic /boot/vmlinuz-3.2.0-36-generic Can not write log, openpty() failed (/dev/pts not mounted?) Setting up linux-image-3.2.0-36-generic (3.2.0-36.57) ... Running depmod. update-initramfs: deferring update (hook will be called later) Not updating initrd symbolic links since we are being updated/reinstalled (3.2.0-36.57 was configured last, according to dpkg) Not updating image symbolic links since we are being updated/reinstalled (3.2.0-36.57 was configured last, according to dpkg) Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/dkms 3.2.0-36-generic /boot/vmlinuz-3.2.0-36-generic run-parts: failed to exec /etc/kernel/postinst.d/dkms: No such file or directory run-parts: /etc/kernel/postinst.d/dkms exited with return code 1 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-36-generic.postinst line 1010. dpkg: error processing linux-image-3.2.0-36-generic (--configure): subprocess installed post-installation script returned error exit status 2 /bin/df: `/sys/fs/fuse/connections': No such file or directory /bin/df: `/sys/kernel/debug': No such file or directory /bin/df: `/sys/kernel/security': No such file or directory /bin/df: `/run/shm': No such file or directory /bin/df: `/proc/sys/fs/binfmt_misc': No such file or directory Errors were encountered while processing: linux-image-3.2.0-36-generic E: Sub-process /usr/bin/dpkg returned an error code (1)