Re: cannot install odcb mariadb in bookworm

2023-07-06 Thread John Covici


On Thu, 06 Jul 2023 03:26:12 -0400,
Alexander V. Makartsev wrote:
> 
> [1  ]
> On 06.07.2023 03:09, John Covici wrote:
> > On Wed, 05 Jul 2023 15:47:39 -0400,
> > Alexander V. Makartsev wrote:
> >> ...
> >> It's also a mystery why OP is trying to install "everything
> >> odbc", I doubt they need a driver for MSSQL along side with
> >> drivers for MariaDB and Postgres.
> >> So I'm on a path to figure out what could be wrong with the OP's
> >> system and what is their final goal.
> > I am upgrading freepbx...
> You've probably used this tutorial [1] to install FreePBX?
> If so, I think you can try to remove "/etc/odbcinst.ini" file and
> retry reinstallation of packages, because this file should be
> populated by odbcinst script automatically and maybe something in
> it prevents script from working.
> If that still doesn't help you've probably better asking for help
> on FreePBX forums. [2]
> 
> 
> [1]
> https://wiki.freepbx.org/display/FDT/How+to+Install+FreePBX+16+on+Debian+11+with+Asterisk+16
> [2] https://community.freepbx.org/

Well, I tried it and at least it was happy -- thanks a lot for the
hint.  There were quite a few more stanzas now in odbcinst.ini, so we
shall see if it actually works.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: cannot install odcb mariadb in bookworm

2023-07-06 Thread John Covici
On Thu, 06 Jul 2023 03:26:12 -0400,
Alexander V. Makartsev wrote:
> 
> [1  ]
> On 06.07.2023 03:09, John Covici wrote:
> > On Wed, 05 Jul 2023 15:47:39 -0400,
> > Alexander V. Makartsev wrote:
> >> ...
> >> It's also a mystery why OP is trying to install "everything
> >> odbc", I doubt they need a driver for MSSQL along side with
> >> drivers for MariaDB and Postgres.
> >> So I'm on a path to figure out what could be wrong with the OP's
> >> system and what is their final goal.
> > I am upgrading freepbx...
> You've probably used this tutorial [1] to install FreePBX?
> If so, I think you can try to remove "/etc/odbcinst.ini" file and
> retry reinstallation of packages, because this file should be
> populated by odbcinst script automatically and maybe something in
> it prevents script from working.
> If that still doesn't help you've probably better asking for help
> on FreePBX forums. [2]
> 
> 
> [1]
> https://wiki.freepbx.org/display/FDT/How+to+Install+FreePBX+16+on+Debian+11+with+Asterisk+16
> [2] https://community.freepbx.org/
> 

In that tutorial, it specifically tells you to install that file, so
I  left it  there  during the upgrade.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: cannot install odcb mariadb in bookworm

2023-07-06 Thread Alexander V. Makartsev

On 06.07.2023 03:09, John Covici wrote:

On Wed, 05 Jul 2023 15:47:39 -0400,
Alexander V. Makartsev wrote:

...
It's also a mystery why OP is trying to install "everything
odbc", I doubt they need a driver for MSSQL along side with
drivers for MariaDB and Postgres.
So I'm on a path to figure out what could be wrong with the OP's
system and what is their final goal.

I am upgrading freepbx...

You've probably used this tutorial [1] to install FreePBX?
If so, I think you can try to remove "/etc/odbcinst.ini" file and retry 
reinstallation of packages, because this file should be populated by 
odbcinst script automatically and maybe something in it prevents script 
from working.
If that still doesn't help you've probably better asking for help on 
FreePBX forums. [2]



[1] 
https://wiki.freepbx.org/display/FDT/How+to+Install+FreePBX+16+on+Debian+11+with+Asterisk+16

[2] https://community.freepbx.org/

--
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄

Re: cannot install odcb mariadb in bookworm

