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