Execute sudo dpkg -r libboost1.53-tools-dev
, então você poderá fazer o apt-get -f install
.
Eu estou tentando resolver alguns problemas do libboost. Eventualmente eu decidi que seria mais fácil removê-lo de forma limpa e começar do zero. Mas quando eu corro sudo apt-get --purge remove libboost*
i get:
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libcmis-0.3-3 : Depends: libboost-date-time1.53.0 but it is not going to be installed
liborcus-0.6-0 : Depends: libboost-system1.53.0 but it is not going to be installed
libreoffice-core : Depends: libboost-date-time1.53.0 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
, então eu corro sudo apt-get -f install
e obtenho
Reading database ... 200480 files and directories currently installed.)
Unpacking libboost1.54-dev (from .../libboost1.54-dev_1.54.0-2ubuntu3_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libboost1.54-dev_1.54.0-2ubuntu3_amd64.deb (--unpack):
trying to overwrite '/usr/bin/quickbook', which is also in package libboost1.53-tools-dev 1.53.0-6+exp3ubuntu8
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libboost1.54-dev_1.54.0-2ubuntu3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
agora estou preso nesse loop e não consigo nem desinstalar nem instalar
O que devo fazer?
Execute sudo dpkg -r libboost1.53-tools-dev
, então você poderá fazer o apt-get -f install
.