Linux Mint 13의 Firefox 순환 종속성 지옥

Linux Mint 13의 Firefox 순환 종속성 지옥

문제를 해결하기 위해 Firefox를 설치 places.sqlite한 후 다시 설치하는 데 문제가 있습니다 . 내가 갇혀 있는 것 같아둥근의존 지옥.

Tomcat6 프로젝트 종속성을 해결하기 전에 최대한 빨리 Firefox 종속성 지옥을 해결해야 합니다(묻지 마세요). 지금 몇 시간째 노력 중이에요.

내가 한 일 (간단히)

sudo apt-get purge firefox firefox-globalmenu firefox-gnome-support
sudo apt-get update
sudo apt-get install firefox firefox-globalmenu firefox-gnome-support
sudo apt-get -f install

오류의 잠재적 원인: 발견 중sudo apt-get install firefox firefox-globalmenu firefox-gnome-support

dpkg: /var/cache/apt/archives/firefox_18.0~a2~hg20121027r113701-0ubuntu1~umd1~precise_amd64.deb(--unpack) 처리 중 오류 발생: '/usr/lib/firefox/extensions'를 덮어쓰는 중입니다. 패키지 mint-search-addon 2012.05.11

따라서 /usr/lib/firefox/extensions전혀 존재하지 않습니다! /var/cache/apt/archives/firefox_18.0~a2~hg20121027r113701제안대로 삭제하세요.

Errors were encountered while processing:
 /var/cache/apt/archives/firefox_18.0~a2~hg20121027r113701-0ubuntu1~umd1~precise_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

산출:

  • sudo apt-get purge firefox firefox-globalmenu firefox-gnome-support

    tyler@machine ~ $ sudo apt-get purge firefox firefox-globalmenu firefox-gnome-support
    [sudo] password for tyler: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Package firefox is not installed, so not removed
    The following packages will be REMOVED:
      firefox-globalmenu* firefox-gnome-support*
    0 upgraded, 0 newly installed, 2 to remove and 38 not upgraded.
    2 not fully installed or removed.
    After this operation, 460 kB disk space will be freed.
    Do you want to continue [Y/n]? y
    (Reading database ... 
    dpkg: warning: files list file for package `mysqltuner' missing, assuming package has no files currently installed.
    (Reading database ... 192642 files and directories currently installed.)
    Removing firefox-globalmenu ...
    Removing firefox-gnome-support ...
    
  • tyler@machine ~ $ sudo apt-get install firefox firefox-globalmenu firefox-gnome-support

    tyler@machine ~ $ sudo apt-get install firefox firefox-globalmenu firefox-gnome-support
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Suggested packages:
      latex-xft-fonts
    The following NEW packages will be installed:
      firefox firefox-globalmenu firefox-gnome-support
    0 upgraded, 3 newly installed, 0 to remove and 38 not upgraded.
    Need to get 0 B/24.8 MB of archives.
    After this operation, 54.3 MB of additional disk space will be used.
    (Reading database ... 
    dpkg: warning: files list file for package `mysqltuner' missing, assuming package has no files currently installed.
    (Reading database ... 192619 files and directories currently installed.)
    Unpacking firefox (from .../firefox_18.0~a2~hg20121027r113701-0ubuntu1~umd1~precise_amd64.deb) ...
    dpkg: error processing /var/cache/apt/archives/firefox_18.0~a2~hg20121027r113701-0ubuntu1~umd1~precise_amd64.deb (--unpack):
     trying to overwrite '/usr/lib/firefox/extensions', which is also in package mint-search-addon 2012.05.11
    Selecting previously unselected package firefox-globalmenu.
    Unpacking firefox-globalmenu (from .../firefox-globalmenu_18.0~a2~hg20121027r113701-0ubuntu1~umd1~precise_amd64.deb) ...
    Selecting previously unselected package firefox-gnome-support.
    Unpacking firefox-gnome-support (from .../firefox-gnome-support_18.0~a2~hg20121027r113701-0ubuntu1~umd1~precise_amd64.deb) ...
    Processing triggers for man-db ...
    Processing triggers for desktop-file-utils ...
    Processing triggers for bamfdaemon ...
    Rebuilding /usr/share/applications/bamf.index...
    Processing triggers for gnome-menus ...
    Processing triggers for mintsystem ...
    Errors were encountered while processing:
     /var/cache/apt/archives/firefox_18.0~a2~hg20121027r113701-0ubuntu1~umd1~precise_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    
  • sudo apt-get -f install

    • 0개 업그레이드, 0개 새로 설치, 0개 삭제, 38개 업그레이드 안함

아이디어가 있나요? Tomcat6은 Chrome이 아닌 Firefox에서만 웹 애플리케이션을 성공적으로 배포하므로 이 종속성 문제를 해결할 수 있기를 바랍니다.

답변1

/usr/lib/firefox/extensionsFirefox가 소유자와 함께 뭔가를 하려고 하는 것 같습니다 mint-search-addon. 종속성의 경우 디렉터리가 존재하지 않는다는 사실은 관련이 없습니다. mint-search-addon설치 하셨나요 ? 시스템이 최신 상태인가요? 둘 다 정확하면 제거해 보십시오 mint-search-addon.

관련 정보