无法在 Linux 上删除 mssql-server

无法在 Linux 上删除 mssql-server

为了使用 ASP.Net,我想安装 mssql-server。不幸的是,安装结束后会出现一些错误。因此,我想删除这个错误的安装,然后尝试重新安装。但是当我尝试删除 mssql-server 时,sudo apt-get remove mssql-server它显示了以下错误:

System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
dpkg: error processing package mssql-server (--remove):
 installed mssql-server package post-removal script subprocess returned error exit status 1
Errors were encountered while processing:
 mssql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

相关内容