Posts Tagged ‘dpkg’
dpkg error: trying to overwrite X, which is also in package Y
For an error like this:
dpkg: error processing /var/cache/apt/archives/AAA (--unpack): trying to overwrite `/usr/lib/BBB', which is also in package CCC dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: AAA E: Sub-process /usr/bin/dpkg returned an error code (1)
(where AAA,BBB,CCC are placeholder names, in case it wasn’t clear)
do
sudo dpkg -i --force-overwrite AAA
(give full path of AAA), and then run
sudo apt-get -f install
again.