проблема установить в boost lib

Из о том, как установить boost lib , я последовал решению, но меня встретило следующее сообщение:

Чтобы добавить больше информации, я пытался установить библиотеки из-за этого Тема, которую я разместил: Python Keplerian Toolbox

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-dev but it is not going to be installed
                    Depends: libboost-chrono-dev but it is not going to be installed
                    Depends: libboost-date-time-dev but it is not going to be installed
                    Depends: libboost-filesystem-dev but it is not going to be installed
                    Depends: libboost-graph-dev but it is not going to be installed
                    Depends: libboost-graph-parallel-dev but it is not going to be installed
                    Depends: libboost-iostreams-dev but it is not going to be installed
                    Depends: libboost-locale-dev but it is not going to be installed
                    Depends: libboost-math-dev but it is not going to be installed
                    Depends: libboost-mpi-dev but it is not going to be installed
                    Depends: libboost-mpi-python-dev but it is not going to be installed
                    Depends: libboost-program-options-dev but it is not going to be installed
                    Depends: libboost-python-dev but it is not going to be installed
                    Depends: libboost-random-dev but it is not going to be installed
                    Depends: libboost-regex-dev but it is not going to be installed
                    Depends: libboost-serialization-dev but it is not going to be installed
                    Depends: libboost-signals-dev but it is not going to be installed
                    Depends: libboost-system-dev but it is not going to be installed
                    Depends: libboost-test-dev but it is not going to be installed
                    Depends: libboost-thread-dev but it is not going to be installed
                    Depends: libboost-timer-dev but it is not going to be installed
                    Depends: libboost-wave-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Как это исправить?

