package libc6-dev-i386 2.21-0ubuntu4 failed to install/upgrade: trying to overwrite '/usr/include/fpu_control.h', which is also in package libc6-dev-amd64:i386 2.21-0ubuntu4

Asked by Andrei Emeltchenko on 2015-10-30

Package fails to install

ProblemType: Package
DistroRelease: Ubuntu 15.10
Package: libc6-dev-i386 2.21-0ubuntu4
ProcVersionSignature: Ubuntu 4.2.0-17.21-generic 4.2.3
Uname: Linux 4.2.0-17-generic x86_64
ApportVersion: 2.19.1-0ubuntu4
Architecture: amd64
Date: Thu Oct 29 12:04:47 2015
DuplicateSignature: package:libc6-dev-i386:2.21-0ubuntu4:trying to overwrite '/usr/include/fpu_control.h', which is also in package libc6-dev-amd64:i386 2.21-0ubuntu4
ErrorMessage: trying to overwrite '/usr/include/fpu_control.h', which is also in package libc6-dev-amd64:i386 2.21-0ubuntu4
InstallationDate: Installed on 2015-10-28 (1 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
RelatedPackageVersions:
 dpkg 1.18.2ubuntu5
 apt 1.0.10.2ubuntu1
SourcePackage: glibc
Title: package libc6-dev-i386 2.21-0ubuntu4 failed to install/upgrade: trying to overwrite '/usr/include/fpu_control.h', which is also in package libc6-dev-amd64:i386 2.21-0ubuntu4
UpgradeStatus: No upgrade log present (probably fresh install)

Question information

Liangyc (liangyc-w) said : #1

I still have the same issue

My Ubuntu version is 15.10 and my error message is

liangyc@ubuntu:~$ sudo apt-get -f install
[sudo] password for liangyc:
Reading package lists... Done

.......

Do you want to continue? [Y/n] y
(Reading database ... 319950 files and directories currently installed.)
Preparing to unpack .../libc6-dev-i386_2.21-0ubuntu4_amd64.deb ...
Unpacking libc6-dev-i386 (2.21-0ubuntu4) ...
dpkg: error processing archive /var/cache/apt/archives/libc6-dev-i386_2.21-0ubuntu4_amd64.deb (--unpack):
 trying to overwrite '/usr/include/fpu_control.h', which is also in package libc6-dev-amd64:i386 2.21-0ubuntu4
Errors were encountered while processing:
 /var/cache/apt/archives/libc6-dev-i386_2.21-0ubuntu4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Can you help with this problem?

Provide an answer of your own, or ask Andrei Emeltchenko for more information if necessary.

To post a message you must log in.