GLIB+Iceweasel+apt-get 的问题

GLIB+Iceweasel+apt-get 的问题

我造成了这个错误,但我想修复它而不进行业余“全新”安装。

如何:我复制了一堆命令并运行它们。

操作系统:Debian 8

当我运行 Iceweasel 时,以下服务使浏览器崩溃

  • 谷歌邮箱

  • Facebook

另外,当我在搜索栏中输入一定长度的单词后,我的浏览器崩溃了,今天这个问题不会重现,而且我没有保存任何日志。

espo@EVA-00:~$ sudo iceweasel
[sudo] password for espo:

(process:2060): GLib-CRITICAL **: g_slice_set_config: assertion >'sys_page_size == 0' failed
console.error:
  [CustomizableUI]
  Custom widget with id loop-button does not return a valid node
console.error:
  [CustomizableUI]
  Custom widget with id loop-button does not return a valid node

(gst-plugin-scanner:2146): GStreamer-CRITICAL **: gst_structure_new_empty: >assertion 'gst_structure_validate_name (name)' failed
espo@EVA-00:~$ sudo iceweasel

(process:2161): GLib-CRITICAL **: g_slice_set_config: assertion >'sys_page_size == 0' failed
console.error:
  [CustomizableUI]
  Custom widget with id loop-button does not return a valid node
console.error:
  [CustomizableUI]
  Custom widget with id loop-button does not return a valid node
WARNING: content window passed to PrivateBrowsingUtils.isWindowPrivate. Use isContentWindowPrivate instead (but only for frame scripts).
pbu_isWindowPrivate@resource://gre/modules/PrivateBrowsingUtils.jsm:25:14
nsBrowserAccess.prototype.openURI@chrome://browser/content/browser.js:15030:21
espo@EVA-00:~$ iceweasel

(process:2256): GLib-CRITICAL **: g_slice_set_config: assertion >'sys_page_size == 0' failed

我的 apt-get 问题更简单。

espo@EVA-00:~$ sudo apt-get install vlc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. 
This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 vlc : Depends: vlc-nox (= 1:2.2.1-dmo12) but it is not going to be installed
       Depends: libavcodec56 (>= 10:2.8.4) but 6:11.4-1~deb8u1 is to be installed
       Depends: libstdc++6 (>= 5.2) but 4.9.2-10 is to be installed
       Depends: libvlccore8 but it is not going to be installed
       Depends: libvncclient1 (>= 0.9.10) but it is not installable
       Recommends: vlc-plugin-notify (= 1:2.2.1-dmo12) but it is not going >to be installed
E: Unable to correct problems, you have held broken packages.
espo@EVA-00:~$ 

答案1

阿普抱怨持有破损的包裹,所以从

$ dpkg --get-selections | grep hold$

PACKAGE并从结果列表中的每个中删除保留状态

$ echo PACKAGE install | sudo dpkg --set-selections

然后尝试

$ sudo apt-get install -f

如果破损包裹太多

$ sudo apt-get install -f --ignore-hold

可能会更快,但不知道之后是否会保留持有状态。

相关内容