root@w03:~# apt-get remove libcrypto++9 libcrypto++-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libcrypto++-dev libcrypto++9
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 24.5 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 82297 files and directories currently installed.)
Removing libcrypto++-dev (5.6.1-6+deb8u1build0.14.04.1) ...
Removing libcrypto++9 (5.6.1-6+deb8u3build0.14.04.1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
root@w03:~# apt-get install libcrypto++-dev libcrypto++9
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libcrypto++-dev libcrypto++9
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 925 kB/2,434 kB of archives.
After this operation, 24.5 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe libcrypto++9 amd64 5.6.1-6+deb8u3build0.14.04.1 [925 kB]
Fetched 925 kB in 0s (5,338 kB/s)
Selecting previously unselected package libcrypto++9.
(Reading database ... 82282 files and directories currently installed.)
Preparing to unpack .../libcrypto++9_5.6.1-6+deb8u3build0.14.04.1_amd64.deb ...
Unpacking libcrypto++9 (5.6.1-6+deb8u3build0.14.04.1) ...
Selecting previously unselected package libcrypto++-dev.
Preparing to unpack .../libcrypto++-dev_5.6.1-6+deb8u3build0.14.04.1_amd64.deb ...
Unpacking libcrypto++-dev (5.6.1-6+deb8u3build0.14.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libcrypto++-dev_5.6.1-6+deb8u3build0.14.04.1_amd64.deb (--unpack):
trying to overwrite '/usr/include/crypto++/vmac.h', which is also in package libcryptopp-dev 5.6.2-0~trusty6
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libcrypto++-dev_5.6.1-6+deb8u3build0.14.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@w03:~#