gimp 2.9.5 não atualizou (2017-01-31)

1

link

O

gimp 2.9.5 falhou ao atualizar corretamente, e tentar consertá-lo com o remédio geral proposto em todo o askubuntu falha, assim:

$ 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)
$
    
por Hannu 31.01.2017 / 17:39

4 respostas

1

O remédio é algo assim, (eu fiz mais, mas esses passos pareciam ser os passos que realmente fizeram isso).

$ sudo apt-get update
...
Fetched 102 kB in 0s (110 kB/s)
Reading package lists... Done

$ sudo apt-get purge --remove gimp gimp-gmic gimp-plugin-registry  # the related packages
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gimp-data libamd2.4.1 libbabl-0.1-0 libcamd2.4.1 libccolamd2.9.1 libcholmod3.0.6 libgegl-0.3-0 libgimp2.0
  libmypaint libtiff-tools libumfpack5.7.1 libwebp6 libwebpdemux2 libwebpmux2
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  gimp* gimp-gmic* gimp-plugin-registry*
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 26,8 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 220804 files and directories currently installed.)
Removing gimp-gmic (1:1.8.0~pre-0x0~ppa~edge) ...
Removing gimp-plugin-registry (7.20140602ubuntu2) ...
Removing gimp (2.9.5~71-0x0~ppa~00faf17) ...
Purging configuration files for gimp (2.9.5~71-0x0~ppa~00faf17) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up gimp-data (2.9.5~79-0x21~ppa~5170980) ...
Setting up libgegl-0.3-0:amd64 (1:0.3.11~45-0x3~ppa~39ea9fd) ...
Setting up libgimp2.0 (2.9.5~79-0x21~ppa~5170980) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...

$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    
por Hannu 31.01.2017 / 17:39
1

Conforme indicado por esta linha:

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  7.20140602ubuntu2 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

o problema é que a nova versão do pacote gimp fornece um arquivo que também é fornecido pelo pacote gimp-plugin-registry , portanto, eles não podem ser instalados juntos e gimp-plugin-registry deve ser removido antes da nova versão do pacote. gimp pode ser instalado.

    
por fkraiem 04.02.2017 / 20:47
1

Eu usei synaptic para "remover completamente" o registro do plugin. Parecia funcionar.

    
por tester 15.02.2017 / 02:02
0

Encontrei uma resposta semelhante à do @ Hannu, mas infelizmente não posso comentar. Principalmente a diferença foi que eu tive que reinstalar todos os pacotes que eu purgou.

sudo aptitude purge gimp gimp-gmic gimp-plugin-registry
sudo aptitude upgrade
sudo aptitude install gimp gimp-gmic gimp-plugin-registry
    
por imyxh 04.02.2017 / 20:26