Moved working install to different system, getting https died signal 4 when running apt update

Ubuntu Version:

22.04 LTS

Desktop Environment (if applicable):

Problem Description:

Hello, I’m trying to troubleshoot an unusual connectivity problem after moving a working Ubuntu installation to a different computer. When I run sudo apt update it returns:
E: Method https has died unexpectedly!
E: Sub-process https received signal 4.

However if I run apt-get install on a package with an http instead of a https address it downloads fine

The old working system is a xeon e5 1650 v4 (broadwell), the new system with the https error is a dual socket xeon e5 2643 v3 (haswell)

Relevant System Information:

Dell t5810, 1x xeon e5 1650 v4 (works fine)
Dell t7910, 2x xeon e5 2643 v3 (errors)

Screenshots or Error Messages:

sudo apt update

E: Method https has died unexpectedly!
E: Sub-process https received signal 4.

What I’ve Tried:

I was reading there is a GnuTLS cpu optimization bug that can cause the https signal 4 error which can be supposedly fixed by setting the environmental variable GNUTLS_CPUID_OVERRIDE=0x1 but this did not work for me. I’m behind a proxy server and the Internet works fine otherwise using a web browser etc. both systems are tested using the same usb wireless adapter.

I’m puzzled as to why the old xeon system runs fine while the new one fails running apt update with this error. It seems like a cpu or motherboard configuration related bug?


The link below suggests adding that line to the /etc/environment file. Have you tried that?

https://askubuntu.com/questions/1420966/method-https-has-died-unexpectedly-sub-process-https-received-signal-4-after

In 22.04 and onwards you do not want to edit /etc/environment anymore but instead drop a file (with just the one variable you set) into the /etc/evironment.d dir …

yes it didn’t work. I think my cpu is cursed ha, I’m going to try installing a different chip. On a separate issue I’m getting illegal instruction errors when trying to compile llama.cpp from source using gcc-11 and gcc-10. something isn’t right with it