김프 패키지가 손상되고 Ubuntu 소프트웨어 센터가 작동하지 않습니다.

김프 패키지가 손상되고 Ubuntu 소프트웨어 센터가 작동하지 않습니다.

저는 Ubuntu 11.10을 사용하고 있으며 어젯밤에 김프를 설치했습니다. 하지만 오늘 내 업데이트 관리자는 시스템에 손상된 패키지와 종속성이 있음을 보여줍니다. 업데이트 관리자에서 제공되는 GIMP 업데이트를 설치하려고 하면 다음과 같은 오류가 발생합니다.

패키지 시스템이 깨졌습니다

 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

그런 다음 터미널에서 다양한 명령을 실행하려고 시도했는데 다음 오류가 나타납니다.

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)

업데이트 관리자는 기타 업데이트(LP-PPA-matthaeus123-mrw-gimp-svn) 아래에 김프 업데이트를 표시합니다. 공식 저장소인가요? 해당 저장소를 제거해야 합니까? 그렇다면 어떻게?

또한 Ubuntu 소프트웨어 센터에서는 "패키지 카탈로그가 복구될 때까지 항목을 설치하거나 제거할 수 없습니다."라는 오류 팝업이 표시됩니다.

복구를 클릭하면 다시 다음과 같은 오류가 발생합니다.

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)

sudo apt-get Remove gimp를 사용하여 김프 패키지를 제거하려고 시도했지만 다음과 같은 오류가 표시됩니다.

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).

이 오류를 해결하는 방법을 모르겠습니다. 몇 가지 응용 프로그램을 설치해야 하는데 이러한 오류 때문에 설치할 수 없습니다. 저는 김프 소프트웨어를 원하지 않습니다. 만일을 대비해서 설치했습니다. 하지만 우분투 소프트웨어 센터가 작동하기를 원합니다.

도와주세요. 미리 감사드립니다.

답변1

gimp-paint-studio , gimp-gmic , and gimp-plugin-registry마지막 문제를 해결하려면 제거해야 합니다 .

sudo apt-get remove gimp-paint-studio gimp-gmic gimp-plugin-registry

저장소의 경우 apt-add-repository -r ppa:user/repository하나를 제거하는 데 사용하십시오.

답변2

만약 너라면했다해당 PPA에서 김프를 설치하려는 경우 해당 웹페이지(https://launchpad.net/~matthaeus123/+archive/mrw-gimp-svn)에 해결책이 있습니다.

GIMP 2.7.5 Oneiric의 현재 glib 및 gtk에서는 작동하지 않습니다. 문제를 해결하려면 다음 저장소를 설치하세요.

http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu원아이릭 메인

http://ppa.launchpad.net/ricotz/testing/ubuntu원아이릭 메인

답변3

나에게 도움이 된 것이 무엇인지 말씀 드리겠습니다.

다음 3가지 PPA 양식 저장소 관리자를 제거하세요.

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

Oneiric(libglib2.0)에 대한 잘못된 종속성 목록이 있기 때문입니다.

이전 설치 시도에서 남은 Synaptics의 gimpdata를 제거하십시오.

그런 다음 명령줄에서 이 PPA를 추가합니다.

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

그러면 김프 2.7.4가 설치됩니다.

Oneiric의 잘못된 PPA 패키지를 수정하는 방법을 모르겠습니다.

도움이 되었기를 바랍니다.

관련 정보