Я пытаюсь установить openbts, но для этого требуется множество зависимостей, некоторые из которых терпят неудачу:
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
Я полагаю, что могу структурировать команду таким образом, чтобы игнорировать разные версии на sqlite и установить его в любом случае (это нормально?), но я не понимаю, что происходит с libboost.
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
Я думал, что у меня может быть установлена другая версия:
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.
то же самое для этого:
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
Может кто-нибудь объяснить, что происходит?
попробуйте опцию build-dep, которая является лучшим вариантом для выхода из кошмара зависимостей. sudo apt-get build-dep <package-name>
(openbts в вашем случае)
Это автоматически создаст все необходимые зависимости.
Если вы введете следующее в окне терминала, это может помочь
sudo apt-get -f install libboost-python-dev s>
sudo apt-get -f install openbts
Опция -f
заставляет `apt-get загружать необходимые зависимости.