Debian: PPA를 사용한 패키지 업데이트가 "gpg: 유효한 OpenPGP 데이터를 찾을 수 없습니다" 오류와 함께 실패합니다.

Debian: PPA를 사용한 패키지 업데이트가 "gpg: 유효한 OpenPGP 데이터를 찾을 수 없습니다" 오류와 함께 실패합니다.

내 운영 체제는 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
    
  • 플러그인을 빌드하는 프로세스는 동일합니다(여기서는 debhelperStretch 백포트로 업그레이드해야 함).

    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

관련 정보