Dear I got this error when I run this command . sudo dpkg --configure -a
Error: dpkg: dependency problems prevent configuration of linux-generic-hwe-18.04:
linux-generic-hwe-18.04 depends on linux-headers-generic-hwe-18.04 (= 188.8.131.52.42~18.04.29); however:
Version of linux-headers-generic-hwe-18.04 on system is 184.108.40.206.113.
dpkg: error processing package linux-generic-hwe-18.04 (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
How can I resolve this error.
When I run this command >> sudo apt dist-upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: The package linux-hwe-5.4-headers-5.4.0-38 needs to be reinstalled, but I can’t find an archive for it.
Please help me to resolved this error.