How to install mssql-cli at UBUNTU 18 LTS?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
3
down vote

favorite
1












I am using apt install mssql-cli in a fresh UBUNTU 18 LTS, and, even after used this answer (mssql-server installed with successes) and this other one (executed all commands), there are "unmet dependencies",



apt 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
E: Unable to correct problems, you have held broken packages.



note



A similar problem when apt install powershell:



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:
powershell : Depends: libcurl3 but it is not going to be installed
Depends: libicu55 but it is not installable
E: Unable to correct problems, you have held broken packages.


dumps



/etc/apt/sources.list.d/microsoft.list:



 deb [arch=amd64] https://packages.microsoft.com/ubuntu/17.10/prod artful main


/etc/apt/sources.list:



deb http://mirrors.digitalocean.com/ubuntu/ bionic main restricted
deb-src http://mirrors.digitalocean.com/ubuntu/ bionic main restricted

deb http://mirrors.digitalocean.com/ubuntu/ bionic-updates main restricted
deb-src http://mirrors.digitalocean.com/ubuntu/ bionic-updates main restricted

deb http://mirrors.digitalocean.com/ubuntu/ bionic universe
deb-src http://mirrors.digitalocean.com/ubuntu/ bionic universe
deb http://mirrors.digitalocean.com/ubuntu/ bionic-updates universe
deb-src http://mirrors.digitalocean.com/ubuntu/ bionic-updates universe

deb http://mirrors.digitalocean.com/ubuntu/ bionic multiverse

deb http://mirrors.digitalocean.com/ubuntu/ bionic universe
deb-src http://mirrors.digitalocean.com/ubuntu/ bionic universe
deb http://mirrors.digitalocean.com/ubuntu/ bionic-updates universe
deb-src http://mirrors.digitalocean.com/ubuntu/ bionic-updates universe

deb http://mirrors.digitalocean.com/ubuntu/ bionic multiverse
deb-src http://mirrors.digitalocean.com/ubuntu/ bionic multiverse
deb http://mirrors.digitalocean.com/ubuntu/ bionic-updates multiverse
deb-src http://mirrors.digitalocean.com/ubuntu/ bionic-updates multiverse






