安装解决places.sqlite
问题后,重新安装 Firefox 时遇到困难。看来我被困在圆依赖地狱。
需要解决 firefox 依赖地狱才能尝试解决 Tomcat6 项目依赖关系(不要问),尽快。已经尝试了几个小时了。
我做了什么(简要)
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 只能在 Firefox 中成功部署我的 Web 应用程序,而不能在 Chrome 中成功部署,因此我真的希望能够解决此依赖性问题。
答案1
看起来 Firefox 正试图用 做一些事情/usr/lib/firefox/extensions
,它的所有者是mint-search-addon
.对于依赖关系,该目录不存在这一事实并不相关。你mint-search-addon
安装了吗?您的系统是最新的吗?如果两者都正确,请尝试 purging mint-search-addon
。