package libc6-dev 2.38-1ubuntu6 failed to install/upgrade: trying to overwrite '/usr/lib/x86_64-linux-gnu/audit/sotruss-lib.so', which is also in package libc6:amd64 2.37-0ubuntu2.1

Bug #2042665 reported by ganesh
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
Status tracked in Noble
Mantic
Confirmed
Low
Unassigned
Noble
Confirmed
Medium
Unassigned

Bug Description

I am unable to install ubuntu 23.10 ,

ProblemType: Package
DistroRelease: Ubuntu 23.10
Package: libc6-dev 2.38-1ubuntu6
ProcVersionSignature: Ubuntu 6.2.0-36.37-generic 6.2.16
Uname: Linux 6.2.0-36-generic x86_64
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: pass
Date: Fri Nov 3 18:49:58 2023
DuplicateSignature:
 package:libc6-dev:2.38-1ubuntu6
 Unpacking libc6-dev:amd64 (2.38-1ubuntu6) over (2.37-0ubuntu2.1) ...
 dpkg: error processing archive /var/cache/apt/archives/libc6-dev_2.38-1ubuntu6_amd64.deb (--unpack):
  trying to overwrite '/usr/lib/x86_64-linux-gnu/audit/sotruss-lib.so', which is also in package libc6:amd64 2.37-0ubuntu2.1
