[Bug 2006998] Re: unable to upgrade package

Lukas Gamp 2006998 at bugs.launchpad.net
Tue Feb 14 08:47:17 UTC 2023


sudo apt purge libodbc1 odbcinst1debian2

returns:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'libodbc1' is not installed, so not removed
Package 'odbcinst1debian2' is not installed, so not removed
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 unixodbc : Depends: odbcinst1debian2 (>= 2.3.11) but it is not going to be installed
            Depends: libodbc1 (>= 2.3.11) but it is not going to be installed
 unixodbc-dev : Depends: odbcinst1debian2 (= 2.3.11) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


I am using wine. Can it be that the package manager is noticing them, but the are installed as virtual packages? So they are not found by apt?

Any solutions out there?

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

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