[Bug 2007288] Re: Microsoft MSSQL Repo: libodbc1 upgrade attempts to overwrite shared library
Paride Legovini
2007288 at bugs.launchpad.net
Thu Feb 16 09:07:53 UTC 2023
As others noted this is an issue with third party packages/repositories,
and not a bug in Ubuntu. In any case looks like it got fixed on the
GitHub Actions side:
https://github.com/microsoft/linux-package-repositories/issues/39
** Bug watch added: github.com/microsoft/linux-package-repositories/issues #39
https://github.com/microsoft/linux-package-repositories/issues/39
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unixodbc in Ubuntu.
https://bugs.launchpad.net/bugs/2007288
Title:
Microsoft MSSQL Repo: libodbc1 upgrade attempts to overwrite shared
library
Status in unixodbc package in Ubuntu:
Fix Released
Bug description:
Upgrading libodbc1 fails with the following error below. I can
probably get past this with dpkg -i --force-overwrite but it seems
risky.
The following packages will be upgraded:
libodbc1 odbcinst odbcinst1debian2
3 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B/607 kB of archives.
After this operation, 836 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 447418 files and directories currently installed.)
Preparing to unpack .../libodbc1_2.3.11_amd64.deb ...
Unpacking libodbc1:amd64 (2.3.11) over (2.3.9-5) ...
dpkg: error processing archive /var/cache/apt/archives/libodbc1_2.3.11_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libodbc.so.2.0.0', which is also in package libodbc2:amd64 2.3.9-5
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../odbcinst1debian2_2.3.11_amd64.deb ...
Unpacking odbcinst1debian2:amd64 (2.3.11) over (2.3.9-5) ...
dpkg: error processing archive /var/cache/apt/archives/odbcinst1debian2_2.3.11_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libodbcinst.so.2.0.0', which is also in package libodbcinst2:amd64 2.3.9-5
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../odbcinst_2.3.11_amd64.deb ...
Unpacking odbcinst (2.3.11) over (2.3.9-5) ...
dpkg: error processing archive /var/cache/apt/archives/odbcinst_2.3.11_amd64.deb (--unpack):
trying to overwrite '/etc/odbc.ini', which is also in package unixodbc-common 2.3.9-5
Errors were encountered while processing:
/var/cache/apt/archives/libodbc1_2.3.11_amd64.deb
/var/cache/apt/archives/odbcinst1debian2_2.3.11_amd64.deb
/var/cache/apt/archives/odbcinst_2.3.11_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Information about my system:
$ apt policy libodbc1
libodbc1:
Installed: 2.3.9-5
Candidate: 2.3.11
Version table:
2.3.11 500
500 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main amd64 Packages
*** 2.3.9-5 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
100 /var/lib/dpkg/status
2.3.7 500
500 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main amd64 Packages
$ apt policy odbcinst
odbcinst:
Installed: 2.3.9-5
Candidate: 2.3.11
Version table:
2.3.11 500
500 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main amd64 Packages
*** 2.3.9-5 500
500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
100 /var/lib/dpkg/status
2.3.7 500
500 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main amd64 Packages
$ apt policy odbcinst1debian2
odbcinst1debian2:
Installed: 2.3.9-5
Candidate: 2.3.11
Version table:
2.3.11 500
500 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main amd64 Packages
*** 2.3.9-5 500
500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
100 /var/lib/dpkg/status
2.3.7 500
500 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main amd64 Packages
$ lsb_release -rd
Description: KDE neon 5.27
Release: 22.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unixodbc/+bug/2007288/+subscriptions
More information about the foundations-bugs
mailing list