share|improve this question


























    up vote
    3
    down vote

    favorite
    1












    I am using apt install mssql-cli in a fresh UBUNTU 18 LTS, and, even after used this answer (mssql-server installed with successes) and this other one (executed all commands), there are "unmet dependencies",



    apt 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
    E: Unable to correct problems, you have held broken packages.



    note



    A similar problem when apt install powershell:



    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:
    powershell : Depends: libcurl3 but it is not going to be installed
    Depends: libicu55 but it is not installable
    E: Unable to correct problems, you have held broken packages.


    dumps



    /etc/apt/sources.list.d/microsoft.list:



     deb [arch=amd64] https://packages.microsoft.com/ubuntu/17.10/prod artful main


    /etc/apt/sources.list:



    deb http://mirrors.digitalocean.com/ubuntu/ bionic main restricted
    deb-src http://mirrors.digitalocean.com/ubuntu/ bionic main restricted

    deb http://mirrors.digitalocean.com/ubuntu/ bionic-updates main restricted
    deb-src http://mirrors.digitalocean.com/ubuntu/ bionic-updates main restricted

    deb http://mirrors.digitalocean.com/ubuntu/ bionic universe
    deb-src http://mirrors.digitalocean.com/ubuntu/ bionic universe
    deb http://mirrors.digitalocean.com/ubuntu/ bionic-updates universe
    deb-src http://mirrors.digitalocean.com/ubuntu/ bionic-updates universe

    deb http://mirrors.digitalocean.com/ubuntu/ bionic multiverse

    deb http://mirrors.digitalocean.com/ubuntu/ bionic universe
    deb-src http://mirrors.digitalocean.com/ubuntu/ bionic universe
    deb http://mirrors.digitalocean.com/ubuntu/ bionic-updates universe
    deb-src http://mirrors.digitalocean.com/ubuntu/ bionic-updates universe

    deb http://mirrors.digitalocean.com/ubuntu/ bionic multiverse
    deb-src http://mirrors.digitalocean.com/ubuntu/ bionic multiverse
    deb http://mirrors.digitalocean.com/ubuntu/ bionic-updates multiverse
    deb-src http://mirrors.digitalocean.com/ubuntu/ bionic-updates multiverse






    share|improve this question
























      up vote
      3
      down vote

      favorite
      1









      up vote
      3
      down vote

      favorite
      1






      1





      I am using apt install mssql-cli in a fresh UBUNTU 18 LTS, and, even after used this answer (mssql-server installed with successes) and this other one (executed all commands), there are "unmet dependencies",



      apt 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
      E: Unable to correct problems, you have held broken packages.



      note



      A similar problem when apt install powershell:



      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:
      powershell : Depends: libcurl3 but it is not going to be installed
      Depends: libicu55 but it is not installable
      E: Unable to correct problems, you have held broken packages.


      dumps



      /etc/apt/sources.list.d/microsoft.list:



       deb [arch=amd64] https://packages.microsoft.com/ubuntu/17.10/prod artful main


      /etc/apt/sources.list:



      deb http://mirrors.digitalocean.com/ubuntu/ bionic main restricted
      deb-src http://mirrors.digitalocean.com/ubuntu/ bionic main restricted

      deb http://mirrors.digitalocean.com/ubuntu/ bionic-updates main restricted
      deb-src http://mirrors.digitalocean.com/ubuntu/ bionic-updates main restricted

      deb http://mirrors.digitalocean.com/ubuntu/ bionic universe
      deb-src http://mirrors.digitalocean.com/ubuntu/ bionic universe
      deb http://mirrors.digitalocean.com/ubuntu/ bionic-updates universe
      deb-src http://mirrors.digitalocean.com/ubuntu/ bionic-updates universe

      deb http://mirrors.digitalocean.com/ubuntu/ bionic multiverse

      deb http://mirrors.digitalocean.com/ubuntu/ bionic universe
      deb-src http://mirrors.digitalocean.com/ubuntu/ bionic universe
      deb http://mirrors.digitalocean.com/ubuntu/ bionic-updates universe
      deb-src http://mirrors.digitalocean.com/ubuntu/ bionic-updates universe

      deb http://mirrors.digitalocean.com/ubuntu/ bionic multiverse
      deb-src http://mirrors.digitalocean.com/ubuntu/ bionic multiverse
      deb http://mirrors.digitalocean.com/ubuntu/ bionic-updates multiverse
      deb-src http://mirrors.digitalocean.com/ubuntu/ bionic-updates multiverse






      share|improve this question














      I am using apt install mssql-cli in a fresh UBUNTU 18 LTS, and, even after used this answer (mssql-server installed with successes) and this other one (executed all commands), there are "unmet dependencies",



      apt 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
      E: Unable to correct problems, you have held broken packages.



      note



      A similar problem when apt install powershell:



      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:
      powershell : Depends: libcurl3 but it is not going to be installed
      Depends: libicu55 but it is not installable
      E: Unable to correct problems, you have held broken packages.


      dumps



      /etc/apt/sources.list.d/microsoft.list:



       deb [arch=amd64] https://packages.microsoft.com/ubuntu/17.10/prod artful main


      /etc/apt/sources.list:



      deb http://mirrors.digitalocean.com/ubuntu/ bionic main restricted
      deb-src http://mirrors.digitalocean.com/ubuntu/ bionic main restricted

      deb http://mirrors.digitalocean.com/ubuntu/ bionic-updates main restricted
      deb-src http://mirrors.digitalocean.com/ubuntu/ bionic-updates main restricted

      deb http://mirrors.digitalocean.com/ubuntu/ bionic universe
      deb-src http://mirrors.digitalocean.com/ubuntu/ bionic universe
      deb http://mirrors.digitalocean.com/ubuntu/ bionic-updates universe
      deb-src http://mirrors.digitalocean.com/ubuntu/ bionic-updates universe

      deb http://mirrors.digitalocean.com/ubuntu/ bionic multiverse

      deb http://mirrors.digitalocean.com/ubuntu/ bionic universe
      deb-src http://mirrors.digitalocean.com/ubuntu/ bionic universe
      deb http://mirrors.digitalocean.com/ubuntu/ bionic-updates universe
      deb-src http://mirrors.digitalocean.com/ubuntu/ bionic-updates universe

      deb http://mirrors.digitalocean.com/ubuntu/ bionic multiverse
      deb-src http://mirrors.digitalocean.com/ubuntu/ bionic multiverse
      deb http://mirrors.digitalocean.com/ubuntu/ bionic-updates multiverse
      deb-src http://mirrors.digitalocean.com/ubuntu/ bionic-updates multiverse








      share|improve this question













      share|improve this question




      share|improve this question








      edited May 27 at 19:16

























      asked May 25 at 0:00









      Peter Krauss

      69113




      69113




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          3
          down vote



          +25










          mssql-server-2017 is not supported on 18.04 yet. You should wait for Microsoft to support it and then change your apt source file accordingly. The instruction you should find here, once it is ready:



          https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu?view=sql-server-linux-2017#install



          Currently this only covers the installation for 16.04, and a corresponding APT repository for 18.04 does not exist yet.



          As an alternative to waiting you can install Ubuntu 16.04 and use Microsofts instructions linked above to install mssql-server. 16.04 is still a supported and widely used Ubuntu version.






          share|improve this answer



























            up vote
            1
            down vote













            Looks like we are missing the libicu60 alternative dependency. PR is out here: https://github.com/dbcli/mssql-cli/pull/205.



            This fix has been merged and released.



            Please rerun



            apt install mssql-cli



            it should resolve the additional alternative dependency for libicu60.






            share|improve this answer






















            • Hi @MrMeemus, seems the correct solution solution (!), but I left Ubuntu 18 in favor of Ubuntu 16, as other peoble suggested.
              – Peter Krauss
              Jun 3 at 13:15










            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1040028%2fhow-to-install-mssql-cli-at-ubuntu-18-lts%23new-answer', 'question_page');

            );

            Post as a guest






























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            3
            down vote



            +25










            mssql-server-2017 is not supported on 18.04 yet. You should wait for Microsoft to support it and then change your apt source file accordingly. The instruction you should find here, once it is ready:



            https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu?view=sql-server-linux-2017#install



            Currently this only covers the installation for 16.04, and a corresponding APT repository for 18.04 does not exist yet.



            As an alternative to waiting you can install Ubuntu 16.04 and use Microsofts instructions linked above to install mssql-server. 16.04 is still a supported and widely used Ubuntu version.






            share|improve this answer
























              up vote
              3
              down vote



              +25










              mssql-server-2017 is not supported on 18.04 yet. You should wait for Microsoft to support it and then change your apt source file accordingly. The instruction you should find here, once it is ready:



              https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu?view=sql-server-linux-2017#install



              Currently this only covers the installation for 16.04, and a corresponding APT repository for 18.04 does not exist yet.



              As an alternative to waiting you can install Ubuntu 16.04 and use Microsofts instructions linked above to install mssql-server. 16.04 is still a supported and widely used Ubuntu version.






              share|improve this answer






















                up vote
                3
                down vote



                +25







                up vote
                3
                down vote



                +25




                +25




                mssql-server-2017 is not supported on 18.04 yet. You should wait for Microsoft to support it and then change your apt source file accordingly. The instruction you should find here, once it is ready:



                https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu?view=sql-server-linux-2017#install



                Currently this only covers the installation for 16.04, and a corresponding APT repository for 18.04 does not exist yet.



                As an alternative to waiting you can install Ubuntu 16.04 and use Microsofts instructions linked above to install mssql-server. 16.04 is still a supported and widely used Ubuntu version.






                share|improve this answer












                mssql-server-2017 is not supported on 18.04 yet. You should wait for Microsoft to support it and then change your apt source file accordingly. The instruction you should find here, once it is ready:



                https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu?view=sql-server-linux-2017#install



                Currently this only covers the installation for 16.04, and a corresponding APT repository for 18.04 does not exist yet.



                As an alternative to waiting you can install Ubuntu 16.04 and use Microsofts instructions linked above to install mssql-server. 16.04 is still a supported and widely used Ubuntu version.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 29 at 20:56









                Sebastian Stark

                4,603838




                4,603838






















                    up vote
                    1
                    down vote













                    Looks like we are missing the libicu60 alternative dependency. PR is out here: https://github.com/dbcli/mssql-cli/pull/205.



                    This fix has been merged and released.



                    Please rerun



                    apt install mssql-cli



                    it should resolve the additional alternative dependency for libicu60.






                    share|improve this answer






















                    • Hi @MrMeemus, seems the correct solution solution (!), but I left Ubuntu 18 in favor of Ubuntu 16, as other peoble suggested.
                      – Peter Krauss
                      Jun 3 at 13:15














                    up vote
                    1
                    down vote













                    Looks like we are missing the libicu60 alternative dependency. PR is out here: https://github.com/dbcli/mssql-cli/pull/205.



                    This fix has been merged and released.



                    Please rerun



                    apt install mssql-cli



                    it should resolve the additional alternative dependency for libicu60.






                    share|improve this answer






















                    • Hi @MrMeemus, seems the correct solution solution (!), but I left Ubuntu 18 in favor of Ubuntu 16, as other peoble suggested.
                      – Peter Krauss
                      Jun 3 at 13:15












                    up vote
                    1
                    down vote










                    up vote
                    1
                    down vote









                    Looks like we are missing the libicu60 alternative dependency. PR is out here: https://github.com/dbcli/mssql-cli/pull/205.



                    This fix has been merged and released.



                    Please rerun



                    apt install mssql-cli



                    it should resolve the additional alternative dependency for libicu60.






                    share|improve this answer














                    Looks like we are missing the libicu60 alternative dependency. PR is out here: https://github.com/dbcli/mssql-cli/pull/205.



                    This fix has been merged and released.



                    Please rerun



                    apt install mssql-cli



                    it should resolve the additional alternative dependency for libicu60.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited May 31 at 16:56

























                    answered May 30 at 21:18









                    MrMeemus

                    112




                    112











                    • Hi @MrMeemus, seems the correct solution solution (!), but I left Ubuntu 18 in favor of Ubuntu 16, as other peoble suggested.
                      – Peter Krauss
                      Jun 3 at 13:15
















                    • Hi @MrMeemus, seems the correct solution solution (!), but I left Ubuntu 18 in favor of Ubuntu 16, as other peoble suggested.
                      – Peter Krauss
                      Jun 3 at 13:15















                    Hi @MrMeemus, seems the correct solution solution (!), but I left Ubuntu 18 in favor of Ubuntu 16, as other peoble suggested.
                    – Peter Krauss
                    Jun 3 at 13:15




                    Hi @MrMeemus, seems the correct solution solution (!), but I left Ubuntu 18 in favor of Ubuntu 16, as other peoble suggested.
                    – Peter Krauss
                    Jun 3 at 13:15












                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1040028%2fhow-to-install-mssql-cli-at-ubuntu-18-lts%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    Trouble downloading packages list due to a “Hash sum mismatch” error

                    How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                    How do I move numbers in filenames, in a batch renaming operation?