Ubuntu – Trying to overwrite ‘file’, which is also in package ‘*’, how to solve?

dpkg

I'm not able to update anything. I'm on 13.10.

When I try to install updates I get this:

dpkg: error processing /var/cache/apt/archives/librhythmbox-core7_3.0.1-0~13.10~ppa1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/librhythmbox-core.so.8.0.0', which is also in package librhythmbox-core8 3.0.1-1ubuntu5~ppa0
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/librhythmbox-core7_3.0.1-0~13.10~ppa1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Does anyone have a solution ?

Best Answer

  • The problem is because the package is trying to override /usr/lib/librhythmbox-core.so.8.0.0 which is provided by another package.

    librhythmbox-core7 is installed on your system, and you're trying to install librhythmbox-core8.

    You need to manually remove librhythmbox-core7 before you can install librhythmbox-core8.

    sudo dpkg --remove librhythmbox-core7
    sudo apt-get install librhythmbox-core8
    

    Also, inform the package maintainer about this.