http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu
gimp 2.9.5 failed to update properly, and attempting to fix it with the general remedy proposed all over askubuntu fails, like this:
$ sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following additional packages will be installed: gimp Suggested packages: gimp-help-en | gimp-help The following packages will be upgraded: gimp 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 3 not fully installed or removed. Need to get 0 B/3 548 kB of archives. After this operation, 37,9 kB of additional disk space will be used. Do you want to continue? [Y/n] Y (Reading database ... 220805 files and directories currently installed.) Preparing to unpack .../gimp_2.9.5~79-0x21~ppa~5170980_amd64.deb ... Unpacking gimp (2.9.5~79-0x21~ppa~5170980) over (2.9.5~71-0x0~ppa~00faf17) ... dpkg: error processing archive /var/cache/apt/archives/gimp_2.9.5~79-0x21~ppa~5170980_amd64.deb (--unpack): trying to overwrite '/usr/lib/gimp/2.0/plug-ins/wavelet-decompose', which is also in package gimp-plugin-registry 7.20140602ubuntu2 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/gimp_2.9.5~79-0x21~ppa~5170980_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) $
The remedy is something like this, (I did more, but these steps seemed to be the steps that actually did it).
As indicated by this line:
the problem is that the new version of the
gimp
package provides a file which is also provided by thegimp-plugin-registry
package, and so they cannot be installed together, andgimp-plugin-registry
must be removed before the new version ofgimp
can be installed.I used synaptic to "completely remove" the plugin registry. Seemed to work.
I found an answer similar to @Hannu's, but alas I cannot comment. Mainly the difference was I had to reinstall all the packages I purged.