Não é possível instalar nenhum pacote

2

Não é possível instalar nenhum pacote no Debian 7.2 através do 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 também não funciona

    
por ole 15.11.2013 / 18:10

1 resposta

5

Seu sources.list está quebrado - está faltando a parte "estável" do repositório que contém a maior parte de todos os pacotes Debian. Você adicionou apenas a parte "wheezy / updates", que contém apenas atualizações para alguns pacotes de "stable".

Em vez disso, ele provavelmente deve ser algo assim (gerado com o link , supondo que você esteja na Rússia):

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
    
por 15.11.2013 / 18:17

Tags