Ошибка: The repository ondrej/php/ubuntu lunar Release does not have a Release file
При попытке установить PPA от ondrej/php столкнулся со следующей ошибкой: The repository 'https://ppa.launchpadcontent.net/ondrej/php/ubuntu lunar Release' does not have a Release file.
Выглядит так
1 2 3 4 5 6 7 8 9 10 11 12 |
$ sudo add-apt-repository ppa:ondrej/php $ sudo apt update ... Err:7 https://ppa.launchpadcontent.net/ondrej/php/ubuntu lunar Release 404 Not Found [IP: 2620:2d:4000:1::3e 443] Hit:8 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease Reading package lists... Done E: The repository 'https://ppa.launchpadcontent.net/ondrej/php/ubuntu lunar 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. |
Пофиксить можно подменой имени релиза
1 2 3 |
$ sudo nano /etc/apt/sources.list.d/ondrej-ubuntu-php-lunar.list |
и меняем lunar на jammy
1 2 3 4 |
deb https://ppa.launchpadcontent.net/ondrej/php/ubuntu/ lunar main # deb-src https://ppa.launchpadcontent.net/ondrej/php/ubuntu/ lunar main |
на
1 2 3 4 |
deb https://ppa.launchpadcontent.net/ondrej/php/ubuntu/ jammy main # deb-src https://ppa.launchpadcontent.net/ondrej/php/ubuntu/ jammy main |
далее, как обычно, запускаем
1 2 3 |
$ sudo apt get update |
и продолжаем с инсталяцией
Author: | Tags: /
| Rating:
Leave a Reply