ii  libboost-atomic1.53-dev                   1.53.0-3                               amd64        atomic data types, operations, and memory ordering constraints
ii  libboost-atomic1.53.0                     1.53.0-3                               amd64        atomic data types, operations, and memory ordering constraints
ii  libboost-chrono1.53-dev                   1.53.0-3                               amd64        C++ representation of time duration, time point, and clocks
ii  libboost-chrono1.53.0                     1.53.0-3                               amd64        C++ representation of time duration, time point, and clocks
ii  libboost-context1.53-dev                  1.53.0-3                               amd64        provides a sort of cooperative multitasking on a single thread
ii  libboost-context1.53.0                    1.53.0-3                               amd64        provides a sort of cooperative multitasking on a single thread
ii  libboost-date-time1.49.0                  1.49.0-3.2ubuntu1                      amd64        set of date-time libraries based on generic programming concepts
ii  libboost-date-time1.53-dev                1.53.0-3                               amd64        set of date-time libraries based on generic programming concepts
ii  libboost-date-time1.53.0                  1.53.0-3                               amd64        set of date-time libraries based on generic programming concepts
ii  libboost-exception1.53-dev                1.53.0-3                               amd64        set of date-time libraries based on generic programming concepts
ii  libboost-filesystem1.53-dev               1.53.0-3                               amd64        filesystem operations (portable paths, iteration over directories, etc) in C++
ii  libboost-filesystem1.53.0                 1.53.0-3                               amd64        filesystem operations (portable paths, iteration over directories, etc) in C++
ii  libboost-graph-parallel1.53-dev           1.53.0-3                               amd64        generic graph components and algorithms in C++
ii  libboost-graph-parallel1.53.0             1.53.0-3                               amd64        generic graph components and algorithms in C++
ii  libboost-graph1.53-dev                    1.53.0-3                               amd64        generic graph components and algorithms in C++
ii  libboost-graph1.53.0                      1.53.0-3                               amd64        generic graph components and algorithms in C++
ii  libboost-iostreams1.49.0                  1.49.0-3.2ubuntu1                      amd64        Boost.Iostreams Library
ii  libboost-iostreams1.53-dev                1.53.0-3                               amd64        Boost.Iostreams Library development files
ii  libboost-iostreams1.53.0                  1.53.0-3                               amd64        Boost.Iostreams Library
ii  libboost-locale1.53-dev                   1.53.0-3                               amd64        C++ facilities for localization
ii  libboost-locale1.53.0                     1.53.0-3                               amd64        C++ facilities for localization
ii  libboost-math1.53-dev                     1.53.0-3                               amd64        Boost.Math Library development files
ii  libboost-math1.53.0                       1.53.0-3                               amd64        Boost.Math Library
ii  libboost-mpi-python1.53-dev               1.53.0-3                               amd64        C++ interface to the Message Passing Interface (MPI), Python Bindings
ii  libboost-mpi-python1.53.0                 1.53.0-3                               amd64        C++ interface to the Message Passing Interface (MPI), Python Bindings
ii  libboost-mpi1.53-dev                      1.53.0-3                               amd64        C++ interface to the Message Passing Interface (MPI)
ii  libboost-mpi1.53.0                        1.53.0-3                               amd64        C++ interface to the Message Passing Interface (MPI)
ii  libboost-program-options1.53-dev          1.53.0-3                               amd64        program options library for C++
ii  libboost-program-options1.53.0            1.53.0-3                               amd64        program options library for C++
ii  libboost-python1.53-dev                   1.53.0-3                               amd64        Boost.Python Library development files
ii  libboost-python1.53.0                     1.53.0-3                               amd64        Boost.Python Library
ii  libboost-random1.53-dev                   1.53.0-3                               amd64        Boost Random Number Library
ii  libboost-random1.53.0                     1.53.0-3                               amd64        Boost Random Number Library
ii  libboost-regex1.53-dev                    1.53.0-3                               amd64        regular expression library for C++
ii  libboost-regex1.53.0                      1.53.0-3                               amd64        regular expression library for C++
ii  libboost-serialization1.53-dev            1.53.0-3                               amd64        serialization library for C++
ii  libboost-serialization1.53.0              1.53.0-3                               amd64        serialization library for C++
ii  libboost-signals1.53-dev                  1.53.0-3                               amd64        managed signals and slots library for C++
ii  libboost-signals1.53.0                    1.53.0-3                               amd64        managed signals and slots library for C++
ii  libboost-system1.53-dev                   1.53.0-3                               amd64        Operating system (e.g. diagnostics support) library
ii  libboost-system1.53.0                     1.53.0-3                               amd64        Operating system (e.g. diagnostics support) library
ii  libboost-test1.53-dev                     1.53.0-3                               amd64        components for writing and executing test suites
ii  libboost-test1.53.0                       1.53.0-3                               amd64        components for writing and executing test suites
ii  libboost-thread1.53-dev                   1.53.0-3                               amd64        portable C++ multi-threading
ii  libboost-thread1.53.0                     1.53.0-3                               amd64        portable C++ multi-threading
ii  libboost-timer1.53-dev                    1.53.0-3                               amd64        C++ wall clock and CPU process timers
ii  libboost-timer1.53.0                      1.53.0-3                               amd64        C++ wall clock and CPU process timers
ii  libboost-wave1.53-dev                     1.53.0-3                               amd64        C99/C++ preprocessor library
ii  libboost-wave1.53.0                       1.53.0-3                               amd64        C99/C++ preprocessor library
ii  libboost1.53-all-dev                      1.53.0-3                               amd64        Boost C++ Libraries development files (ALL)
ii  libboost1.53-dev                          1.53.0-3                               amd64        Boost C++ Libraries development files
1
задан 23 May 2017 в 15:39

2 ответа

Похоже, вы уже установили более высокую версию boost (1.53), текущая версия, для которой libboost-all-dev указывает тоже 1.49 (см. this ). Вы не можете установить и то и другое, поэтому вам нужно будет удалить новый буст, если вы хотите установить старый.

0
ответ дан 23 May 2017 в 15:39

Поскольку вы распаковываете двоичные файлы в свою систему, вам будет проще просто удалить и установить пакеты заново.

Удалите

sudo apt-get remove libboost-all-dev

Затем установите его снова с

sudo apt-get install libboost-all-dev

Наконец, вы можете очистить с помощью

sudo apt-get autoremove
0
ответ дан 23 May 2017 в 15:39

Другие вопросы по тегам:

Похожие вопросы: