Broken Pipe unmet dependencies

Asked by William McLellan

If you are using third party repositories then disable them, since they are a common source of problems.
Now run the following command in a terminal: apt-get install -f
Transaction failed: The package system is broken
 The following packages have unmet dependencies:

libodbc2: Depends: libc6 (>= 2.14) but 2.35-0ubuntu3.6 is installed
          Depends: libltdl7 (>= 2.4.6) but 2.4.6-15build2 is installed
libodbc2:i386: Depends: libc6 (>= 2.4) but 2.35-0ubuntu3.6 is installed
               Depends: libltdl7 (>= 2.4.6) but 2.4.6-15build2 is installed

$ sudo apt-get install -f
[sudo] password for william:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libqgis-3d3.36.0 libqgis-analysis3.36.0 libqgis-app3.36.0 libqgis-core3.36.0
  libqgis-gui3.36.0 libqgis-native3.36.0 libqgis-server3.36.0
  libqgisgrass7-3.36.0 libqgispython3.36.0
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libodbc2 libodbccr2
Suggested packages:
  odbc-postgresql tdsodbc
The following packages will be upgraded:
  libodbc2 libodbccr2
2 to upgrade, 0 to newly install, 0 to remove and 20 not to upgrade.
2 not fully installed or removed.
Need to get 0 B/176 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up coreutils (8.32-4.1ubuntu1.2) ...
(Reading database ... 391859 files and directories currently installed.)
Preparing to unpack .../libodbccr2_2.3.9-5ubuntu0.1_amd64.deb ...
Unpacking libodbccr2:amd64 (2.3.9-5ubuntu0.1) over (2.3.9-5) ...
dpkg: error processing archive /var/cache/apt/archives/libodbccr2_2.3.9-5ubuntu0.1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libodbccr.so.2.0.0', which is also in package libodbc1:amd64 2.3.11-1
Preparing to unpack .../libodbc2_2.3.9-5ubuntu0.1_amd64.deb ...
Unpacking libodbc2:amd64 (2.3.9-5ubuntu0.1) over (2.3.9-5) ...
dpkg: error processing archive /var/cache/apt/archives/libodbc2_2.3.9-5ubuntu0.1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libodbc.so.2.0.0', which is also in package libodbc1:amd64 2.3.11-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libodbccr2_2.3.9-5ubuntu0.1_amd64.deb
 /var/cache/apt/archives/libodbc2_2.3.9-5ubuntu0.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

What output do you receive for the command

apt --simulate remove libodbc1 -f

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.