安裝 Plasma 5 KDE ubuntu - 無法新增 PPA

安裝 Plasma 5 KDE ubuntu - 無法新增 PPA

我正在嘗試使用以下命令在我的 ubuntu 14.04 上安裝 Plasma 5 KDE:

sudo apt-add-repository ppa:kubuntu-ppa/next-backports
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install kubuntu-plasma5-desktop plasma-workspace-wallpapers

它在第一個命令後失敗並顯示訊息:

 Cannot add PPA: 'ppa:kubuntu-ppa/next-backports'.
Please check that the PPA name or format is correct.

我從以下連結獲得了所有內容

http://sourcedigit.com/14871-install-kde-plasma-5-2-ubuntu-14-04-ubuntu-14-10/

此錯誤訊息是什麼以及如何解決它?

答案1

ppa:kubuntu-ppa/next-backports是 PPA 的有效名稱,但沒有具有此名稱的 PPA。這裡是「Kubuntu Package Archives」團隊的有效 PPA 清單。

  • backports– Kubuntu 向後移植
  • beta– Kubuntu Beta 向後移植
  • experimental– Kubuntu 實驗
  • ppa– Kubuntu 更新
  • staging-frameworks– Kubuntu 暫存框架
  • staging-kdeapplications– Kubuntu Staging KDE 應用程式
  • staging-misc– Kubuntu 暫存雜項
  • staging-plasma– Kubuntu 分期血漿

因此安裝現有的 PPA,例如

sudo apt-add-repository ppa:kubuntu-ppa/backports

答案2

情況 1:您沒有使用任何代理伺服器

  • 重新安裝證書,使用::-

    sudo -E add-apt-repository ppa:ppaname/ppa

    例子 - - sudo -E add-apt-repository -y ppa:videolan/stable-daily

    [sudo -E 保留使用者環境,包括任何代理配置]

情況 2:如果您使用任何代理伺服器

  1. 在終端中配置代理

       If there is no username and password for the proxy settings ::-
    
            export http_proxy=http://proxy:port
            export https_proxy=http://proxy:port
    
       In case of Username and Password for the proxy settings use this ::-
    
         export http_proxy=http://username:password@host:port
         export https_proxy=https://username:password@host:port
    
    
       After this do::-
                  sudo -E add-apt-repository ppa:ppaname/ppa
    

    例子 - - sudo -E add-apt-repository -y ppa:videolan/stable-daily

    [sudo -E 保留使用者環境,包括任何代理配置]

相關內容