<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div dir="auto">Unfortunately here your choices are limited. The ODBC from Microsoft is different than the one in the repos and the two packages conflict.</div>
<div dir="auto"><br>
</div>
<div dir="auto">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.</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div id="composer_signature" dir="auto">
<div dir="auto" style="font-size:12px; color:#575757">Sent from my Galaxy</div>
</div>
<div dir="auto"><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>-------- Original message --------</div>
<div>From: Robert Ayrapetyan <robert.ayrapetyan@gmail.com> </div>
<div>Date: 2/11/23 18:56 (GMT-05:00) </div>
<div>To: ubuntu-devel-discuss@lists.ubuntu.com </div>
<div>Subject: Re: unixodbc-dev 2.3.11 seems broken </div>
<div><br>
</div>
<div>
<div dir="ltr">Seems it comes as part of msodbcsql18 from official MS repository...</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, Feb 11, 2023 at 3:46 PM Robert Ayrapetyan <<a href="mailto:robert.ayrapetyan@gmail.com">robert.ayrapetyan@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">You're right, it came from:
<div><br>
</div>
<div><a href="https://packages.microsoft.com/ubuntu/20.04/prod" target="_blank">https://packages.microsoft.com/ubuntu/20.04/prod</a> focal/main amd64 unixodbc-dev amd64 2.3.11 [42.1 kB]<br>
</div>
<div><br>
</div>
<div>What's the best way to install the right package (2.3.11-2) without removing MS repo?</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, Feb 11, 2023 at 3:09 PM Colin Watson <<a href="mailto:cjwatson@ubuntu.com" target="_blank">cjwatson@ubuntu.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
On Sat, Feb 11, 2023 at 10:13:13AM -0800, Robert Ayrapetyan wrote:<br>
> # lsb_release -a<br>
> No LSB modules are available.<br>
> Distributor ID: Ubuntu<br>
> Description: Ubuntu 20.04.5 LTS<br>
> Release: 20.04<br>
> Codename: focal<br>
> <br>
> <br>
> # apt show unixodbc-dev<br>
> Package: unixodbc-dev<br>
> Version: 2.3.11<br>
<br>
This is not a package that comes from Ubuntu 20.04, and in fact it<br>
doesn't appear to have come from any version of Ubuntu at all (versions<br>
of unixodbc-dev provided by Ubuntu have some kind of suffix after the<br>
upstream version number - for example, the version in Ubuntu 22.10 is<br>
2.3.11-2). Where did you get it from? The package is clearly broken,<br>
but that isn't an Ubuntu problem - perhaps you should reinstall the<br>
working version from Ubuntu.<br>
<br>
-- <br>
Colin Watson (he/him) [<a href="mailto:cjwatson@ubuntu.com" target="_blank">cjwatson@ubuntu.com</a>]<br>
<br>
-- <br>
Ubuntu-devel-discuss mailing list<br>
<a href="mailto:Ubuntu-devel-discuss@lists.ubuntu.com" target="_blank">Ubuntu-devel-discuss@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss" rel="noreferrer" target="_blank">
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss</a><br>
</blockquote>
</div>
</blockquote>
</div>
</div>
</body>
</html>