I have a package conflict. It seems like no matter what I do I can not remove the offending package.
apt-get acts like it wont actually remove a package until all dependencies are resolved. But I can't resolve dependencies because of the conflict.
john@john-GA-880GMA-USB3:~$ sudo apt-get -f purge assimp-dev Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: ros-electric-assimp : Depends: assimp-dev but it is not going to be installed ros-fuerte-robot-model : Depends: libassimp-dev but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I try apt-get -f install and receive the error:
sudo apt-get -f installReading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following extra packages will be installed: libassimp-dev The following NEW packages will be installed: libassimp-dev 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 6 not fully installed or removed. Need to get 0 B/88.8 kB of archives. After this operation, 470 kB of additional disk space will be used. Do you want to continue [Y/n]? Y (Reading database ... 358595 files and directories currently installed.) Unpacking libassimp-dev (from .../libassimp-dev_2.0.863+dfsg-2_i386.deb) ... dpkg: error processing /var/cache/apt/archives/libassimp-dev_2.0.863+dfsg-2_i386.deb (--unpack): trying to overwrite '/usr/include/assimp/aiAnim.h', which is also in package assimp-dev 18.104.22.168-ubuntu1~oneiric1 Errors were encountered while processing: /var/cache/apt/archives/libassimp-dev_2.0.863+dfsg-2_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)