Upgrade of LibC, Breaks PowerShell Snap Package

Asked by Mark Crouch

I filed a post on Ubuntu Forums with a I experienced testing Focal Ubuntu - Link below.
I have performed a temporary fix - I just want to notify the dev of the bug.

https://ubuntuforums.org/showthread.php?t=2438622

Summary 14/03/20 AM - Upgrade of libc caused an error with librt.so in starting the powershell snap.
Reverted to an earlier ZFS Snapshot, apt-mark held all libc upgrades.
Upgraded my system and pwsh started OK.

My /var/crash folder is empty

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

There is a known problem with updates of libc6 on focal (related to libcrypto.so), Bug #1867431

I assume that this is also the cause for your case, although I am not completely sure.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

What is the output of:

lsb_release -a

Thanks

Revision history for this message
Mark Crouch (macevic040) said :
#3

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
Codename: focal

My Dell Latitude has LibC packages held, which allows the PowerShell to run.
On my Desktop machine, I have allowed the latest LibC packages to upgrade and have replecated the error - output:

$ pwsh
Failed to load �&p, error: /snap/powershell/104/opt/powershell/../../lib/x86_64-linux-gnu/librt.so.1: undefined symbol: __clock_nanosleep, version GLIBC_PRIVATE
Failed to bind to CoreCLR at '/snap/powershell/104/opt/powershell/'
Failed to create CoreCLR, HRESULT: 0x80008088

Hope this helps.

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

This seems to be an error in the snap file, and not the glibc libs of Ubuntu.

https://github.com/PowerShell/PowerShell-Snap/issues/60
https://github.com/PowerShell/PowerShell-Snap/issues/56

Revision history for this message
Mark Crouch (sidewinder040) said :
#5

I left a comment on the first link you gave (issue 60), just so they're aware that it's not just Suse Tumbleweed that it's happening on.

Thanks for your replies Manfred.

Revision history for this message
Mark Crouch (sidewinder040) said :
#6

I left a comment on the first link you gave (issue 60), just so they're aware that it's not just Suse Tumbleweed that it's happening on.

Thanks for your replies Manfred.

Can you help with this problem?

Provide an answer of your own, or ask Mark Crouch for more information if necessary.

To post a message you must log in.