안녕하세요, 저는 Linux 서버(debian 10 Buster)를 가지고 있습니다.
명령어 입력 후 : sudo apt-get update
업데이트를 위해
디스플레이 오류:
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Hit:3 http://security.debian.org buster/updates InRelease
Get:4 http://apt.postgresql.org/pub/repos/apt buster-pgdg InRelease [110 kB]
Ign:5 http://ppa.launchpad.net/ondrej/pkg-gearman/ubuntu impish InRelease
Get:6 http://ppa.launchpad.net/ondrej/php/ubuntu impish InRelease [23.9 kB]
Hit:7 https://packages.sury.org/php buster InRelease
Err:8 http://ppa.launchpad.net/ondrej/pkg-gearman/ubuntu impish Release
404 Not Found [IP: 1200:89c:6950:8000::17 80]
Get:9 http://apt.postgresql.org/pub/repos/apt buster-pgdg/main amd64 Packages [246 kB]
Err:6 http://ppa.launchpad.net/ondrej/php/ubuntu impish InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4F4E..
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/ondrej/pkg-gearman/ubuntu impish 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.
W: GPG error: http://ppa.launchpad.net/ondrej/php/ubuntu impish InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4F4E.....
E: The repository 'http://ppa.launchpad.net/ondrej/php/ubuntu impish InRelease' is not signed.
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.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/php.list:1 and /etc/apt/sources.list.d/php7.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/php.list:1 and /etc/apt/sources.list.d/php7.list:1
W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/php.list:1 and /etc/apt/sources.list.d/php7.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/php.list:1 and /etc/apt/sources.list.d/php7.list:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/php.list:1 and /etc/apt/sources.list.d/php7.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/php.list:1 and /etc/apt/sources.list.d/php7.list:1
W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/php.list:1 and /etc/apt/sources.list.d/php7.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/php.list:1 and /etc/apt/sources.list.d/php7.list:1
이 문제를 어떻게 해결할 수 있나요?
답변1
당신이 지적한 저장소는 지원되지 않습니다 impish
. 지원되는 Ubuntu의 최신 버전은 focal
잠시 후 PPA가 유지 관리되지 않는 경우가 많습니다. 아마도 여기서 일어나는 일이겠죠.
Debian을 기본 소스로 사용하는 경우 buster
Debian용 소스만 추가하면 됩니다 buster
. Debian 시스템에 Ubuntu 아카이브를 추가하는 것은 지원되지 않습니다.
얼른 살펴봤습니다데비안 아카이브패키지는 php-gearman
Debian 아카이브에서 찾을 수 있습니다. 따라서 간단히 PPA를 제거 하고 sudo apt install php-gearman
.php-gearman
PPA 사용을 권장하는 튜토리얼은 드문 일이 아닙니다. 이는 일반적으로 배포판에서 검토한 안정적인 버전보다는 최신 버전의 소프트웨어를 사용하도록 권장하는 개발자가 작성합니다. 하지만 시스템에서는 안정적인 버전만 실행됩니다. 반짝반짝 신드롬에 시달리지 마세요.