Re: cannot install odcb mariadb in bookworm
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 ...
Unpacking libodbccr2:amd64 (2.3.11-2+deb12u1) over (2.3.11-2) ...
Selecting previously unselected package odbc-postgresql:amd64.
Preparing to unpack
.../7-odbc-postgresql_1%3a13.02.0000-2+b1_amd64.deb ...
Unpacking odbc-postgresql:amd64 (1:13.02.0000-2+b1) ...
Selecting previously unselected package tdsodbc:amd64.
Preparing to unpack .../8-tdsodbc_1.3.17+ds-2_amd64.deb ...
Unpacking tdsodbc:amd64 (1.3.17+ds-2) ...
Preparing to unpack .../9-unixodbc_2.3.11-2+deb12u1_amd64.deb ...
Unpacking unixodbc (2.3.11-2+deb12u1) over (2.3.11-2) ...
Setting up unixodbc-common (2.3.11-2+deb12u1) ...
Setting up libodbc2:amd64 (2.3.11-2+deb12u1) ...
Setting up libodbccr2:amd64 (2.3.11-2+deb12u1) ...
Setting up libodbcinst2:amd64 (2.3.11-2+deb12u1) ...
Setting up odbcinst (2.3.11-2+deb12u1) ...
Setting up unixodbc (2.3.11-2+deb12u1) ...
Setting up tdsodbc:amd64 (1.3.17+ds-2) ...
odbcinst: SQLInstallDriverEx failed with Unable to find component
name.
dpkg: error processing package tdsodbc:amd64 (--configure):
installed tdsodbc:amd64 package post-installation script subprocess
returned error exit status 1
Setting up libodbc1:amd64 (2.3.11-2+deb12u1) ...
Setting up odbc-postgresql:amd64 (1:13.02.0000-2+b1) ...
odbcinst: SQLInstallDriverEx failed with Unable to find component
name.
dpkg: error processing package odbc-postgresql:amd64 (--configure):
installed odbc-postgresql:amd64 package post-installation script
subprocess returned error exit status 1
Setting up odbc-mariadb (3.1.15-3) ...
odbcinst: SQLInstallDriverEx failed with Unable to find component
name.
dpkg: error processing package odbc-mariadb (--configure):
installed odbc-mariadb package post-installation script subprocess
returned error exit status 1
Setting up odbcinst1debian2:amd64 (2.3.11-2+deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libc-bin (2.36-9) ...
Errors were encountered while processing:
tdsodbc:amd64
odbc-postgresql:amd64
odbc-mariadb
Error: Timeout was reached
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any ideas?
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici wb2una
covici@ccs.covici.com
Reply to: