![Debian: PPA를 사용한 패키지 업데이트가 "gpg: 유효한 OpenPGP 데이터를 찾을 수 없습니다" 오류와 함께 실패합니다.](https://linux55.com/image/143306/Debian%3A%20PPA%EB%A5%BC%20%EC%82%AC%EC%9A%A9%ED%95%9C%20%ED%8C%A8%ED%82%A4%EC%A7%80%20%EC%97%85%EB%8D%B0%EC%9D%B4%ED%8A%B8%EA%B0%80%20%22gpg%3A%20%EC%9C%A0%ED%9A%A8%ED%95%9C%20OpenPGP%20%EB%8D%B0%EC%9D%B4%ED%84%B0%EB%A5%BC%20%EC%B0%BE%EC%9D%84%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4%22%20%EC%98%A4%EB%A5%98%EC%99%80%20%ED%95%A8%EA%BB%98%20%EC%8B%A4%ED%8C%A8%ED%95%A9%EB%8B%88%EB%8B%A4..png)
내 운영 체제는 Debian 9.1 및 Cinnamon 3.2.7입니다. 패키지 관리자에서 Audacious(버전 3.7.2)를 설치했는데 최신 버전으로 업데이트하고 싶습니다. 모든이 지침, 다음을 입력하여 업데이트를 시도했습니다.
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install audacious
메시지가 표시될 때 Enter를 누르면 다음과 같은 출력이 표시됩니다.
gpg: keybox '/tmp/tmpseyl6p36/pubring.gpg' created
gpg: /tmp/tmpseyl6p36/trustdb.gpg: trustdb created
gpg: key 531EE72F4C9D234C: public key "Launchpad webupd8" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 688, in addkey_func
func(**kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 386, in add_key
return apsk.add_ppa_signing_key()
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 273, in add_ppa_signing_key
cleanup(tmp_keyring_dir)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 234, in cleanup
shutil.rmtree(tmp_keyring_dir)
File "/usr/lib/python3.5/shutil.py", line 480, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib/python3.5/shutil.py", line 438, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib/python3.5/shutil.py", line 436, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'S.gpg-agent.browser'
그런 다음 업데이트 단계( )를 실행하려고 하면 sudo apt-get install --only-upgrade audacious
더 많은 오류가 발생합니다.
Ign:1 http://deb.debian.org/debian stretch InRelease
Ign:2 http://www.scootersoftware.com bcompare4 InRelease
Ign:3 http://ftp.us.debian.org/debian stretch InRelease
Hit:4 http://deb.debian.org/debian stretch Release
Hit:5 http://www.scootersoftware.com bcompare4 Release
Hit:6 http://ftp.us.debian.org/debian stretch-updates InRelease
Hit:7 http://security.debian.org/debian-security stretch/updates InRelease
Hit:8 http://ftp.us.debian.org/debian stretch Release
Ign:11 http://ppa.launchpad.net/alexanderk23/ppa/ubuntu artful InRelease
Ign:13 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu disco InRelease
Err:14 http://ppa.launchpad.net/alexanderk23/ppa/ubuntu artful Release
404 Not Found
Err:15 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu disco Release
404 Not Found
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/alexanderk23/ppa/ubuntu artful 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.
E: The repository 'http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu disco 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.
마지막으로 설치 단계( sudo apt install audacious
)를 실행하면 최신 버전이 설치되었다고 나옵니다. PPA를 수락하지 않았어야 합니다.
Reading package lists... Done
Building dependency tree
Reading state information... Done
audacious is already the newest version (3.7.2-1+b1).
0 upgraded, 0 newly installed, 0 to remove and 241 not upgraded.
온라인으로 검색한 후 다음 명령을 입력하여 변경 사항을 취소했습니다.
sudo add-apt-repository --remove ppa:nilarimogard/webupd8
sudo apt update
sudo apt-key del 531EE72F4C9D234C
sudo apt update
PPA를 올바르게 추가하려면 어떤 추가 명령을 실행해야 합니까?
답변1
데비안과 함께 Ubuntu PPA를 사용하지 마세요.
Franken하지 마세요Debian 데비안 안정 릴리스는 다른 릴리스와 결합되어서는 안됩니다. 현재 Debian 안정 버전에서 사용할 수 없는 소프트웨어를 설치하려는 경우 다른 Debian 버전용 리포지토리를 추가하는 것은 좋은 생각이 아닙니다. 이러한 문제는 즉시 발생하지 않을 수도 있지만 다음에 업데이트를 설치할 때 발생할 수 있습니다.
문제가 발생할 수 있는 이유는 특정 데비안 버전용으로 패키지된 소프트웨어가 해당 버전의 다른 소프트웨어와 호환되도록 제작되었기 때문입니다. 예를 들어 확장 시스템에 Buster 패키지를 설치하면 libc6을 포함한 최신 버전의 핵심 라이브러리도 설치할 수 있습니다. 이로 인해 테스트되거나 안정적이지 않지만 두 가지가 혼합된 시스템이 생성됩니다.
Debian Stable과 함께 사용하면 FrankenDebian 저장소를 만들 수 있습니다:
데비안 베타 버전(현재 Buster)
데비안 불안정 버전(sid라고도 함)
Ubuntu, Mint 또는 기타 파생 저장소는 데비안과 호환되지 않습니다!
우분투 PPA
원천https://wiki.debian.org/DontBreakDebian
데비안 저장소의 Audacious에 어떤 문제가 있나요?https://packages.debian.org/search?keywords=audacious
답변2
이것은 귀하의 질문에 대한 답변은 아니지만 Debian 9에서 Audacious 3.10의 패키지 버전을 제공합니다. Debian 9에서 현재 Buster 패키지를 다시 빌드하는 방법은 다음과 같습니다.
필요한 확장 백포트를 활성화합니다.
echo deb http://deb.debian.org/debian stretch-backports main | sudo tee /etc/apt/sources.list.d/stretch-backports.list sudo apt update
필요한 몇 가지 유용한 도구를 설치하세요.
sudo apt install devscripts
임시 디렉토리로 변경
cd /tmp
소스 코드 패키지 다운로드
dget -xu http://deb.debian.org/debian/pool/main/a/audacious/audacious_3.10-1.dsc dget -xu http://deb.debian.org/debian/pool/main/a/audacious-plugins/audacious-plugins_3.10-1.dsc
굵게 작성 시작
cd audacious-3.10
빌드 종속성을 사용하여 메타 패키지를 빌드합니다(이렇게 하면 나중에 정리할 수 있습니다).
mk-build-deps debian/control
설치하고 방해가 되지 않는 곳으로 이동하세요.
sudo apt install ./audacious-build-deps_3.10-1_all.deb mv audacious-build-deps_3.10-1_all.deb ..
이제 굵게 작성하세요
dpkg-buildpackage -us -uc
Audacious 플러그인을 빌드하는 데 필요한 패키지를 설치합니다(이 패키지가 없으면 Audacious를 별도로 설치할 수 없습니다).
cd .. sudo dpkg -i audacious-dev_3.10-1_amd64.deb libaudcore5_3.10-1_amd64.deb libaudgui5_3.10-1_amd64.deb libaudtag3_3.10-1_amd64.deb
플러그인을 빌드하는 프로세스는 동일합니다(여기서는
debhelper
Stretch 백포트로 업그레이드해야 함).cd audacious-plugins-3.10 mk-build-deps debian/control sudo apt install -t stretch-backports debhelper sudo apt install ./audacious-plugins-build-deps_3.10-1_amd64.deb mv audacious-plugins-build-deps_3.10-1_amd64.deb .. dpkg-buildpackage -us -uc
Audacious와 플러그인 간의 상호 의존성은 빌드를 복잡하게 만들기 때문에 먼저 Audacious를 빌드하고 라이브러리와 개발 패키지를 설치한 다음 플러그인을 빌드해야 합니다. 모든 작업이 완료되면 생성된 패키지를 사용하여 Audacious 자체를 설치할 수 있습니다.
cd ..
sudo dpkg -i audacious_3.10-1_amd64.deb audacious-plugins_3.10-1_amd64.deb audacious-plugins-data_3.10-1_all.deb
빌드 중에 사용된 패키지를 정리하려면 다음 안내를 따르세요.
sudo apt purge audacious-dev build-essential debhelper devscripts gcc gcc-6 audacious-build-deps audacious-plugins-build-deps
sudo apt --purge autoremove