Score:1

apt upgrade fail with 401 on https://esm.ubuntu.com/infra/ubuntu

sh flag

I am trying to do a

sudo apt update
sudo apt upgrade 

However there are a lot of messages saying that I am not authorized against https://esm.ubuntu.com/infra/ubuntu

Err:3 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security/main amd64 imagemagick-6-common all 8:6.9.7.4+dfsg-16ubuntu6.15+esm1
  401  Unauthorized [IP: 185.125.190.23 443]

After some searching I understand that ESM is for Ubuntu customer that pay a subscription. I have used this Ubuntu instance for quite long time and is not aware of ESM nor opted in to it.

The instance is a LightSail from AWS. Did I understand anything wrong? What can I do to avoid this error?

Score:1
br flag

Have a look at your settings in the software updater. Especially the last tab. You are correct that the update is being denied because you are not authorized to connect to that server. It's easy and free to create an account to do livepatch updates.

enter image description here

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.