web-dev-qa-db-fra.com

Paquet GIMP brisé, le centre logiciel Ubuntu ne fonctionne pas

J'utilise Ubuntu 11.10 et j'ai installé GIMP hier soir. Mais aujourd'hui, mon gestionnaire de mise à jour montre que votre système contient des packages et des dépendances endommagés. Lorsque j'essaie d'installer la mise à jour GIMP disponible dans le gestionnaire de mise à jour, l'erreur suivante se produit.

Le système de paquets est cassé

 The following packages have unmet dependencies:

 gimp: Depends: python-gtk2 (>= 2.8.0) but 2.24.0-2 is installed
       Depends: libc6 (>= 2.11) but 2.13-20ubuntu5 is installed
       Depends: libfontconfig1 (>= 2.8.0) but 2.8.0-3ubuntu2 is installed
       Depends: libgdk-pixbuf2.0-0 (>= 2.22.0) but 2.24.0-1ubuntu1 is installed
       Depends: libglib2.0-0 (>= 2.24.0) but 2.30.0-0ubuntu4 is installed
       Depends: libgtk2.0-0 (>= 2.20.0) but 2.24.6-0ubuntu5 is installed
       Depends: libjpeg62 (>= 6b1) but 6b1-1ubuntu2 is installed
       Depends: librsvg2-2 (>= 2.14.4) but 2.34.1-2 is installed
       Depends: zlib1g (>= 1:1.1.4) but 1:1.2.3.4.dfsg-3ubuntu3 is installed
       Depends: python (>= 2.7.1-0ubuntu2) but 2.7.2-7ubuntu2 is installed

Ensuite, j'ai essayé d'exécuter diverses commandes à partir de Terminal et les erreurs suivantes sont apparues.

randomhero@randomhero-Inspiron-N5010:~$ Sudo apt-get install -f
[Sudo] password for randomhero: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  gimp
Suggested packages:
  gimp-help-en gimp-help libgimp-Perl gimp-gap gimp-console
The following packages will be upgraded:
  gimp
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/4,388 kB of archives.
After this operation, 324 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 213862 files and directories currently installed.)
Preparing to replace gimp 2.6.11-2ubuntu4 (using .../gimp_2.7.4-2011102201~oo_AMD64.deb) ...
Unpacking replacement gimp ...
dpkg: error processing /var/cache/apt/archives/gimp_2.7.4-2011102201~oo_AMD64.deb (--unpack):
 trying to overwrite '/usr/lib/gimp/2.0/plug-ins/file-xmc', which is also in package gimp-plugin-registry 3.5.4-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for menu ...
Errors were encountered while processing:
 /var/cache/apt/archives/gimp_2.7.4-2011102201~oo_AMD64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Le gestionnaire de mise à jour affiche la mise à jour de GIMP sous Autres mises à jour (LP-PPA-matthaeus123-mrw-gimp-svn). Ce référentiel est-il officiel? Dois-je supprimer ce référentiel? Si oui comment?

En outre, le Centre de logiciel Ubuntu affiche une erreur indiquant "Les éléments ne peuvent pas être installés ou supprimés tant que le catalogue de packages n'est pas réparé".

Lorsque je clique sur réparer, cela me donne l'erreur suivante.

installArchives() failed: Perl: warning: Setting locale failed.
Perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_IN.ISO8859-1"
    are supported and installed on your system.
Perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
p    erl: warning: Setting locale failed.
Perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_IN.ISO8859-1"
    are supported and installed on your system.
Perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Perl: warning: Setting locale failed.
Perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_IN.ISO8859-1"
    are supported and installed on your system.
Perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 213862 files and directories currently installed.)
Preparing to replace gimp 2.6.11-2ubuntu4 (using .../gimp_2.7.4-2011102201~oo_AMD64.deb) ...
Unpacking replacement gimp ...
dpkg: error processing /var/cache/apt/archives/gimp_2.7.4-2011102201~oo_AMD64.deb (--unpack):
 trying to overwrite '/usr/lib/gimp/2.0/plug-ins/file-xmc', which is also in package gimp-plugin-registry 3.5.4-1
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for menu ...
Errors were encountered while processing:
 /var/cache/apt/archives/gimp_2.7.4-2011102201~oo_AMD64.deb
Error in function: 
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)

J'ai essayé de supprimer le paquet gimp avec Sudo apt-get remove gimp, mais il indique l'erreur suivante.

randomhero@randomhero-Inspiron-N5010:~$ Sudo apt-get remove gimp
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 gimp-gmic : Depends: gimp (>= 2.6) but it is not going to be installed
 gimp-Paint-studio : Depends: gimp but it is not going to be installed
 gimp-plugin-registry : Depends: gimp (>= 2.6) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Je ne sais pas comment aller de l'avant et corriger cette erreur. J'ai besoin d'installer quelques applications, mais je ne peux pas à cause de ces erreurs. Je ne veux pas le logiciel GIMP en tant que tel, je viens de l'installer au cas où. Mais je veux que mon centre logiciel Ubuntu fonctionne.

S'il vous plaît aidez-moi, merci d'avance.

6
Electrifyings

Vous devrez éliminer gimp-Paint-studio , gimp-gmic , and gimp-plugin-registrypour résoudre votre dernier problème.

Sudo apt-get remove gimp-Paint-studio gimp-gmic gimp-plugin-registry

Pour le référentiel, utilisez apt-add-repository -r ppa:user/repository pour en supprimer un

4
daisy

Si vous voulez installer Gimp à partir de ce PPA, sa page Web (https://launchpad.net/~matthaeus123/+archive/mrw-gimp- svn) a la solution:

GIMP 2.7.5 Ne fonctionnera pas avec les versions actuelles de glib et de gtk dans Oneiric. Pour résoudre le problème, installez ces dépôts

deb http://ppa.launchpad.net/gnome3-team/gnome3/ubunt oneiric main

deb http://ppa.launchpad.net/ricotz/testing/ubunt oneiric main

2
rocko

Je vais vous dire ce qui a fonctionné pour moi.

Supprimez ces 3 PPA du gestionnaire de référentiel de formulaires:

http://ppa.launchpad.net/gnome3-team/gnome3/ubunt
http://ppa.launchpad.net/ricotz/testing/ubunt
http://ppa.launchpad.net/matthaeus123/mrw-gimp-svn/ubunt

Parce qu'il a une mauvaise liste de dépendances pour Oneiric (libglib2.0).

Et supprimez gimpdata de Synaptics restant des tentatives d'installation provious.

Ajoutez ensuite ce PPA à partir de la ligne de commande:

Sudo add-apt-repository ppa:jmou/ppa
Sudo apt-get update
Sudo apt-get install gimp

Cela installera GIMP 2.7.4.

Je ne sais pas comment réparer le mauvais paquet PPA pour Oneiric.

J'espère que cela t'aides.

2
haChip