When I want to update my vm I got the error:
E: Method https has died unexpectedly!E: Sub-process https received signal 4.
I searched the net and with this answer when I run sudo GNUTLS_CPUID_OVERRIDE=0x1 apt-get update
with non root user the issue is fixed. But when I add the line export GNUTLS_CPUID_OVERRIDE=0x1
to both /root/.bashrc
and myuser/.bashrc
and execute source .bashrc
the problem is not fixed.
When I login as root
user (ssh myuser@host
then whoami
results myuser
. then sudo -i
and executing whoami
results root
in my VM.) and run the command without sudo
it's ok. But even with the root
user and the sudo
prefix, the problem exists.