機械:東芝MK1646GSX、インテルアトム[Eメール保護]、2048Mb。 32ビット。
オペレーティングシステム:Linuxライト3.8
PIDGIN依存関係をインストールしようとしています。
~> sudo apt-get build-dep pidgin
その後、インストールする代わりにこれを得ましたbuild-dep
。
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list
だから、検索してみると、これを行う必要があるというソースが見つかり、リストが自然に作成されましたrm -rf the sources.list
。apt-get update
予想通り、結果が悪い。リストは自動的に生成されません。次に、同じ内容で新しいリストを作成し、各行に固有のリストがあることを確認しますdeb-src
。すべての行が正しいです。しかし、インストールしようとしたらbuild-dep
どうすればいいですか?
ちょうど貼り付けリンクからコピーしたsource.list:
###### Ubuntu Main Repos
deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
###### Ubuntu Update Repos
deb http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-proposed main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu xenial-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
###### Ubuntu Partner Repos
deb http://archive.canonical.com/ xenial partner
# deb-src http://archive.canonical.com/ xenial partner
ベストアンサー1
deb-src
次の行のコメントを外します/etc/apt/sources.list
。
sudo sed -i 's/# deb-src/deb-src/' /etc/apt/sources.list
sudo apt update