Errors were encountered while processing: linux-image-4.15.0-50-generic

Asked by Le Tan Nguyen Duong

    I using rock64 board with Ubuntu 18.04 Bionic Containers Image (DockerCE & Kubernetes) from https://github.com/ayufan-rock64/linux-build/releases/download/0.7.8/bionic-containers-rock64-0.7.8-1061-arm64.img.xz
    When I install snapd and I get this error:
Processing triggers for linux-image-4.15.0-50-generic (4.15.0-50.54) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.15.0-50-generic
/etc/kernel/postinst.d/zz-update-extlinux:
Creating new extlinux.conf...
cp: cannot stat '/usr/lib/linux-image-4.15.0-50-generic': No such file or
directory
run-parts: /etc/kernel/postinst.d/zz-update-extlinux exited with return co
de 1
dpkg: error processing package linux-image-4.15.0-50-generic (--configure)
:
 installed linux-image-4.15.0-50-generic package post-installation script
subprocess returned error exit status 1
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for resolvconf (1.79ubuntu10.18.04.3) ...
Processing triggers for initramfs-tools (0.130ubuntu3.7) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-50-generic
Errors were encountered while processing:
 linux-image-4.15.0-50-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu linux-signed Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

ll /usr/lib/linux-image-4.15.0-50-generic

Thanks

Revision history for this message
Le Tan Nguyen Duong (zngduong) said :
#2

$ sudo ls -l /usr/lib/linux-image-4.15.0-50-generic
ls: cannot access '/usr/lib/linux-image-4.15.0-50-generic': No such file o
r directory
$ sudo ls -l /usr/lib/
total 308
drwxr-xr-x 4 root root 4096 May 16 03:05 NetworkManager
drwxr-xr-x 29 root root 20480 May 16 03:05 aarch64-linux-gnu
drwxr-xr-x 5 root root 4096 May 16 03:03 apt
drwxr-xr-x 2 root root 4096 May 16 03:04 avahi
drwxr-xr-x 2 root root 4096 May 16 03:04 bfd-plugins
drwxr-xr-x 2 root root 4096 Apr 20 2018 binfmt.d
drwxr-xr-x 2 root root 4096 May 16 03:04 compat-ld
drwxr-xr-x 2 root root 4096 Apr 27 2018 dbus-1.0
drwxr-xr-x 3 root root 4096 Apr 27 2018 dpkg
drwxr-xr-x 2 root root 4096 Apr 27 2018 eject
drwxr-xr-x 2 root root 4096 May 16 03:02 environment.d
drwxr-xr-x 2 root root 4096 May 16 03:03 file
drwxr-xr-x 3 root root 4096 Apr 16 2018 gcc
drwxr-xr-x 2 root root 4096 May 12 07:30 gettext
drwxr-xr-x 3 root root 20480 May 16 03:04 git-core
drwxr-xr-x 2 root root 4096 May 16 03:03 gnupg
drwxr-xr-x 2 root root 4096 May 16 03:03 gnupg2
drwxr-xr-x 2 root root 4096 May 16 03:04 gold-ld
drwxr-xr-x 4 root root 4096 May 12 07:30 groff
drwxr-xr-x 4 root root 4096 Apr 27 2018 initramfs-tools
drwxr-xr-x 3 root root 4096 Apr 27 2018 kernel
drwxr-xr-x 3 root root 4096 Apr 27 2018 klibc
drwxr-xr-x 3 root root 4096 May 15 15:11 linux
drwxr-xr-x 3 root root 4096 Jul 21 2018 linux-image-4.4.132-1072-rockch
ip-ayufan-ga1d27dba5a2e
drwxr-xr-x 3 root root 4096 Jul 21 2018 locale
drwxr-xr-x 3 root root 4096 May 16 03:08 lsb
drwxr-xr-x 2 root root 4096 May 12 07:30 man-db
drwxr-xr-x 3 root root 4096 Apr 27 2018 mime
drwxr-xr-x 2 root root 4096 Apr 20 2018 modules-load.d
drwxr-xr-x 6 root root 4096 Apr 27 2018 networkd-dispatcher
drwxr-xr-x 3 root root 4096 Mar 3 19:52 nginx
drwxr-xr-x 56 root root 4096 May 12 09:46 nodejs
drwxr-xr-x 2 root root 4096 Jul 21 2018 ntp
drwxr-xr-x 2 root root 4096 May 16 03:04 openssh
-rw-r--r-- 1 root root 386 Feb 5 07:32 os-release
drwxr-xr-x 3 root root 4096 Apr 27 2018 pm-utils
drwxr-xr-x 2 root root 4096 May 16 03:03 policykit-1
drwxr-xr-x 3 root root 4096 Jul 21 2018 pppd
drwxr-xr-x 27 root root 24576 May 12 07:30 python2.7
drwxr-xr-x 3 root root 4096 Apr 27 2018 python3
drwxr-xr-x 29 root root 20480 May 16 03:03 python3.6
drwxr-xr-x 3 root root 4096 Jul 21 2018 python3.7
drwxr-xr-x 5 root root 4096 May 12 07:30 rpm
drwxr-xr-x 2 root root 4096 Apr 27 2018 rsyslog
drwxr-xr-x 2 root root 4096 Feb 5 2018 sasl2
lrwxrwxrwx 1 root root 16 Dec 5 2017 sendmail -> ../sbin/sendmail
lrwxrwxrwx 1 root root 19 Mar 4 12:17 sftp-server -> openssh/sftp-ser
ver
drwxr-xr-x 2 root root 4096 May 15 14:59 snapd
drwxr-xr-x 2 root root 4096 Jan 30 09:53 software-properties
drwxr-xr-x 3 root root 4096 May 12 07:29 ssl
drwxr-xr-x 2 root root 4096 Apr 27 2018 sudo
drwxr-xr-x 2 root root 4096 May 16 03:02 sysctl.d
drwxr-xr-x 2 root root 4096 Jul 21 2018 sysstat
drwxr-xr-x 10 root root 4096 May 15 14:59 systemd
drwxr-xr-x 2 root root 4096 Apr 27 2018 sysusers.d
drwxr-xr-x 2 root root 4096 Jul 21 2017 tar
drwxr-xr-x 2 root root 4096 Apr 27 2018 tc
drwxr-xr-x 2 root root 4096 May 16 03:03 tmpfiles.d
drwxr-xr-x 2 root root 4096 Jul 21 2018 u-boot-rock64
drwxr-xr-x 2 root root 4096 May 16 03:03 valgrind

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.