Kesalahan bakat dengan linux-image-extra-4.13.0-45-generic

0

Saya pikir masalah saya sangat umum, tetapi saya tidak memperbaiki solusinya ...

Ketika saya mencoba menggunakan apt (di Ubuntu 16.04 Server), saya mendapatkan kesalahan ini:

The following packages were automatically installed and are no longer required:
  crda iw wireless-regdb
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  linux-image-extra-4.13.0-45-generic
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 167 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 105682 files and directories currently installed.)
Removing linux-image-extra-4.13.0-45-generic (4.13.0-45.50~16.04.1) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.13.0-45-generic /boot/vmlinuz-4.13.0-45-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.13.0-45-generic /boot/vmlinuz-4.13.0-45-generic
update-initramfs: Generating /boot/initrd.img-4.13.0-45-generic
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.13.0-45-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-4.13.0-45-generic (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 linux-image-extra-4.13.0-45-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

Kesalahan yang sama saat menjalankan apt-get install -f...

Punya seseorang ide?

Terima kasih sebelumnya

Pierre LAGOUTTE
sumber

Jawaban:

0

Server saya adalah mesin virtual OpenVZ, jadi pembaruan kernel dikelola oleh tuan rumah (penjelasan di sini dan di sini ).

Saya harus menghapus secara manual linux-image-extra-4.13.0-45-genericdan linux-image-4.13.0-45-generic, dengan mengikuti posting # 3 pada topik ini .

Pierre LAGOUTTE
sumber