[Bug 2006998] Re: unable to upgrade package

Hugh McMaster 2006998 at bugs.launchpad.net
Sun Feb 12 12:25:59 UTC 2023


What version of Ubuntu are you running now? And what version were you
running before?

libodbc1 and odbcinst1debian2 are transitional packages and haven't
provided the conflicting files for a long time. I'm actually wondering
if your system has installed packages more recent than the
Breaks+Replaces and kept the older files (since moved to other
packages).

The best thing to do is to purge the transitional packages, libodbc1 and
odbcinst1debian2.

    sudo apt purge libodbc1 odbcinst1debian2

You'll also need to remove (or backup /etc/odbc.ini) to apt to complete
successfully.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unixodbc in Ubuntu.
https://bugs.launchpad.net/bugs/2006998

Title:
  unable to upgrade package

Status in unixodbc package in Ubuntu:
  New

Bug description:
  ==> apt list ---upgradable

  libodbc1/kinetic,bionic 2.3.11 amd64 [upgradable from: 2.3.9-5]

  
  ==> sudo apt upgrade 

  Building dependency tree... Done
  Reading state information... Done
  Correcting dependencies... Done
  The following packages were automatically installed and are no longer required:
    libnunit-cil-dev libnunit-console-runner2.6.3-cil libnunit-core-interfaces2.6.3-cil libnunit-core2.6.3-cil
    libnunit-framework2.6.3-cil libnunit-mocks2.6.3-cil libnunit-util2.6.3-cil libodbccr2
  Use 'sudo apt autoremove' to remove them.
  The following additional packages will be installed:
    libodbc1 odbcinst odbcinst1debian2
  Suggested packages:
    msodbcsql17 unixodbc-bin
  The following NEW packages will be installed:
    odbcinst odbcinst1debian2
  The following packages will be upgraded:
    libodbc1
  1 upgraded, 2 newly installed, 0 to remove and 9 not upgraded.
  2 not fully installed or removed.
  Need to get 0 B/607 kB of archives.
  After this operation, 916 kB of additional disk space will be used.
  Do you want to continue? [Y/n] Y
  (Reading database ... 730807 files and directories currently installed.)
  Preparing to unpack .../odbcinst_2.3.11_amd64.deb ...
  Unpacking odbcinst (2.3.11) ...
  dpkg: error processing archive /var/cache/apt/archives/odbcinst_2.3.11_amd64.deb (--unpack):
   trying to overwrite '/etc/odbc.ini', which is also in package unixodbc-common 2.3.9-5
  Preparing to unpack .../odbcinst1debian2_2.3.11_amd64.deb ...
  Unpacking odbcinst1debian2:amd64 (2.3.11) ...
  dpkg: error processing archive /var/cache/apt/archives/odbcinst1debian2_2.3.11_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/libodbcinst.so.2.0.0', which is also in package libodbcinst2:amd64 2.3.9-5
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Preparing to unpack .../libodbc1_2.3.11_amd64.deb ...
  Unpacking libodbc1:amd64 (2.3.11) over (2.3.9-5) ...
  dpkg: error processing archive /var/cache/apt/archives/libodbc1_2.3.11_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/libodbc.so.2.0.0', which is also in package libodbc2:amd64 2.3.9-5
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/odbcinst_2.3.11_amd64.deb
   /var/cache/apt/archives/odbcinst1debian2_2.3.11_amd64.deb
   /var/cache/apt/archives/libodbc1_2.3.11_amd64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unixodbc/+bug/2006998/+subscriptions




More information about the foundations-bugs mailing list