ErrorMessage: trying to overwrite '/usr/lib/x86_64-linux-gnu/audit/sotruss-lib.so', which is also in package libc6:amd64 2.37-0ubuntu2.1
InstallationDate: Installed on 2023-02-08 (269 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
Python3Details: /usr/bin/python3.11, Python 3.11.6, python3-minimal, 3.11.4-5
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.22.0ubuntu1
 apt 2.7.3
SourcePackage: glibc
Title: package libc6-dev 2.38-1ubuntu6 failed to install/upgrade: trying to overwrite '/usr/lib/x86_64-linux-gnu/audit/sotruss-lib.so', which is also in package libc6:amd64 2.37-0ubuntu2.1
UpgradeStatus: Upgraded to mantic on 2023-11-03 (0 days ago)

Revision history for this message
ganesh (iamganesh) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "It shows in terminal when I am installing ubuntu latest version." seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Simon Chopin (schopin) wrote : Re: [Bug 2042665] Re: package libc6-dev 2.38-1ubuntu6 failed to install/upgrade: trying to overwrite '/usr/lib/x86_64-linux-gnu/audit/sotruss-lib.so', which is also in package libc6:amd64 2.37-0ubuntu2.1
Download full text (3.4 KiB)

Hi,

Thanks for the report. Which steps did you take to upgrade?

On Fri, 3 Nov 2023, 18:25 Ubuntu Foundations Team Bug Bot, <
<email address hidden>> wrote:

> The attachment "It shows in terminal when I am installing ubuntu latest
> version." seems to be a patch. If it isn't, please remove the "patch"
> flag from the attachment, remove the "patch" tag, and if you are a
> member of the ~ubuntu-reviewers, unsubscribe the team.
>
> [This is an automated message performed by a Launchpad user owned by
> ~brian-murray, for any issues please contact him.]
>
> ** Tags added: patch
>
> --
> You received this bug notification because you are a member of Ubuntu
> Toolchain Hackers, which is subscribed to glibc in Ubuntu.
> Matching subscriptions: glibc
> https://bugs.launchpad.net/bugs/2042665
>
> Title:
> package libc6-dev 2.38-1ubuntu6 failed to install/upgrade: trying to
> overwrite '/usr/lib/x86_64-linux-gnu/audit/sotruss-lib.so', which is
> also in package libc6:amd64 2.37-0ubuntu2.1
>
> Status in glibc package in Ubuntu:
> New
>
> Bug description:
> I am unable to install ubuntu 23.10 ,
>
> ProblemType: Package
> DistroRelease: Ubuntu 23.10
> Package: libc6-dev 2.38-1ubuntu6
> ProcVersionSignature: Ubuntu 6.2.0-36.37-generic 6.2.16
> Uname: Linux 6.2.0-36-generic x86_64
> ApportVersion: 2.27.0-0ubuntu5
> Architecture: amd64
> CasperMD5CheckResult: pass
> Date: Fri Nov 3 18:49:58 2023
> DuplicateSignature:
> package:libc6-dev:2.38-1ubuntu6
> Unpacking libc6-dev:amd64 (2.38-1ubuntu6) over (2.37-0ubuntu2.1) ...
> dpkg: error processing archive
> /var/cache/apt/archives/libc6-dev_2.38-1ubuntu6_amd64.deb (--unpack):
> trying to overwrite '/usr/lib/x86_64-linux-gnu/audit/sotruss-lib.so',
> which is also in package libc6:amd64 2.37-0ubuntu2.1
> ErrorMessage: trying to overwrite
> '/usr/lib/x86_64-linux-gnu/audit/sotruss-lib.so', which is also in package
> libc6:amd64 2.37-0ubuntu2.1
> InstallationDate: Installed on 2023-02-08 (269 days ago)
> InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64
> (20220809.1)
> Python3Details: /usr/bin/python3.11, Python 3.11.6, python3-minimal,
> 3.11.4-5
> PythonDetails: N/A
> RebootRequiredPkgs: Error: path contained symlinks.
> RelatedPackageVersions:
> dpkg 1.22.0ubuntu1
> apt 2.7.3
> SourcePackage: glibc
> Title: package libc6-dev 2.38-1ubuntu6 failed to install/upgrade: trying
> to overwrite '/usr/lib/x86_64-linux-gnu/audit/sotruss-lib.so', which is
> also in package libc6:amd64 2.37-0ubuntu2.1
> UpgradeStatus: Upgraded to mantic on 2023-11-03 (0 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2042665/+subscriptions
>
> Launchpad-Notification-Type: bug
> Launchpad-Bug: distribution=ubuntu; sourcepackage=glibc; component=main;
> status=New; importance=Undecided; assignee=None;
> Launchpad-Bug-Tags: amd64 apport-package mantic need-duplicate-check
> package-conflict patch
> Launchpad-Bug-Information-Type: Public
> Launchpad-Bug-Private: no
> Launchpad-Bug-Security-Vulnerability: no
> Launchpad-Bug-Commenters: crichton iamganesh
> Launchpad-Bug-Reporter: g...

Read more...

Revision history for this message
ganesh (iamganesh) wrote : Ubuntu Error Due To Upgrading 23.10

Hi,
I recently upgraded to Ubuntu 23.10 in the installation process this show
an error so, I am not completely install Ubuntu 23.10 and installed
partially. I attached a screenshot that is shown in my terminal. Please
suggest me fix which I install fully Ubuntu 23.10.
Thanks

Revision history for this message
Simon Chopin (schopin) wrote :

Are you *installing* Ubuntu or upgrading? If so, how did you upgrade? This looks like you tried to upgrade by manually editing your sources.list to point to Mantic, which isn't a supported method.

If so, you should be able to recover from the error by adding -o Dpkg::Options::="--force-overwrite" to the apt command you used to upgrade.

Revision history for this message
ganesh (iamganesh) wrote : Re: [Bug 2042665] Re: package libc6-dev 2.38-1ubuntu6 failed to install/upgrade: trying to overwrite '/usr/lib/x86_64-linux-gnu/audit/sotruss-lib.so', which is also in package libc6:amd64 2.37-0ubuntu2.1

On 11/5/23 2:13 PM, Simon Chopin wrote:
> Are you *installing* Ubuntu or upgrading? If so, how did you upgrade?
> This looks like you tried to upgrade by manually editing your
> sources.list to point to Mantic, which isn't a supported method.
>
> If so, you should be able to recover from the error by adding -o
> Dpkg::Options::="--force-overwrite" to the apt command you used to
> upgrade.
>
I am upgrading Ubuntu using*Software Updater *I am attaching *Software
Updater screenshot* and when I click continue then It shows error in
terminal that screenshot I have shared with you previously.

Please suggest me how can I fix this error.

Revision history for this message
ganesh (iamganesh) wrote : Fwd: [Bug 2042665] Re: package libc6-dev 2.38-1ubuntu6 failed to install/upgrade: trying to overwrite '/usr/lib/x86_64-linux-gnu/audit/sotruss-lib.so', which is also in package libc6:amd64 2.37-0ubuntu2.1

---------- Forwarded message ---------
From: ganesh <email address hidden>
Date: Sun, 5 Nov 2023 at 14:45
Subject: Re: [Bug 2042665] Re: package libc6-dev 2.38-1ubuntu6 failed to
install/upgrade: trying to overwrite
'/usr/lib/x86_64-linux-gnu/audit/sotruss-lib.so', which is also in package
libc6:amd64 2.37-0ubuntu2.1
To: Bug 2042665 <email address hidden>

On 11/5/23 2:13 PM, Simon Chopin wrote:

Are you *installing* Ubuntu or upgrading? If so, how did you upgrade?
This looks like you tried to upgrade by manually editing your
sources.list to point to Mantic, which isn't a supported method.

If so, you should be able to recover from the error by adding -o
Dpkg::Options::="--force-overwrite" to the apt command you used to
upgrade.

I am upgrading Ubuntu using* Software Updater *I am attaching *Software
Updater screenshot* and when I click continue then It shows error in
terminal that screenshot I have shared with you previously.

Please suggest me how can I fix this error.

Revision history for this message
ganesh (iamganesh) wrote : Ubuntu Upgrade New Bug

This error is shown in my terminal when I type *sudo apt upgrade* in my
terminal.

I am also attaching the error image that shows in my terminal.

Bug more information click this link
<https://askubuntu.com/questions/1491726/dpkg-error-after-upgrading-to-ubuntu-23-10>

Please help me to fix this issue.

Thank you

Revision history for this message
ganesh (iamganesh) wrote : Fwd: Ubuntu Upgrade New Bug

---------- Forwarded message ---------
From: Ganesh Mishra <email address hidden>
Date: Tue, 7 Nov 2023 at 18:58
Subject: Ubuntu Upgrade New Bug
To: Bug 2042665 <email address hidden>

This error is shown in my terminal when I type *sudo apt upgrade* in my
terminal.

I am also attaching the error image that shows in my terminal.

Bug more information click this link
<https://askubuntu.com/questions/1491726/dpkg-error-after-upgrading-to-ubuntu-23-10>

Please help me to fix this issue.

Thank you

Revision history for this message
Simon Chopin (schopin) wrote :

Hi,

The latter problem is unrelated to the issue at hand, as the folks at AskUbuntu have indicated it is an issue with grub-customizer, which incidentally hasn't been part of Ubuntu since *before* Jammy. Since your system used to be a Jammy one, which logically means you installed it from a third-party, e.g. a PPA. Please get in touch with whoever supplied it so that they can help you with this.

Now, that said, I can at least advise you to immediately back up your personal data before doing anything else, including attempting a reboot of the machine, since you're having issues with the bootloader.

Regarding the initial issue, there is indeed a small issue with a file that moved between libc6 and libc-dev between Lunar and Mantic without the proper metadata having been updated. However, upgrading from one version of Ubuntu to another isn't supposed to be done via the standard updater nor a simple `apt upgrade`, but rather through dedicated upgrade tooling, e.g. https://ubuntu.com/tutorials/upgrading-ubuntu-desktop#1-before-you-start for a graphical UI, or `do-release-upgrade` in a terminal.

To quickly unstuck you on the libc6/libc-dev issue, something along the lines of `sudo apt -o Dpkg::Options::="--force-overwrite" full-upgrade` should force through that part of the upgrade. However, that's a band-aid, but even assuming you manage to sort out your grub-customizer issues, you're likely to face further issues, since it appears you've tried to force the upgrade once the first problem was encountered, making it pretty hard to recover. My advice is to either restore from an earlier backup, or even simply reinstall.

Changed in glibc (Ubuntu):
importance: Undecided → Medium
Changed in glibc (Ubuntu Mantic):
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in glibc (Ubuntu Mantic):
status: New → Confirmed
Changed in glibc (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.