dbcli / mssql-cli

A command-line client for SQL Server with auto-completion and syntax highlighting
BSD 3-Clause "New" or "Revised" License
1.35k stars 192 forks source link

How to install on Debian buster #492

Open kopax opened 3 years ago

kopax commented 3 years ago

My end goal is to dump a Microsoft MSSQL database from Linux Debian.

I have following the Debian installation guide without success, apt-get install -f does not install required dependencies:

dka@dka:[~]: sudo apt-get install mssql-cli
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mssql-cli : Depends: libicu52 but it is not installable or
                      libicu55 but it is not installable or
                      libicu57 but it is not installable or
                      libicu60 but it is not installable
E: Unable to correct problems, you have held broken packages.
dka@dka:[~]: sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
dka@dka:[~]: sudo apt-get install mssql-cli
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mssql-cli : Depends: libicu52 but it is not installable or
                      libicu55 but it is not installable or
                      libicu57 but it is not installable or
                      libicu60 but it is not installable
E: Unable to correct problems, you have held broken packages.

How can I dump a MSSQL server to any format from LINUX?

Thank you.

sharpninja commented 3 years ago

Please update libicu to a modern version. Debian 9 supports libicu63 as a minimum.