web-dev-qa-db-ja.com

Ubuntu 14.04での設定、信頼できる

これは私のUbuntuの現在のバージョンです:

root@vps132318:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.2 LTS
Release:    14.04
Codename:   trusty

私はこの質問が何度か尋ねられたことを知っており、それらすべてをチェックしました。すべてのケースで、問題はUbuntuの現在のバージョンでした。 14.04バージョンを使用していますが、入力すると

root@ssss:~# Sudo add-apt-repository ppa:kurento/kurento
kurento/kurento
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --
homedir /tmp/tmp.mvnesaHwib --no-auto-check-trustdb --trust-model always --
keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --
keyserver keyserver.ubuntu.com --recv-keys

root@ssss:~# Sudo apt-get update
W: Failed to fetch      
http://ppa.launchpad.net/kurento/kurento/ubuntu/dists/lucid/main/binary-AMD64/Packages  404  Not Found
W: Failed to fetch http://ppa.launchpad.net/kurento/kurento/ubuntu/dists/lucid/main/binary-i386/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

root@ssss:~# Sudo apt-get install kurento-media-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package kurento-media-server

私が見つけた2つの解決策は次のとおりです。

  1. add-key one;しかし、彼らの場合、--recv-keys一部はキーを提供していたため、キーを追加していました。鉱山はそうではありません。紛失した鍵は渡されません。

  2. Sudo update apt-get、しかし、私には再び運がありません。

  3. 私も試してみましたapt-upgrade、運が悪い。

  4. 最後に、クリアしてみましたtrusted.gpg.dディレクトリですが、運はありません。

  5. 不足しているすべてのGPGキーを自動的にインポートします。 しかし、私が試したときSudo launchpad-getkeys、これは私が得るものです:

    Trying to import all the missing keys
    Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.emB6wtnXhs --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --keyserver-options http-proxy= --recv-keys
    Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.8jUZsvy2cn --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --keyserver-options http-proxy= --recv-keys
    Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.1pWJuVDYhk --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --keyserver-options http-proxy= --recv-keys
    Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.db8jIl1DVT --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --keyserver-options http-proxy= --recv-keys
    Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.VpS5aiBz52 --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --keyserver-options http-proxy= --recv-keys
    
    launchpad-getkeys has finished importing all missing GPG keys. Try running Sudo apt-get update - you shouldn't see any key  errors any more.
    .............................................................
    Note that launchpad-getkeys imports missing GPG keys but does not fix broken keys.
    

    その後 Sudo apt-get update

    Err http://ppa.launchpad.net lucid/main AMD64 Packages             
    404  Not Found
    Err http://ppa.launchpad.net lucid/main i386 Packages
    404  Not Found
    Ign http://ppa.launchpad.net lucid/main Translation-en_GB
    Ign http://ppa.launchpad.net lucid/main Translation-en
    Ign http://ppa.launchpad.net lucid/main Translation-en_GB
    Ign http://ppa.launchpad.net lucid/main Translation-en
    W: Failed to fetch      
    http://ppa.launchpad.net/kurento/kurento/ubuntu/dists/lucid/main/binary-AMD64/Packages  404  Not Found
    W: Failed to fetch http://ppa.launchpad.net/kurento/kurento/ubuntu/dists/lucid/main/binary-i386/Packages  404  Not Found
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    

私は何かを逃したり、間違ったことをしていますか?

1
senty

何らかの理由で、ソースに10.04 PPAがあります。エラーのあるURLをよく見てください。

http://ppa.launchpad.net/kurento/kurento/ubuntu/dists/lucid/main/binary-AMD64/Packages  

lucidは10.04です。

そのPPAの2つのエントリがある可能性があります。1つは今追加した14.04用で、もう1つは10.04用で、おそらくいくつかのアップグレードの二日酔いです。行う grep lucid /etc/apt/sources.list /etc/apt/sources.list.d/*.list、問題のあるエントリを見つけて削除します。

2
muru