
Debian 7.2 にパッケージをインストールすることはできません。apt-get
root@sandbox:~# apt-get install curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
curl : Depends: libcurl3 (= 7.26.0-1+wheezy3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@sandbox:~# apt-cache policy curl
curl:
Installed: (none)
Candidate: 7.26.0-1+wheezy3
Version table:
7.26.0-1+wheezy3 0
500 http://security.debian.org/ wheezy/updates/main amd64 Packages
500 http://mirror.yandex.ru/debian-security/ wheezy/updates/main amd64 Packages
500 http://mirror.mephi.ru/debian-security/ wheezy/updates/main amd64 Packages
root@sandbox:~# cat /etc/apt/sources.list
deb http://security.debian.org/ wheezy/updates main contrib
deb-src http://security.debian.org/ wheezy/updates main contrib
#deb http://mirror.yandex.ru/debian-security/ wheezy/updates main contrib non-free
#deb-src http://mirror.yandex.ru/debian-security/ wheezy/updates main contrib non-free
#deb http://mirror.mephi.ru/debian-security/ wheezy/updates main contrib non-free
#deb-src http://mirror.mephi.ru/debian-security/ wheezy/updates main contrib non-free
apt-get -f install
動作しません
答え1
システムがsources.list
破損しています。ほとんどのDebianパッケージを含むリポジトリの「安定した」部分はありません。 「stable」の特定のパッケージに対する更新のみを含む「wheezy / updates」セクションを追加しました。
次のようにする必要があります(次に生成されます)。http://debgen.simplylinux.ch/、あなたがロシアにいると仮定):
deb http://ftp.ru.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free