Я случайно запустил sudo apt remove linux-image-unsigned-5.14.1-051401-generic
и на экране появится сообщение
Я попытался загрузить файлы с той же версией в здесь , выполнить apt install * .deb
и перезапустить.
теперь есть значок red-broken-package , говорящий о том, что какой-то пакет сломан, когда я делаю apt update
, он говорит, что мне нужно переустановить пакет заголовков.
- ошибка установки
результат:
ainul@ainul-Swift-SF314-43:~ $ sudo apt --fix-broken install
[sudo] password for ainul:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
linux-headers-5.14.10-051410-generic
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 23,3 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
результат переустановки:
ainul@ainul-Swift-SF314-43:~ $ sudo apt install --reinstall linux-headers-5.14.10-051410-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reinstallation of linux-headers-5.14.10-051410-generic is not possible, it cannot be downloaded.
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
linux-headers-5.14.10-051410-generic : Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.2 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
есть ли способ исправить заголовки? Меня беспокоит, что это вызовет ошибку при удалении запущенного в данный момент ядра