Обновление сервера Ubuntu не удается на крюках / кмод

Я получил сервер HP proliant в стойке (подержанный) 16 ядер, 2x 1 ТБ HD и успешно установил сервер Ubuntu 16.04, использовал KVM для настройки нескольких виртуальных машин, на которых работает кластер kubernetes. Также установлен OpenStack.

При обновлении с Ubuntu 16.4 до 18.04.1 оно работало и работало с ядром 4.15.0-23. Чем у меня возникли проблемы с подходящим dist-upgrade. система вернулась с ошибками. Убрал открытый стек, но это не помогло. Следующим шагом была установка apt-f. Это дало мне следующее:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-4.15.0-34-generic (4.15.0-34.37) ...
Setting up initramfs-tools (0.130ubuntu3.3) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for linux-image-4.15.0-34-generic (4.15.0-34.37) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.15.0-34-generic
cp: failed to restore the default file creation context: Invalid argument
E: /usr/share/initramfs-tools/hooks/kmod failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.15.0-34-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-4.15.0-34-generic (--configure):
 installed linux-image-4.15.0-34-generic package post-installation script subprocess returned error exit status 1
Processing triggers for initramfs-tools (0.130ubuntu3.3) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-34-generic
cp: failed to restore the default file creation context: Invalid argument
E: /usr/share/initramfs-tools/hooks/kmod failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.15.0-34-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-4.15.0-34-generic
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Я все еще могу загрузиться с помощью iLO и выбрать ядро ​​-23, но не могу избавиться от ошибок.

похоже, инструменты initramfs висят в kmod на линии

copy_exec /bin/kmod

Какие-либо предложения?

lsb-release lists as:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS"
NAME="Ubuntu"
VERSION="18.04.1 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.1 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

uname -a

Linux rlccs-srv001 4.15.0-23-generic #25-Ubuntu SMP Wed May 23 18:02:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

большое спасибо

0 ответов

Другие вопросы по тегам