Hi!
Vorerst einmal: ich verwende Ubuntu 13.10 64Bit!
Ich sitze gerade an einem C++ Projekt, für welches ich libboost benötige. Da ich erst vor kurzem das OS neu aufgesetzt habe, musste ich jede Menge Bibliotheken installieren. Als ich das Makefile laufen lies kam folgender Fehler:
/usr/bin/ld: cannot find -lboost_filesystem-mt /usr/bin/ld: cannot find -lboost_serialization-mt
Also wollte ich libboost-all-dev installieren, doch ich bekam die Meldung, dass das Packet schon auf neuesten Stand sei und das ich alte Pakete hätte, die ich nicht mehr benötige. Also habe ich diese mit apt-get deinstalliert!
Trotzdem mein apt-get mir sagte, ich hätte die Pakete installiert konnte mein Linker sie anscheinend immer noch nicht finden!
Jetzt zum "Holocaust": Etwas frustriert begann ich wild im apt-cache nach boost* Paketen zu suchen und habe diese einfach wild drauf los installiert (großer Fehler leider). Jetzt habe ich den Salat: Mein Paket-Manager sagt mir: Error: BrokenCount > 0, this usually means you have unment Packages.
sudo apt-get -f gibt folgendes:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: libboost-atomic1.53.0 libboost-chrono1.53.0 libboost-context1.53.0 libboost-date-time1.53.0 libboost-filesystem1.53.0 libboost-graph-parallel1.53.0 libboost-graph1.53.0 libboost-iostreams1.53.0 libboost-locale1.53.0 libboost-math1.53.0 libboost-mpi1.53.0 libboost-program-options1.53.0 libboost-random1.53.0 libboost-regex1.53.0 libboost-serialization1.53.0 libboost-signals1.53.0 libboost-test1.53.0 libboost-timer1.53.0 libboost-tools-dev libboost-wave1.53.0 libboost1.53-tools-dev Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libboost1.54-dev Suggested packages: libboost1.54-doc libboost-coroutine.54-dev libboost-log.54-dev xsltproc doxygen default-jdk fop The following NEW packages will be installed: libboost1.54-dev 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 51 not fully installed or removed. Need to get 0 B/10,3 MB of archives. After this operation, 101 MB of additional disk space will be used. Do you want to continue [Y/n]? Y (Reading database ... 560863 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) |
Sowol bei apt-get remove als auch autoremove kommt ebenfalls die broken pipe:
1 2 3 4 | 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) |
Möchte ich die boost-Libraries händisch mit apt-get remove deinstallieren bekomme ich eine ähnliche Fehlermeldung!
Weiß Jemand ob ich das wieder hinbiegen kann, oder hilft dann doch nur neu-installation?
mfg trunksen