package libc6:amd64 2.31-0ubuntu6 failed to install/upgrade: installed libc6:amd64 package post-installation script subprocess returned error exit status 1

Bug #1868854 reported by Jesse Schulman
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Occurs when updating from Bionic or Eoan to Focal.
Possibly WSL related?

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: libc6:amd64 2.31-0ubuntu6
ProcVersionSignature: Microsoft 4.4.0-18362.476-Microsoft 4.4.35
Uname: Linux 4.4.0-18362-Microsoft x86_64
ApportVersion: 2.20.9-0ubuntu7.11
Architecture: amd64
Date: Tue Mar 24 11:31:47 2020
Dmesg: [ 0.004966] Microsoft 4.4.0-18362.476-Microsoft 4.4.35
ErrorMessage: installed libc6:amd64 package post-installation script subprocess returned error exit status 1
Python3Details: /usr/bin/python3.6, Python 3.6.9, python3-minimal, 3.6.7-1~18.04
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2.3
 apt 1.6.12
SourcePackage: glibc
Title: package libc6:amd64 2.31-0ubuntu6 failed to install/upgrade: installed libc6:amd64 package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to bionic on 2020-03-24 (0 days ago)

Revision history for this message
Jesse Schulman (vitrial) wrote :
tags: removed: need-duplicate-check
Revision history for this message
lotuspsychje (lotuspsychje) wrote :

Thank you for reporting this bug and make ubuntu better!

Can you please check bug: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1867431

to see if you have the same symptons to make it a duplicate?

Revision history for this message
Jesse Schulman (vitrial) wrote :

It looks similar, but I'm not sure if it's actually the same, my report has nothing to do with sudo.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in glibc (Ubuntu):
status: New → Confirmed
Revision history for this message
Gareth Woolridge (moon127) wrote :

I believe this is a change in libc6 2.31 now making an unsupported call in WSL which causes "sleep" to break:

https://github.com/microsoft/WSL/issues/4898

As a workaround I edited /var/lib/dpkg/info/libc6:arm64.postinst (as I was on arm64) and removed the "sleep 1" which was causing package install to fail.

Obviously that is a temporary hack, and if Focal supports WSL1 it will need to cope with that regression.

Revision history for this message
Gareth Woolridge (moon127) wrote :

And of course anything else on an affected system calling sleep be they scripts or packages will be similarly affected.

Revision history for this message
Gareth Woolridge (moon127) wrote :

Running sleep fails with:
sleep: cannot read realtime clock: Invalid argument

Matthias Klose (doko)
tags: added: rls-ff-incoming
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.