Package Details: sqlpackage 161.6374.0-1

Git Clone URL: https://aur.archlinux.org/sqlpackage.git (read-only, click to copy)
Package Base: sqlpackage
Description: Command-line tool for creating and deploying SQL Server databases and DACPAC packages.
Upstream URL: https://docs.microsoft.com/en-us/sql/tools/sqlpackage-download
Licenses: custom
Submitter: badeball
Maintainer: badeball
Last Packager: badeball
Votes: 0
Popularity: 0.000000
First Submitted: 2020-02-07 09:11 (UTC)
Last Updated: 2022-11-29 20:41 (UTC)

Dependencies (0)

Required by (0)

Sources (1)

Latest Comments

sarvasana commented on 2022-04-28 16:50 (UTC) (edited on 2022-05-03 14:46 (UTC) by sarvasana)

sqlpackage 19.0-1 no longer works after icu 71.1-1.
Maybe sqlpackage or dotnet-runtime-3.1 3.1.20.sdk120-1 is not compiled with icu 71.1-1.
The error I get is below.
Reported upstream via sql-docs: https://github.com/MicrosoftDocs/sql-docs/issues/7526

Found a work around, adding either of the following lines to .bashrc or .zshrc:

  • export CLR_ICU_VERSION_OVERRIDE=71.1
  • export CLR_ICU_VERSION_OVERRIDE=$(pacman -Q icu | awk '{split($0,a," ");print a[2]}' | awk '{split($0,a,"-");print a[1]}')
Process terminated. Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.
   at System.Environment.FailFast(System.String)
   at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode()
   at System.Globalization.GlobalizationMode..cctor()
   at System.Globalization.CompareInfo.CompareOrdinalIgnoreCase(Char ByRef, Int32, Char ByRef, Int32)
   at System.Globalization.CompareInfo.CompareOrdinalIgnoreCase(System.String, Int32, Int32, System.String, Int32, Int32)
   at System.String.EndsWith(System.String, System.StringComparison)
   at System.Diagnostics.FileVersionInfo.LoadManagedAssemblyMetadata(System.Reflection.Metadata.MetadataReader, Boolean)
   at System.Diagnostics.FileVersionInfo.TryLoadManagedAssemblyMetadata()
   at System.Diagnostics.FileVersionInfo.GetVersionInfo(System.String)
   at Microsoft.Data.Tools.Schema.CommandLineTool.Program..cctor()
   at Microsoft.Data.Tools.Schema.CommandLineTool.Program.Main(System.String[])
[1]    6521 IOT instruction (core dumped)  sqlpackage