2023-07-05 Thread John Covici
On Wed, 05 Jul 2023 15:47:39 -0400,
Alexander V. Makartsev wrote:
> 
> [1  ]
> On 06.07.2023 00:18, Greg Wooledge wrote:
> > On Thu, Jul 06, 2023 at 12:07:27AM +0500, Alexander V. Makartsev wrote:
> >> 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?
> > I've seen that too, on my systems.  It's something that apt-get is
> > doing automatically, and it does not reflect the actual filenames of
> > the .deb files as they sit in /var/cache/apt/archives/.
> > 
> > Perhaps apt-get creates a symlink farm temp directory somewhere, with
> > these filenames as symlinks pointing to the real .deb files, for some
> > internal purpose.  I don't know.  It never felt important enough for me
> > to try to figure it out.
> It sure makes more difficult to compare the outputs...
> 
> > I doubt it has any relevance to the OP's problem.  I'd focus on this
> > error instead:
> > 
> > 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
> Even though error message seems obvious, "tdsodbc" package and
> all other odbc related packages install on my system without
> errors and I still can't reproduce the OP's problem.
> 
>...
>Setting up tdsodbc:amd64 (1.3.17+ds-2) ...
>odbcinst: Driver installed. Usage count increased to 1.
>     Target directory is /etc
>...
> 
> It's also a mystery why OP is trying to install "everything
> odbc", I doubt they need a driver for MSSQL along side with
> drivers for MariaDB and Postgres.
> So I'm on a path to figure out what could be wrong with the OP's
> system and what is their final goal.

I am upgrading freepbx which needs odcb access to the mariadb
databases.
Here is my odbc.ini

   [MySQL-asteriskcdrdb]
 Description = MySQL connection to 'asteriskcdrdb'
 database
   Driver = MySQL
Server = localhost
  Database = asteriskcdrdb
   Port = 3306
 Socket 
=
 /var/run/mysqld/mysqld.sock
   Option = 3

and here is my odbcinst.ini
   [MySQL]
 Description = ODBC for MySQL (MariaDB)
   Driver =
   /usr/lib/x86_64-linux-gnu/odbc/libmaodbc.so
 FileUsage = 1
and that library has a new version under bookworm.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: cannot install odcb mariadb in bookworm

2023-07-05 Thread John Covici
On Wed, 05 Jul 2023 15:18:20 -0400,
Greg Wooledge wrote:
> 
> On Thu, Jul 06, 2023 at 12:07:27AM +0500, Alexander V. Makartsev wrote:
> > 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?
> 
> I've seen that too, on my systems.  It's something that apt-get is
> doing automatically, and it does not reflect the actual filenames of
> the .deb files as they sit in /var/cache/apt/archives/.
> 
> Perhaps apt-get creates a symlink farm temp directory somewhere, with
> these filenames as symlinks pointing to the real .deb files, for some
> internal purpose.  I don't know.  It never felt important enough for me
> to try to figure it out.
> 
> I doubt it has any relevance to the OP's problem.  I'd focus on this
> error instead:
> 
> 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
> 

And that was my original error before putting in the proposed-updates
stanzas.

How to fix that error is my main question.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: cannot install odcb mariadb in bookworm

2023-07-05 Thread John Covici


On Wed, 05 Jul 2023 15:07:27 -0400,
Alexander V. Makartsev wrote:
> 
> [1  ]
> On 05.07.2023 23:23, John Covici wrote:
> > On Sat, 01 Jul 2023 06:16:33 -0400,
> > Alexander V. Makartsev wrote:
> >> [1  ]
> >> 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
 cov...@ccs.covici.com



Re: cannot install odcb mariadb in bookworm

2023-07-05 Thread Alexander V. Makartsev

On 06.07.2023 00:18, Greg Wooledge wrote:

On Thu, Jul 06, 2023 at 12:07:27AM +0500, Alexander V. Makartsev wrote:

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?

I've seen that too, on my systems.  It's something that apt-get is
doing automatically, and it does not reflect the actual filenames of
the .deb files as they sit in /var/cache/apt/archives/.

Perhaps apt-get creates a symlink farm temp directory somewhere, with
these filenames as symlinks pointing to the real .deb files, for some
internal purpose.  I don't know.  It never felt important enough for me
to try to figure it out.

It sure makes more difficult to compare the outputs...


I doubt it has any relevance to the OP's problem.  I'd focus on this
error instead:

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
Even though error message seems obvious, "tdsodbc" package and all other 
odbc related packages install on my system without errors and I still 
can't reproduce the OP's problem.


   ...
   Setting up tdsodbc:amd64 (1.3.17+ds-2) ...
   odbcinst: Driver installed. Usage count increased to 1.
    Target directory is /etc
   ...

It's also a mystery why OP is trying to install "everything odbc", I 
doubt they need a driver for MSSQL along side with drivers for MariaDB 
and Postgres.
So I'm on a path to figure out what could be wrong with the OP's system 
and what is their final goal.


--
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄

Re: cannot install odcb mariadb in bookworm

