[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cannot install odcb mariadb in bookworm



On Wed, 05 Jul 2023 15:07:27 -0400,
Alexander V. Makartsev wrote:
> 
> [1  <text/plain; UTF-8 (8bit)>]
> On 05.07.2023 23:23, John Covici wrote:
> > 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?
> I'm asking because package names you trying to install have
> prefixes like "0-...", "1-...", etc.
> Are you following some tutorial, or you've manually downloaded
> ".deb" files from somewhere?
> 
> Please include the exact command you've trying to run and its
> entire output, not just snippets of it, in the next reply.
> Additionally, get the output from this command:
> 
>    $ grep -rE "^deb " /etc/apt/sources.list*
> 
> You can use paste [1] service and put just the link in reply, if
> the output is too long.
Here is the command, just as you gave it to me, after putting the
proposed update stanzas.
apt install --reinstall unixodbc-common odbcinst  odbc-postgresql
tdsodbc

No other repositories.

-- 
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: