The repository ' jammy Release' does not have a Release file

Hi Folks,

I’m trying to install confluent kafka -7.4 using ansible playbook but its failing with below error

fatal: [XX.XX.XX.XX]: FAILED! => {
    "attempts": 10,
    "changed": false,
    "invocation": {
        "module_args": {
            "codename": null,
            "filename": null,
            "install_python_apt": true,
            "mode": null,
            "repo": "deb jammy main",
            "state": "present",
            "update_cache": true,
            "update_cache_retries": 5,
            "update_cache_retry_max_delay": 12,
            "validate_certs": true
    "msg": "Failed to update apt cache: E:The repository ' jammy Release' does not have a Release file., W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., W: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details."

when I try wget to this link it gives output as below

Can anyone please suggest me where and what should be changed in order to resolve this issue.

1 Like

Same problem here using release 7.5.1.
The folder “jammy” (for Ubuntu 22.04) doesn’t exists in