2023-07-05 Thread Greg Wooledge
On Thu, Jul 06, 2023 at 12:07:27AM +0500, Alexander V. Makartsev wrote:
> 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?

I've seen that too, on my systems.  It's something that apt-get is
doing automatically, and it does not reflect the actual filenames of
the .deb files as they sit in /var/cache/apt/archives/.

Perhaps apt-get creates a symlink farm temp directory somewhere, with
these filenames as symlinks pointing to the real .deb files, for some
internal purpose.  I don't know.  It never felt important enough for me
to try to figure it out.

I doubt it has any relevance to the OP's problem.  I'd focus on this
error instead:

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



Re: cannot install odcb mariadb in bookworm

2023-07-05 Thread Alexander V. Makartsev

On 05.07.2023 23:23, John Covici wrote:

On Sat, 01 Jul 2023 06:16:33 -0400,
Alexander V. Makartsev wrote:

[1  ]
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.



[1] https://paste.debian.net/

--
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄

Re: cannot install odcb mariadb in bookworm

2023-07-05 Thread John Covici
On Sat, 01 Jul 2023 06:16:33 -0400,
Alexander V. Makartsev wrote:
> 
> [1  ]
> 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.-2+b1_amd64.deb ...
Unpacking odbc-postgresql:amd64 (1:13.02.-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.-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
 cov...@ccs.covici.com



Re: cannot install odcb mariadb in bookworm

2023-07-01 Thread John Covici
OK, thanks very much.

On Sat, 01 Jul 2023 10:48:10 -0400,
Alexander V. Makartsev wrote:
> 
> [1  ]
> On 01.07.2023 18:44, John Covici wrote:
> > OK, thanks much --what do I add to my sources list for the proposed
> > updates?  Do I need all the lines ending with main free etc. or just
> > one line?
> > 
> It is up to you. If you need to solve the "odbc mariadb" problem,
> I think selecting just "main" will be enough, eg.:
> deb https://deb.debian.org/debian/ bookworm-proposed-updates main
> deb-src https://deb.debian.org/debian/ bookworm-proposed-updates main
> 
> Or you can add all other sections like so:
> deb https://deb.debian.org/debian/ bookworm-proposed-updates main
> contrib non-free non-free-firmware
> deb-src https://deb.debian.org/debian/ bookworm-proposed-updates
> main contrib non-free non-free-firmware
> 
> Consult Debian wiki for additional info:
> https://wiki.debian.org/SourcesList
> 
> -- 
> With kindest regards, Alexander.
> 
> ⢀⣴⠾⠻⢶⣦⠀
> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
> ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
> ⠈⠳⣄
> [2  ]

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: cannot install odcb mariadb in bookworm

2023-07-01 Thread Alexander V. Makartsev

On 01.07.2023 18:44, John Covici wrote:

OK, thanks much --what do I add to my sources list for the proposed
updates?  Do I need all the lines ending with main free etc. or just
one line?

It is up to you. If you need to solve the "odbc mariadb" problem, I 
think selecting just "main" will be enough, eg.:

deb https://deb.debian.org/debian/ bookworm-proposed-updates main
deb-src https://deb.debian.org/debian/ bookworm-proposed-updates main

Or you can add all other sections like so:
deb https://deb.debian.org/debian/ bookworm-proposed-updates main 
contrib non-free non-free-firmware
deb-src https://deb.debian.org/debian/ bookworm-proposed-updates main 
contrib non-free non-free-firmware


Consult Debian wiki for additional info:
https://wiki.debian.org/SourcesList

--
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄

Re: cannot install odcb mariadb in bookworm

2023-07-01 Thread John Covici
OK, thanks much --what do I add to my sources list for the proposed
updates?  Do I need all the lines ending with main free etc. or just
one line?


On Sat, 01 Jul 2023 06:16:33 -0400,
Alexander V. Makartsev wrote:
> 
> [1  ]
> 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.
> 
> 
> -- 
> With kindest regards, Alexander.
> 
> ⢀⣴⠾⠻⢶⣦⠀
> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
> ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
> ⠈⠳⣄
> [2  ]

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: cannot install odcb mariadb in bookworm

2023-07-01 Thread Alexander V. Makartsev

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.



--
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄

Re: cannot install odcb mariadb in bookworm

2023-06-30 Thread john doe

On 6/30/23 00: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?



The best way to having it being fixed is to file a bug report!

--
John Doe



cannot install odcb mariadb in bookworm

2023-06-29 Thread John Covici
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.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com