user@XM4002951:~$ sudo apt-get install linux-server
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages will be upgraded:
1 upgraded, 0 newly installed, 0 to remove and 382 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1,734 B of archives.
After this operation, 1,024 B of additional disk space will be used.
dpkg: dependency problems prevent configuration of linux-server:
linux-server depends on linux-image-server (= 22.214.171.124.90); however:
Version of linux-image-server on system is 126.96.36.199.98.
linux-server depends on linux-headers-server (= 188.8.131.52.90); however:
Version of linux-headers-server on system is 184.108.40.206.98.
dpkg: error processing linux-server (–configure):
dependency problems – leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
user@XM4002951:~$ sudo dpkg-reconfigure linux-server
/usr/sbin/dpkg-reconfigure: linux-server is broken or not fully installed
sudo dpkg –remove linux-server
sudo apt-get install linux-server