[Bug 2039234] Re: libc6-dev:amd64 overwrites files from libc6:i386 and aborts update when upgrading to mantic
Simon Chopin
2039234 at bugs.launchpad.net
Fri Oct 13 07:49:44 UTC 2023
The issue isn't because of libc6-dev:i386, which is a multiarch package
and should cope just fine with sharing an identical file with its :amd64
counterpart. The issue is in the biarch package libc6-dev-i386:amd64.
What happened is that the fortran header was moved into an arch-specific
directory in the -dev packages for the 2.38, and instead the biarch
packages inserted a symlink in the generic path. That particular change
was picked up when I merged the Debian changes, but I didn't notice the
symlink part. What this means is that the 2.38 biarch packages need to
declare a Breaks+Replace relationship on the -dev packages << 2.37.
This will be fixed in an upcoming SRU. Meanwhile, to be able to upgrade
the easiest thing that comes to mind is to remove the biarch package
before upgrade and reinstall afterwards. Sorry for the inconvenience!
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/2039234
Title:
libc6-dev:amd64 overwrites files from libc6:i386 and aborts update
when upgrading to mantic
Status in glibc package in Ubuntu:
Triaged
Bug description:
This is a bug affecting mantic, apport selected lunar instead of
mantic because the bug happens in the middle of the upgrade from lunar
to mantic.
I tried to update from lunar to mantic, dpkg aborted with this error:
```
Dépaquetage de libc6-dev-i386 (2.38-1ubuntu6) sur (2.37-0ubuntu2.1) ...
dpkg: erreur de traitement de l'archive /var/cache/apt/archives/libc6-dev-i386_2.38-1ubuntu6_amd64.deb (--unpack) :
tentative de remplacement de « /usr/include/finclude/math-vector-fortran.h », qui appartient aussi au paquet libc6-dev:amd64 2.37-0ubuntu2.1
```
The message is in French, but the meaning is that dpkg aborts because
installing libc6-dev:o386 tries to overwrite files from
libc6-dev:amd64.
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: libc6 2.38-1ubuntu6
ProcVersionSignature: Ubuntu 6.2.0-33.33-generic 6.2.16
Uname: Linux 6.2.0-33-generic x86_64
NonfreeKernelModules: amddrm_ttm_helper amdttm amdxcp amddrm_buddy amd_sched amdkcl
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: GNOME
Date: Fri Oct 13 04:13:11 2023
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: glibc
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.default.apport:
# set this to 0 to disable apport, or to 1 to enable it
# you can temporarily override this with
# sudo service apport start force_start=1
enabled=0
mtime.conffile..etc.default.apport: 2018-06-16T17:39:00.798346
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2039234/+subscriptions
More information about the foundations-bugs
mailing list