После попытки удаления запущенного ядра оно, естественно, сломалось. теперь оно постоянно пытается поставиться, но выдает ошибку:
sudo apt-get remove --purge linux-headers-2.6.28.3-custom
Чтение списков пакетов... Готово
Построение дерева зависимостей
Чтение информации о состоянии... Готово
Пакет linux-headers-2.6.28.3-custom не установлен, поэтому не может быть удалён
обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.
не установлено до конца или удалено 1 пакетов.
После данной операции, объём занятого дискового пространства возрастёт на 0B.
Настраивается пакет linux-image-2.6.28.3-custom (2.6.28.3-custom-10.00.Custom) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
initrd.img(/boot/initrd.img-2.6.28.3-custom
) points to /boot/initrd.img-2.6.28.3-custom
(/boot/initrd.img-2.6.28.3-custom) -- doing nothing at /var/lib/dpkg/info/linux-image-2.6.28.3-custom.postinst line 583.
vmlinuz(/boot/vmlinuz-2.6.28.3-custom
) points to /boot/vmlinuz-2.6.28.3-custom
(/boot/vmlinuz-2.6.28.3-custom) -- doing nothing at /var/lib/dpkg/info/linux-image-2.6.28.3-custom.postinst line 583.
Running postinst hook script update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.28.3-custom
Found kernel: /boot/vmlinuz-2.6.27-11-generic
Found kernel: /boot/vmlinuz-2.6.27-10-generic
Found kernel: /boot/vmlinuz-2.6.27-8-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms
run-parts: executing /etc/kernel/postinst.d/nvidia-common
run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 20
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.28.3-custom.postinst line 1181.
dpkg: не удалось обработать параметр linux-image-2.6.28.3-custom (--configure):
подпроцесс post-installation script возвратил код ошибки 2
При обработке следующих пакетов произошли ошибки:
linux-image-2.6.28.3-custom
E: Sub-process /usr/bin/dpkg returned an error code (1)