[Bug 2006998] [NEW] unable to upgrade package

Luis Armando MEx 2006998 at bugs.launchpad.net
Sat Feb 11 16:13:42 UTC 2023


Public bug reported:

==> 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)

** Affects: unixodbc (Ubuntu)
     Importance: Undecided
         Status: New

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