Created
June 21, 2017 15:32
-
-
Save jonnyeom/6af122d82e4abd24d74a6589e08d674b to your computer and use it in GitHub Desktop.
Vagrant Provision error with the msodbcsql package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TASK [Install mssql-tools.] **************************************************** | |
failed: [project] (item=[u'msodbcsql', u'mssql-tools']) => {"cache_update_time": 1498057704, "cache_updated": false, "failed": true, "item": ["msodbcsql", "mssql-tools"], "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'msodbcsql' 'mssql-tools'' failed: ERROR: The EULA was not accepted. Installation aborted.\nmssql-tools failed to preconfigure, with exit status 1\nE: Sub-process /usr/bin/dpkg returned an error code (1)\n", "stderr": "ERROR: The EULA was not accepted. Installation aborted.\nmssql-tools failed to preconfigure, with exit status 1\nE: Sub-process /usr/bin/dpkg returned an error code (1)\n", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following package was automatically installed and is no longer required:\n rlwrap\nUse 'sudo apt autoremove' to remove it.\nThe following additional packages will be installed:\n libodbc1 odbcinst odbcinst1debian2 unixodbc\nSuggested packages:\n libmyodbc odbc-postgresql tdsodbc unixodbc-bin\nThe following NEW packages will be installed:\n libodbc1 msodbcsql mssql-tools odbcinst odbcinst1debian2 unixodbc\n0 upgraded, 6 newly installed, 0 to remove and 221 not upgraded.\nNeed to get 5157 kB of archives.\nAfter this operation, 959 kB of additional disk space will be used.\nGet:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libodbc1 amd64 2.3.1-4.1 [180 kB]\nGet:2 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 odbcinst1debian2 amd64 2.3.1-4.1 [41.1 kB]\nGet:3 https://packages.microsoft.com/ubuntu/16.04/prod xenial/main amd64 msodbcsql amd64 13.1.8.0-1 [3638 kB]\nGet:4 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 odbcinst amd64 2.3.1-4.1 [13.1 kB]\nGet:5 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 unixodbc amd64 2.3.1-4.1 [20.5 kB]\nGet:6 https://packages.microsoft.com/ubuntu/16.04/prod xenial/main amd64 mssql-tools amd64 14.0.6.0-1 [1264 kB]\nPreconfiguring packages ...\nFetched 5157 kB in 1s (2660 kB/s)\nSelecting previously unselected package libodbc1:amd64.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 77454 files and directories currently installed.)\r\nPreparing to unpack .../libodbc1_2.3.1-4.1_amd64.deb ...\r\nUnpacking libodbc1:amd64 (2.3.1-4.1) ...\r\nSelecting previously unselected package odbcinst1debian2:amd64.\r\nPreparing to unpack .../odbcinst1debian2_2.3.1-4.1_amd64.deb ...\r\nUnpacking odbcinst1debian2:amd64 (2.3.1-4.1) ...\r\nSelecting previously unselected package odbcinst.\r\nPreparing to unpack .../odbcinst_2.3.1-4.1_amd64.deb ...\r\nUnpacking odbcinst (2.3.1-4.1) ...\r\nSelecting previously unselected package unixodbc.\r\nPreparing to unpack .../unixodbc_2.3.1-4.1_amd64.deb ...\r\nUnpacking unixodbc (2.3.1-4.1) ...\r\nSelecting previously unselected package msodbcsql.\r\nPreparing to unpack .../msodbcsql_13.1.8.0-1_amd64.deb ...\r\nERROR: The EULA was not accepted. Installation aborted.\r\ndpkg: error processing archive /var/cache/apt/archives/msodbcsql_13.1.8.0-1_amd64.deb (--unpack):\r\n subprocess new pre-installation script returned error exit status 1\r\nSelecting previously unselected package mssql-tools.\r\nPreparing to unpack .../mssql-tools_14.0.6.0-1_amd64.deb ...\r\nUnpacking mssql-tools (14.0.6.0-1) ...\r\nProcessing triggers for libc-bin (2.23-0ubuntu3) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nErrors were encountered while processing:\r\n /var/cache/apt/archives/msodbcsql_13.1.8.0-1_amd64.deb\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following package was automatically installed and is no longer required:", " rlwrap", "Use 'sudo apt autoremove' to remove it.", "The following additional packages will be installed:", " libodbc1 odbcinst odbcinst1debian2 unixodbc", "Suggested packages:", " libmyodbc odbc-postgresql tdsodbc unixodbc-bin", "The following NEW packages will be installed:", " libodbc1 msodbcsql mssql-tools odbcinst odbcinst1debian2 unixodbc", "0 upgraded, 6 newly installed, 0 to remove and 221 not upgraded.", "Need to get 5157 kB of archives.", "After this operation, 959 kB of additional disk space will be used.", "Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libodbc1 amd64 2.3.1-4.1 [180 kB]", "Get:2 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 odbcinst1debian2 amd64 2.3.1-4.1 [41.1 kB]", "Get:3 https://packages.microsoft.com/ubuntu/16.04/prod xenial/main amd64 msodbcsql amd64 13.1.8.0-1 [3638 kB]", "Get:4 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 odbcinst amd64 2.3.1-4.1 [13.1 kB]", "Get:5 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 unixodbc amd64 2.3.1-4.1 [20.5 kB]", "Get:6 https://packages.microsoft.com/ubuntu/16.04/prod xenial/main amd64 mssql-tools amd64 14.0.6.0-1 [1264 kB]", "Preconfiguring packages ...", "Fetched 5157 kB in 1s (2660 kB/s)", "Selecting previously unselected package libodbc1:amd64.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 77454 files and directories currently installed.)", "Preparing to unpack .../libodbc1_2.3.1-4.1_amd64.deb ...", "Unpacking libodbc1:amd64 (2.3.1-4.1) ...", "Selecting previously unselected package odbcinst1debian2:amd64.", "Preparing to unpack .../odbcinst1debian2_2.3.1-4.1_amd64.deb ...", "Unpacking odbcinst1debian2:amd64 (2.3.1-4.1) ...", "Selecting previously unselected package odbcinst.", "Preparing to unpack .../odbcinst_2.3.1-4.1_amd64.deb ...", "Unpacking odbcinst (2.3.1-4.1) ...", "Selecting previously unselected package unixodbc.", "Preparing to unpack .../unixodbc_2.3.1-4.1_amd64.deb ...", "Unpacking unixodbc (2.3.1-4.1) ...", "Selecting previously unselected package msodbcsql.", "Preparing to unpack .../msodbcsql_13.1.8.0-1_amd64.deb ...", "ERROR: The EULA was not accepted. Installation aborted.", "dpkg: error processing archive /var/cache/apt/archives/msodbcsql_13.1.8.0-1_amd64.deb (--unpack):", " subprocess new pre-installation script returned error exit status 1", "Selecting previously unselected package mssql-tools.", "Preparing to unpack .../mssql-tools_14.0.6.0-1_amd64.deb ...", "Unpacking mssql-tools (14.0.6.0-1) ...", "Processing triggers for libc-bin (2.23-0ubuntu3) ...", "Processing triggers for man-db (2.7.5-1) ...", "Errors were encountered while processing:", " /var/cache/apt/archives/msodbcsql_13.1.8.0-1_amd64.deb"]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment