Cannot update 24.04

Ubuntu Version:
< Ubuntu version Ubuntu 24.04.1 LTS →

**Desktop Environ
–>Gnome

Hi I have a question,
My pc is refusing to open "software and updates.

using “apt-get update” I get this output

root@dd-desktop:/# apt update && sudo apt upgrade
E: Malformed entry 1 in sources file /etc/apt/sources.list.d/third-party.sources (URI parse)
E: The list of sources could not be read.

using Edit, the contents of etc/apt/sources.list.d/third-party.sources is

ypes: deb
URIs: cdrom:[Ubuntu 22.04.3 LTS Jammy Jellyfish - Release amd64 (20230807.2)]/
Suites: jammy
Components: main restricted.

Which is clearly the wrong Distro.

What should this file contain? and how did it revert to this state? since it was working after i updated from Jammy 2 years ago… :

Any help welcome.

Thanks, Donald.

Well - to directly answer the question - there is a missing upper case T in “ypes: deb” –
However - may I suggest that you remove the file - the CD source is no longer needed after an install completes and no longer serves a general use purpose.

As to how and why the file is so formatted - please see:
https://documentation.ubuntu.com/server/explanation/software/third-party-repository-usage/index.html

-hope this helps-

This topic was automatically closed after 30 days. New replies are no longer allowed.