I have tried following commands
sudo apt-get remove mssql-server
sudo apt-get -f
but it is telling like this
The following packages have unmet dependencies: mssql-tools : Depends: msodbcsql17 (>= 17.2.0.0) but it is not going to be installed Depends: msodbcsql17 (< 17.3.0.0) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
kindly tell some working solution
答案 0 :(得分:1)
使用sudo apt-get -f install
修复丢失的依赖项,然后执行sudo apt-get remove mssql-server
卸载服务器。
您还可以使用sudo rm -rf /var/opt/mssql/
删除数据目录。 (请谨慎使用该命令:如果不小心,它将删除所有内容!)