linux-server 安装依赖错误

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 (=; however:

  Version of linux-image-server on system is

linux-server depends on linux-headers-server (=; however:

  Version of linux-headers-server on system is

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


您的电子邮箱地址不会被公开。 必填项已用 * 标注