Error: “E: Method https has died unexpectedly! E: Sub-process https received signal 4” during apt update on Ubuntu 22.04 with GNOME

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

This problem is observed in the server whenever a new nodejs or application is added

Here is the solution

alias apt-get='GNUTLS_CPUID_OVERRIDE=0x1 apt-get'

sudo GNUTLS_CPUID_OVERRIDE=0x1 apt-get update 

this works for me

according to this https://groups.google.com/g/linux.debian.bugs.dist/c/ItKoVDieSow

and you need to add ~/.bashrc with this

export  GNUTLS_CPUID_OVERRIDE=0x1 

for long-term use

Leave a comment

Your email address will not be published. Required fields are marked *