On Sat, 01 Jul 2023 06:16:33 -0400,
Alexander V. Makartsev wrote:
[1 <text/plain; UTF-8 (8bit)>]
On 30.06.2023 03:11, John Covici wrote:
Hi. I am trying to install odcb-mariadb in bookworm. It was fine in
bullseye, but in bookworm I get the following error:
Unpacking odbc-mariadb (3.1.15-3) over (3.1.15-3) ...
Setting up odbc-mariadb (3.1.15-3) ...
odbcinst: SQLInstallDriverEx failed with Unable to find component
name.
dpkg: error processing package odbc-mariadb (--configure):
How to fix?
Thanks in advance for any suggestions.
No errors on my system.
You might need to add "bookworm-proposed-updates" repo to
"/etc/apt/sources.list" and
reinstall "odbcinst" "unixodbc-common" "odbc-mariadb" packages like so:
$ sudo apt update
$ sudo apt install --reinstall unixodbc-common odbcinst odbc-mariadb
Backup "/etc/odbc.ini" and "/etc/odbcinst.ini" files before
re-installation just in case.
Diid not seem to work -- I got the following:
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 140553 files and directories currently
installed.)
Preparing to unpack .../0-unixodbc-common_2.3.11-2+deb12u1_all.deb ...
Unpacking unixodbc-common (2.3.11-2+deb12u1) over (2.3.11-2) ...
Preparing to unpack .../1-libodbcinst2_2.3.11-2+deb12u1_amd64.deb ...
Unpacking libodbcinst2:amd64 (2.3.11-2+deb12u1) over (2.3.11-2) ...
Preparing to unpack .../2-odbcinst1debian2_2.3.11-2+deb12u1_amd64.deb
...
Unpacking odbcinst1debian2:amd64 (2.3.11-2+deb12u1) over (2.3.11-2)
...
Preparing to unpack .../3-odbcinst_2.3.11-2+deb12u1_amd64.deb ...
Unpacking odbcinst (2.3.11-2+deb12u1) over (2.3.11-2) ...
Preparing to unpack .../4-libodbc2_2.3.11-2+deb12u1_amd64.deb ...
Unpacking libodbc2:amd64 (2.3.11-2+deb12u1) over (2.3.11-2) ...
Preparing to unpack .../5-libodbc1_2.3.11-2+deb12u1_amd64.deb ...
Unpacking libodbc1:amd64 (2.3.11-2+deb12u1) over (2.3.11-2) ...
Preparing to unpack .../6-libodbccr2_2.3.11-2+deb12u1_amd64.deb ...
...
Any ideas?
Are you using any 3rd-party apt repositories?