Debian: PPA を使用したパッケージのアップデートは、「gpg: 有効な OpenPGP データが見つかりません」というエラーで失敗します。

Debian: PPA を使用したパッケージのアップデートは、「gpg: 有効な OpenPGP データが見つかりません」というエラーで失敗します。

私のオペレーティングシステムはDebian 9.1とCinnamon 3.2.7です。パッケージマネージャからAudacius(バージョン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

Debian で Ubuntu PPA を使用しないでください。

Franken しない Debian Debian 安定リリースは他のリリースと組み合わせてはいけません。現在Debianの安定版で利用できないソフトウェアをインストールしたい場合は、他のDebianバージョン用のリポジトリを追加するのは良い考えではありません。これらの問題はすぐには発生しない可能性がありますが、次回のアップデートのインストール時に発生する可能性があります。

問題が発生する可能性のある理由は、特定のDebianバージョン用にパッケージ化されたソフトウェアが、そのバージョンの他のソフトウェアと互換性があるように設計されているためです。たとえば、拡張システムにBusterパッケージをインストールすると、libc6を含む最新バージョンのコアライブラリもインストールできます。これはテストも安定もしませんが、2つの混合システムが作成されます。

Debian Stableで使用すると、FrankenDebianリポジトリを作成できます。

Debian ベータ版 (現在 Buster)

Debian 不安定バージョン (sid とも呼ばれる)

Ubuntu、Mint、その他の派生リポジトリはDebianと互換性がありません!

Ubuntu PPA

源泉https://wiki.debian.org/DontBreakDebian

Debian リポジトリの Audacious にはどのような問題がありますか?https://packages.debian.org/search?keywords=audacious

おすすめ記事