如何在使用 openbox gnome 时永久删除这些错误提示?

如何在使用 openbox gnome 时永久删除这些错误提示?

如何永久删除使用 openbox gnome 时出现的那些错误提示?例如:更新 ubuntu 最新版本,这类错误等等,如何永久禁用它们,以便它们不会显示在我的演示文稿前面。

在此处输入图片描述

跟进:

a) 我如何消除该屏幕截图错误框?

$ cat /etc/default/whoopsie

[General]
report_crashes=false

$ apport-cli

*** Send problem report to the developers?

After the problem report has been sent, please fill out the form in the
automatically opened web browser.

What would you like to do? Your options are:
  S: Send report (69.7 KB)
  V: View report
  K: Keep report file for sending later or copying to somewhere else
  I: Cancel and ignore future crashes of this program version
  C: Cancel
Please choose (S/V/K/I/C): I

b) 我如何关闭该更新通知对话框?

$/etc/xdg/autostart# vim update-notifier.desktop 
#NoDisplay=true
NoDisplay=false
:wq

$ cat update-notifier.desktop | grep NoDisplay
NoDisplay=false

现在不再有令人不安的弹出窗口。

最终跟进:

root@sun-Inspiron-One-2320:~# apt-get -f remove apport update-manager update-manager-core
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 apport-gtk : Depends: apport (>= 0.41) but it is not going to be installed
 opera:i386 : Depends: libc6:i386 (>= 2.3.2) but it is not going to be installed
              Depends: libc6:i386 (>= 2.3.6-6~) but it is not going to be installed
              Depends: libfontconfig1:i386 but it is not going to be installed
              Depends: libfreetype6:i386 (>= 2.2.1) but it is not going to be installed
              Depends: libgcc1:i386 (>= 1:4.1.1) but it is not going to be installed
              Depends: libglib2.0-0:i386 (>= 2.16.0) but it is not going to be installed
              Depends: libgstreamer-plugins-base0.10-0:i386 (>= 0.10.16) but it is not going to be installed
              Depends: libgstreamer0.10-0:i386 (>= 0.10.15) but it is not going to be installed
              Depends: libice6:i386 but it is not going to be installed
              Depends: libsm6:i386 but it is not going to be installed
              Depends: libstdc++6:i386 (>= 4.1.1) but it is not going to be installed
              Depends: libx11-6:i386 but it is not going to be installed
              Depends: libxext6:i386 but it is not going to be installed
              Depends: libxml2:i386 (>= 2.6.27) but it is not going to be installed
              Depends: libxrender1:i386 but it is not going to be installed
              Depends: libxt6:i386 but it is not going to be installed
              Depends: zlib1g:i386 (>= 1:1.1.4) but it is not going to be installed
              Depends: gstreamer0.10-plugins-good:i386 but it is not going to be installed
              Depends: fonts-liberation:i386 but it is not installable or
                       ttf-liberation:i386 but it is not installable or
                       ttf-mscorefonts-installer:i386 but it is not installable
              Recommends: flashplugin-nonfree:i386
              Recommends: cups-client:i386 but it is not going to be installed
 update-notifier : Depends: update-manager-gnome but it is not installable or
                            update-manager but it is not going to be installed
 xdiagnose : Depends: apport but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

答案1

上述错误可能与崩溃报告守护程序 whoopsie 有关。您可以通过编辑/etc/default/whoopsie并将其更改report_crashes=true为 false 来禁用它。至于更新,我认为最好的解决方案是安装它们,但是,如果这不可能,请禁用更新检查器和更新通知程序。

您还遇到了什么其他错误?

答案2

对于第一个对话框,请尝试卸载apport。对于第二个对话框,您可以删除update-managerupdate-manager-core,假设@mikewhatever 有正确的软件包名称(我目前不在 Ubuntu 机器上)。

你可以这样做:

sudo apt-get remove apport update-manager update-manager-core

我对 apport 很有信心,因为这是处理自动错误报告的程序。既然你不喜欢它,就把它删除吧,而不是在配置上浪费时间。

相关内容