0

The output of sudo apt-get update command is:

Get:34 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 c-n-f Metadata [344 B]
Reading package lists... Done

E: The repository 'file:/cdrom noble Release' does not have a Release file.

N: Updating from such a repository can't be done securely, and is therefore disabled by default.

N: See apt-secure(8) manpage for repository creation and user configuration details.

Thank you for helping me to solve this problem My Ubuntu version is 24.04

Negar
  • 1

1 Answers1

0

the warning you are seeing is due to an attempt to update from a cd-rom repository that no longer has a valid release file.

to resolve this issue you have to edit /etc/apt/sources.list and remove or comment the cd-rom entry.

after this change update package lists again:

sudo apt-get update

this should resolve the issue, and you shouldn't see the warning about the cd-rom repository anymore.