E: Não é possível corrigir problemas, você realizou pacotes quebrados. (instalação do cafe)

1

Estou tentando instalar o caffe particionando o disco rígido do meu PC. Eu vou usar os seguintes códigos para este propósito:

cd ~ 
mkdir deep-learning 
cd deep-learning
sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler 
sudo apt-get install --no-install-recommends libboost-all-dev  
sudo apt-get install libatlas-base-dev 
sudo apt-get install the python-dev 
sudo apt-get install libgflags-dev libgoogle-glog-dev liblmdb-dev
cd ~/deep-learning 
git clone http://github.com/BVLC/caffe.git
cd caffe

cp Makefile.config.example Makefile.config
#change to only cpu
# CPU_ONLY := 1

make all
make test
make runtest

cd ~/deep-learning/caffe 
make pycaffe 
echo export PYTHONPATH=~/deep-learning/caffe/python:$PYTHONPATH >> ~/.bashrc 

Mas depois de executar

sudo apt-get install libboost-all-dev

terminal está me mostrando erro dizendo

E: Unable to correct problems, you have held broken packages.
What can I do to solve this problem?
    
por Ruhi Sharmin 26.02.2017 / 17:01

0 respostas