Tyl*_*ler 5 dpkg firefox apt dependencies software-installation
安装 Firefox 后重新安装 Firefox 以解决places.sqlite问题时遇到困难。看来我陷入了循环依赖地狱。
需要解决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
Run Code Online (Sandbox Code Playgroud)
潜在的错误来源:
发现于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)
Run Code Online (Sandbox Code Playgroud)
输出:
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 ...
Run Code Online (Sandbox Code Playgroud)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)
Run Code Online (Sandbox Code Playgroud)sudo apt-get -f install
想法?Tomcat6 只在 Firefox 中成功部署了我的 web 应用程序,而不是 Chrome,所以我真的希望解决这个依赖问题。
看起来 Firefox 正试图用 做一些事情/usr/lib/firefox/extensions,它的所有者是mint-search-addon. 对于依赖关系,该目录不存在这一事实并不相关。你mint-search-addon安装了吗?您的系统是最新的吗?如果两者都正确,请尝试 purging mint-search-addon。
| 归档时间: |
|
| 查看次数: |
702 次 |
| 最近记录: |