0

I tried to install sudo apt-get install espeak But I got:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
espeak is already the newest version (1.48.04+dfsg-2).
The following packages were automatically installed and are no longer required:
  linux-headers-4.13.0-37 linux-headers-4.13.0-37-generic
  linux-image-4.13.0-37-generic linux-image-extra-4.13.0-37-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 77 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up linux-image-4.15.0-20-generic (4.15.0-20.21~16.04.1) ...
/var/lib/dpkg/info/linux-image-4.15.0-20-generic.postinst: 50: /var/lib/dpkg/info/linux-image-4.15.0-20-generic.postinst: linux-update-symlinks: not found
dpkg: error processing package linux-image-4.15.0-20-generic (--configure):
 subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of linux-modules-extra-4.15.0-20-generic:
 linux-modules-extra-4.15.0-20-generic depends on linux-image-4.15.0-20-generic | linux-image-unsigned-4.15.0-20-generic; however:
  Package linux-image-4.15.0-20-generic is not configured yet.
  Package linux-image-unsigned-4.15.0-20-generic is not installed.

dpkg: error processing package linux-modules-extra-4.15.0-20-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic-hwe-16.04-edge:
 linux-image-generic-hwe-16.04-edge depends on linux-image-4.15.0-20-generic; however:
  Package linux-image-4.15.0-20-generic is not configured yet.
 linux-image-generic-hwe-16.04-edge depends on linux-modules-extra-4.15.0-20-generic; however:
  Package linux-modules-extra-4.15.0-20-generic is not configured yet.

dpkg: error processing package linux-image-generic-hwe-16.04-edge (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                    No apport report written because MaxReports is reached already
                                  dpkg: dependency problems prevent configuration of linux-generic-hwe-16.04-edge:
 linux-generic-hwe-16.04-edge depends on linux-image-generic-hwe-16.04-edge (= 4.15.0.20.42); however:
  Package linux-image-generic-hwe-16.04-edge is not configured yet.

dpkg: error processing package linux-generic-hwe-16.04-edge (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-4.15.0-20-generic
 linux-modules-extra-4.15.0-20-generic
 linux-image-generic-hwe-16.04-edge
 linux-generic-hwe-16.04-edge
E: Sub-process /usr/bin/dpkg returned an error code (1)
m@

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.