Score:0

Ubuntu 22.04 returns Sub-process https received signal 4 with sudo

us flag

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.

David avatar
cn flag
By default there is no root user in Ubuntu. So how are you logging in as root?
Emad Helmi avatar
us flag
@David `ssh helmi@host` then `whoami` results `helmi`. then `sudo -i` and executing `whoami` results `root` in my VM.
David avatar
cn flag
That info needs to be in the question. Please use edit and add it. Others trying to help will have same concern.
Emad Helmi avatar
us flag
@David is it now ok?
Score:0
us flag

You can use sudo GNUTLS_CPUID_OVERRIDE=0x1 apt-get update every time you want to update packages, but if you're going to make it permanent and system-wide, you must add export GNUTLS_CPUID_OVERRIDE=0x1 to the /etc/environment file.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.