linux-ubuntu-で発生した問題


1.Package has no installation candidateの問題
今日ソフトウェアのインストール中にPackage has no installation candidateの問題が発生しました.
#  apt-get install
Reading package lists... Done
Building dependency tree... Done
Package aptitude is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package has no installation candidate
解決策は次のとおりです.
# apt-get update # apt-get upgrade # apt-get install
これでapt-getが正常に使えます~
サードパーティのアドレスを追加:
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update

  : apt-get install ***    ,  “apt-get update”  。