Skip to content

Instantly share code, notes, and snippets.

@nguyendachuy
Created February 19, 2024 04:19
Show Gist options
  • Save nguyendachuy/531d7a00e373dbd00e9324778e66f0df to your computer and use it in GitHub Desktop.
Save nguyendachuy/531d7a00e373dbd00e9324778e66f0df to your computer and use it in GitHub Desktop.
Fix the error: The repository 'https://ppa.launchpadcontent.net/ondrej/php/ubuntu mantic Release' does not have a Release file.
Reading package lists... Done
E: The repository 'https://ppa.launchpadcontent.net/ondrej/php/ubuntu mantic 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.
================================
cd /etc/apt/sources.list.d/
nano ondrej-ubuntu-php-mantic.sources
Change
Suites: maintic
To
Suites: jammy
==================
Types: deb
URIs: https://ppa.launchpadcontent.net/ondrej/php/ubuntu/
Suites: jammy
Components: main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment