問題を解決するために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にのみWebアプリケーションを正常にデプロイするので、この依存関係の問題を解決できることを願っています。
ベストアンサー1
/usr/lib/firefox/extensions
Firefoxが所有者と一緒に何かをしようとしているようですmint-search-addon
。依存関係の場合、ディレクトリが存在しないという事実は関係ありません。mint-search-addon
インストールしましたか?システムは最新の状態ですか?両方が正しい場合は削除してみてくださいmint-search-addon
。