1

I recently upgraded to ubuntu 24.04. When I run apt update I get the error: Malformed entry 1 in sources file /etc/apt/sources.list.d/ubuntu-esm-apps.sources (Suite)

How can I resolve this?

enter image description here

hoatzin
  • 647

1 Answers1

2

Note: Ubuntu 24.04 with Ubuntu Pro, and snapd purged.

What you show in the image (do NOT paste text as images!)
and what I have in the same file differs a bit, which may be due to differing settings...

But: create a backup copy of your file, and place a copy of mine in its original place.
This might help you get further.

$ cat /etc/apt/sources.list.d/ubuntu-esm-infra.sources 
# Written by ubuntu-pro-client
Types: deb
URIs: https://esm.ubuntu.com/infra/ubuntu
Suites: noble-infra-security
Components: main
Signed-By: /usr/share/keyrings/ubuntu-pro-esm-infra.gpg

$ cat /etc/apt/sources.list.d/ubuntu-esm-apps.sources

Written by ubuntu-pro-client

Types: deb URIs: https://esm.ubuntu.com/apps/ubuntu Suites: noble-apps-security Components: main Signed-By: /usr/share/keyrings/ubuntu-pro-esm-apps.gpg

Hannu
  • 6,605
  • 1
  • 28
  • 45