package libc6-dev-i386 (not installed) failed to install/upgrade: trying to overwrite '/usr/include/fpu_control.h', which is also in package libc6-dev-amd64:i386 2.23-0ubuntu9
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I ran sudo apt-get --fix-broken install
and got this:
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
Description: Ubuntu 16.04.3 LTS
Release: 16.04
apt-cache policy libc6-dev-
N: Unable to locate package libc6-dev-
N: Couldn't find any package by glob 'libc6-
N: Couldn't find any package by regex 'libc6-
I expected it to fix my video card driver issue with my new Supermicro X9DAi-O motherboard and other issue with it.
What happened is I got the above errors.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: libc6-dev-i386 (not installed)
ProcVersionSign
Uname: Linux 4.4.0-87-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
Date: Wed Jul 11 11:30:37 2018
DuplicateSignature:
package:
Unpacking libc6-dev-i386 (2.23-0ubuntu10) ...
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/include/
ErrorMessage: trying to overwrite '/usr/include/
InstallationDate: Installed on 2017-10-06 (278 days ago)
InstallationMedia: Ubuntu-Server 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
RelatedPackageV
dpkg 1.18.4ubuntu1.2
apt 1.2.24
SourcePackage: glibc
Title: package libc6-dev-i386 (not installed) failed to install/upgrade: trying to overwrite '/usr/include/
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
There are some complex relationships in biarch libc dev packages that are a bit tough to represent in a "don't do that" way. This is one of them.
The real question here is why would you have libc-dev-amd64:i386 installed on an amd64 system? libc6-dev:amd64 is effectively the same thing, but without the weird indirection of using a foreign architecture's biarch build.