Dependências pesadelo

-1

Estou tentando instalar o openbts, mas isso requer várias dependências, algumas das quais falham:

The following packages have unmet dependencies:
 libboost-all-dev : Depends: libboost-python-dev but it is not going to be installed
 libsqlite3-dev : Depends: libsqlite3-0 (= 3.7.9-2ubuntu1) but 3.7.9-2ubuntu1.1 is to be installed
 sqlite3 : Depends: libsqlite3-0 (= 3.7.9-2ubuntu1) but 3.7.9-2ubuntu1.1 is to be installed

Eu acho que posso estruturar o comando de modo a ignorar as diferentes versões do material sqlite e instalá-lo de qualquer forma (está tudo bem?), mas o que eu não entendo é o que está acontecendo com o libboost. / p>

apt-get install libboost-all-dev
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:
 libboost-all-dev : Depends: libboost-python-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

apt-get install libboost-python-dev
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:
 libboost-python-dev : Depends: libboost-python1.46-dev but it is not going to be installed

Eu pensei que poderia ter uma versão diferente instalada:

apt-get remove libboost-all-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libboost-all-dev is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 163 not upgraded.

o mesmo para isso:

apt-get remove libboost-python-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libboost-python-dev is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 163 not upgraded.



apt-get install libboost-python1.46-dev
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:
 libboost-python1.46-dev : Depends: python-dev but it is not going to be installed

Alguém poderia explicar o que está acontecendo?

    
por user169615 23.06.2013 / 18:21

2 respostas

0

Se você digitar o seguinte em uma janela do Terminal, poderá ajudar

sudo apt-get -f instala o libboost-python-dev

 sudo apt-get -f install openbts

A opção -f força o apt-get a carregar as dependências necessárias.

    
por SimplySimon 23.06.2013 / 18:34
0

experimente a opção build-dep que é a melhor opção para sair do pesadelo das dependências. sudo apt-get build-dep <package-name> (openbts no seu caso)

Isso criaria automaticamente todas as dependências necessárias.

    
por meteors 23.06.2013 / 19:29