When installing tdsodbc package the /etc/odbcinst.ini file is not updated to contain sections for the driver.

Bug #1173083 reported by Jarl
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
freetds (Debian)
New
Unknown
freetds (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

When installing tdsodbc package the /etc/odbcinst.ini file is not updated to contain sections for the driver.

For example when installing package odbc-postgresql the /etc/odbcinst.ini is updated to contain
[PostgreSQL ANSI]
Description = PostgreSQL ODBC driver (ANSI version)
Driver = psqlodbca.so
Setup = libodbcpsqlS.so
Debug = 0
CommLog = 1
UsageCount = 1

[PostgreSQL Unicode]
Description = PostgreSQL ODBC driver (Unicode version)
Driver = psqlodbcw.so
Setup = libodbcpsqlS.so
Debug = 0
CommLog = 1
UsageCount = 1

I would expect a similar update of that file when I install tdsodbc package

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: tdsodbc 0.91-1build1
ProcVersionSignature: Ubuntu 3.5.0-27.46-generic 3.5.7.7
Uname: Linux 3.5.0-27-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
Date: Fri Apr 26 10:44:48 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2011-10-18 (555 days ago)
InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MarkForUpload: True
ProcEnviron:
 LANGUAGE=
 TERM=xterm
 PATH=(custom, no user)
 LANG=da_DK.UTF-8
 SHELL=/bin/tcsh
SourcePackage: freetds
UpgradeStatus: Upgraded to quantal on 2012-11-10 (166 days ago)

Revision history for this message
Jarl (jarl-dk) wrote :
Steve Langasek (vorlon)
Changed in freetds (Ubuntu):
status: New → Triaged
Changed in freetds (Debian):
status: Unknown → New
Revision history for this message
Anatoli Babenia (abitrolly) wrote :

Looks like `tdsodbc` is meant to ask questions if the driver needs to be installed installed - https://salsa.debian.org/vorlon/freetds/blob/master/debian/tdsodbc.postinst and that question probably fails.

`odbc-postgresql` on the other hand installs driver unconditionally https://salsa.debian.org/postgresql/psqlodbc/blob/master/debian/odbc-postgresql.postinst

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.