ubuntu - Apt-get wants to install different version of dependencies for libboost-all-dev? -


when run sudo apt-get install libboost-all-dev error, seems common.

 reading package lists... done  building dependency tree         reading state information... done  packages not installed. may mean have  requested impossible situation or if using unstable  distribution required packages have not yet been created  or been moved out of incoming.  following information may resolve situation:   following packages have unmet dependencies:  libboost-all-dev : depends: libboost-context-dev not going installed                 depends: libboost-coroutine-dev not going installed                 depends: libboost-exception-dev not going installed                 depends: libboost-graph-dev not going installed                 depends: libboost-graph-parallel-dev not going installed                 depends: libboost-locale-dev not going installed                 depends: libboost-log-dev not going installed                 depends: libboost-math-dev not going installed                 depends: libboost-mpi-dev not going installed                 depends: libboost-mpi-python-dev not going installed                 depends: libboost-random-dev not going installed                 depends: libboost-signals-dev not going installed                 depends: libboost-timer-dev not going installed                 depends: libboost-wave-dev not going installed  e: unable correct problems, have held broken packages. 

after digging little bit deeper , trying install dependencies individually, first tried sudo apt-get install libboost-context-dev prompted me install libboost-context1.54-dev results in error

 libboost-context1.54-dev : depends: libboost1.54-dev (= 1.54.0-4ubuntu3) 1.54.0-4ubuntu3.1 installed 

it seems me dependency asks different version available through apt-get on system, i'm not sure what's going on here.

possible duplicate: dependency failure while installing libboost-all-dev on ubuntu core 14.04

i have encountered problem exact same package recurrent problem. have solved problem (installing libboost-all-dev) using following methodology. bit tedious works fine in around 5 10 minutes (depending on number of dependancies). in fact, had done way solution.

for each package in list of unmet dependencies, have follow dependency until find package can not installed because has more recent package available. force installation in downgraded version using = sign apt-get. example in case:

apt-get install libboost1.54-dev=1.54.0-4ubuntu3 

once have done dependencies, able install primary package (libboost-all-dev).

i not know if there better (faster) way it.


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -