Score:0

sudo apt update fails with "E: Method http has died unexpectedly! E: Sub-process http received signal 7"

th flag

I recently upgraded to Ubuntu 22.04 and ran sudo apt update and upgrade and both were successful. After a reboot, when I tried to run apt update, I got the following error:

Reading package lists... Done
E: Method http has died unexpectedly!
E: Sub-process http received signal 7.
E: Method /usr/lib/apt/methods/http did not start correctly
E: Method http has died unexpectedly!
E: Sub-process http received signal 7.
E: Method /usr/lib/apt/methods/http did not start correctly
E: Method http has died unexpectedly!
E: Sub-process http received signal 7.
E: Method /usr/lib/apt/methods/http did not start correctly
E: Method http has died unexpectedly!
E: Sub-process http received signal 7.
E: Method /usr/lib/apt/methods/http did not start correctly
E: Method https has died unexpectedly!
E: Sub-process https received signal 7.
E: Method /usr/lib/apt/methods/https did not start correctly
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/jammy/InRelease  
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease  
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease  
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease  
E: Failed to fetch https://dl.google.com/linux/chrome/deb/dists/stable/InRelease  
E: Some index files failed to download. They have been ignored, or old ones used instead.

I looked at other Q&As, but they're not exactly the same. E.g. I could find answers for Sub-process http received signal 4 but for my error case Sub-process http received signal 7.

Any help is appreciated.

pl flag
Do you have `apt-transport-https` installed?
prime_mover avatar
th flag
@popey. Yes. But I am closing this question as it's not relevant. In my case, my disk was corrupted sou machine was behaving unexpectedly.
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.