Microsoft MSSQL Repo: libodbc1 upgrade attempts to overwrite shared library
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unixodbc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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_
Unpacking libodbc1:amd64 (2.3.11) over (2.3.9-5) ...
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/lib/
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../odbcinst1de
Unpacking odbcinst1debian
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/lib/
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../odbcinst_
Unpacking odbcinst (2.3.11) over (2.3.9-5) ...
dpkg: error processing archive /var/cache/
trying to overwrite '/etc/odbc.ini', which is also in package unixodbc-common 2.3.9-5
Errors were encountered while processing:
/var/cache/
/var/cache/
/var/cache/
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:/
*** 2.3.9-5 500
500 http://
100 /var/lib/
2.3.7 500
500 https:/
$ apt policy odbcinst
odbcinst:
Installed: 2.3.9-5
Candidate: 2.3.11
Version table:
2.3.11 500
500 https:/
*** 2.3.9-5 500
500 http://
100 /var/lib/
2.3.7 500
500 https:/
$ apt policy odbcinst1debian2
odbcinst1debian2:
Installed: 2.3.9-5
Candidate: 2.3.11
Version table:
2.3.11 500
500 https:/
*** 2.3.9-5 500
500 http://
100 /var/lib/
2.3.7 500
500 https:/
$ lsb_release -rd
Description: KDE neon 5.27
Release: 22.04
information type: | Public → Public Security |
information type: | Public Security → Public |
information type: | Public → Public Security |
information type: | Public Security → Public |
Status changed to 'Confirmed' because the bug affects multiple users.