27
Mar

Ubuntu 13.10 error with libboost1.49-dev

I had many many errors trying to install libboost1.49-dev.


This resulted in not being able to update packages, make any other installs or software updates. Big Problem!

Errors such as
Unmet dependencies. Try 'apt-get -f install' with no packages
or

Unpacking libboost1.49-dev (from .../libboost1.49-dev_1.49.0-4_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libboost1.49-dev_1.49.0-4_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/bcp', which is also in package libboost1.53-tools-dev 1.53.0-6+exp3ubuntu8
No apport report written because MaxReports has already been reached
                                                                    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libboost1.49-dev_1.49.0-4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

 


What worked for me is as follows:

 

 

 

sudo rm /var/cache/apt/archives/libboost*

 


I then ran:

 

 

sudo apt-get install -f

 


These may not help, and aren't a guaranteed fix, but if they do help then great!

 


Linux,libboost,Ubuntu
982