Unfortunately here your choices are limited. The ODBC from Microsoft is different than the one in the repos and the two packages conflict.
>From my experience you will have to pick one or the other - use Microsoft's >packaged ODBC and no headers, or use the one in the repos with the headers and >not use Microsoft. Sent from my Galaxy -------- Original message -------- From: Robert Ayrapetyan <robert.ayrapet...@gmail.com> Date: 2/11/23 18:56 (GMT-05:00) To: ubuntu-devel-discuss@lists.ubuntu.com Subject: Re: unixodbc-dev 2.3.11 seems broken Seems it comes as part of msodbcsql18 from official MS repository... On Sat, Feb 11, 2023 at 3:46 PM Robert Ayrapetyan <robert.ayrapet...@gmail.com<mailto:robert.ayrapet...@gmail.com>> wrote: You're right, it came from: https://packages.microsoft.com/ubuntu/20.04/prod focal/main amd64 unixodbc-dev amd64 2.3.11 [42.1 kB] What's the best way to install the right package (2.3.11-2) without removing MS repo? On Sat, Feb 11, 2023 at 3:09 PM Colin Watson <cjwat...@ubuntu.com<mailto:cjwat...@ubuntu.com>> wrote: On Sat, Feb 11, 2023 at 10:13:13AM -0800, Robert Ayrapetyan wrote: > # lsb_release -a > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 20.04.5 LTS > Release: 20.04 > Codename: focal > > > # apt show unixodbc-dev > Package: unixodbc-dev > Version: 2.3.11 This is not a package that comes from Ubuntu 20.04, and in fact it doesn't appear to have come from any version of Ubuntu at all (versions of unixodbc-dev provided by Ubuntu have some kind of suffix after the upstream version number - for example, the version in Ubuntu 22.10 is 2.3.11-2). Where did you get it from? The package is clearly broken, but that isn't an Ubuntu problem - perhaps you should reinstall the working version from Ubuntu. -- Colin Watson (he/him) [cjwat...@ubuntu.com<mailto:cjwat...@ubuntu.com>] -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com<mailto:Ubuntu-devel-discuss@lists.ubuntu.com> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
-- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss