Ubuntu18.04开机爆failed错误,无法解决!!!(已解决)

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
jackness
帖子: 345
注册时间: 2010-08-02 8:19
系统: windows7旗舰版 ubuntu

Ubuntu18.04开机爆failed错误,无法解决!!!(已解决)

#1

帖子 jackness » 2018-08-31 5:36

Mac用vmware fusion安装的Ubuntu18.04,突然这两天发现开机启动爆failed错误,尝试systemctl disable apport-autoreport.service,还有systemctl stop apport-autoreport.service好像都失败了,开机依然有这个failed信息.请教各位大大!!!我该怎么解决这个问题?如下图:
图片
上次由 jackness 在 2018-09-06 12:03,总共编辑 3 次。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu18.04开机爆failed错误,无法解决!!!

#2

帖子 poloshiao » 2018-08-31 7:07

Mac用vmware fusion安装的Ubuntu18.04,突然这两天发现开机启动爆failed错误,尝试systemctl disable apport-autoreport.service,还有systemctl stop apport-autoreport.service好像都失败了.
1. 關閉 apport 機制
新手 對於 apport 機制 如果造成困擾 可以暫時把它關閉
1-1. sudo -H gedit /etc/default/apport
加上這一行
enabled=0
1-2. 要抓錯時 再啟用
改為 enabled=1
立即生效

2. apport 機制
2-1. https://zh.wikipedia.org/wiki/Apport
Apport是一個在類似Unix環境的GNOME桌面应用软件環境執行的免費軟件,用於應用程序的錯誤報告。
2-2. https://wiki.ubuntu.com/Apport
Apport
3-3. https://wiki.ubuntu.com/Apport/DeveloperHowTo
How to Use Apport in your Programs
头像
jackness
帖子: 345
注册时间: 2010-08-02 8:19
系统: windows7旗舰版 ubuntu

Re: Ubuntu18.04开机爆failed错误,无法解决!!!

#3

帖子 jackness » 2018-08-31 9:47

poloshiao 写了: 2018-08-31 7:07
Mac用vmware fusion安装的Ubuntu18.04,突然这两天发现开机启动爆failed错误,尝试systemctl disable apport-autoreport.service,还有systemctl stop apport-autoreport.service好像都失败了.
1. 關閉 apport 機制
新手 對於 apport 機制 如果造成困擾 可以暫時把它關閉
1-1. sudo -H gedit /etc/default/apport
加上這一行
enabled=0
1-2. 要抓錯時 再啟用
改為 enabled=1
立即生效

2. apport 機制
2-1. https://zh.wikipedia.org/wiki/Apport
Apport是一個在類似Unix環境的GNOME桌面应用软件環境執行的免費軟件,用於應用程序的錯誤報告。
2-2. https://wiki.ubuntu.com/Apport
Apport
3-3. https://wiki.ubuntu.com/Apport/DeveloperHowTo
How to Use Apport in your Programs
老朋友,1.sudo -H gedit /etc/default/apport 多打了一个e
2.依照你的说法 我把enabled改成=0 然后重启系统,依然爆failed错误。
不知道哪里出了问题,请教你。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu18.04开机爆failed错误,无法解决!!!

#4

帖子 poloshiao » 2018-08-31 10:46

多打了一个e
1. 謝謝 已修改
开机启动爆failed错误,尝试systemctl disable apport-autoreport.service,还有systemctl stop apport-autoreport.service好像都失败了.
2. 參閱 這個 Bug Report 看看是否相關 ?
https://bugs.launchpad.net/ubuntu/+sour ... ug/1778694
In autoreport mode in whoopsie-preferences API, reports are not sent by whoopsie
2-1. 如果相關
這個 Bug 可能在 下一個版本 2.20.9-0ubuntu7.3 更正
2-1-1. https://bugs.launchpad.net/ubuntu/+sour ... comments/9
have verified that the version of apport 2.20.9-0ubuntu7.3 in -proposed fixes the issue.
2-1-2. 目前最新版本是 2.20.9-0ubuntu7.2
https://packages.ubuntu.com/search?suit ... rds=apport
2-1-3. proposed 套件庫 已有 2.20.9-0ubuntu7.3 (提醒 這是測試版) 是否要安裝來測試 請自行評估
https://www.ubuntuupdates.org/package/c ... sed/apport
头像
jackness
帖子: 345
注册时间: 2010-08-02 8:19
系统: windows7旗舰版 ubuntu

Re: Ubuntu18.04开机爆failed错误,无法解决!!!

#5

帖子 jackness » 2018-08-31 13:08

poloshiao 写了: 2018-08-31 10:46
多打了一个e
1. 謝謝 已修改
开机启动爆failed错误,尝试systemctl disable apport-autoreport.service,还有systemctl stop apport-autoreport.service好像都失败了.
2. 參閱 這個 Bug Report 看看是否相關 ?
https://bugs.launchpad.net/ubuntu/+sour ... ug/1778694
In autoreport mode in whoopsie-preferences API, reports are not sent by whoopsie
2-1. 如果相關
這個 Bug 可能在 下一個版本 2.20.9-0ubuntu7.3 更正
2-1-1. https://bugs.launchpad.net/ubuntu/+sour ... comments/9
have verified that the version of apport 2.20.9-0ubuntu7.3 in -proposed fixes the issue.
2-1-2. 目前最新版本是 2.20.9-0ubuntu7.2
https://packages.ubuntu.com/search?suit ... rds=apport
2-1-3. proposed 套件庫 已有 2.20.9-0ubuntu7.3 (提醒 這是測試版) 是否要安裝來測試 請自行評估
https://www.ubuntuupdates.org/package/c ... sed/apport
没完全看懂,感觉这个问题解决不了了.不过还是要谢谢你,老朋友.
头像
jackness
帖子: 345
注册时间: 2010-08-02 8:19
系统: windows7旗舰版 ubuntu

Re: Ubuntu18.04开机爆failed错误,无法解决!!!

#6

帖子 jackness » 2018-09-06 6:05

poloshiao 写了: 2018-08-31 10:46
多打了一个e
1. 謝謝 已修改
开机启动爆failed错误,尝试systemctl disable apport-autoreport.service,还有systemctl stop apport-autoreport.service好像都失败了.
2. 參閱 這個 Bug Report 看看是否相關 ?
https://bugs.launchpad.net/ubuntu/+sour ... ug/1778694
In autoreport mode in whoopsie-preferences API, reports are not sent by whoopsie
2-1. 如果相關
這個 Bug 可能在 下一個版本 2.20.9-0ubuntu7.3 更正
2-1-1. https://bugs.launchpad.net/ubuntu/+sour ... comments/9
have verified that the version of apport 2.20.9-0ubuntu7.3 in -proposed fixes the issue.
2-1-2. 目前最新版本是 2.20.9-0ubuntu7.2
https://packages.ubuntu.com/search?suit ... rds=apport
2-1-3. proposed 套件庫 已有 2.20.9-0ubuntu7.3 (提醒 這是測試版) 是否要安裝來測試 請自行評估
https://www.ubuntuupdates.org/package/c ... sed/apport
老朋友,谢谢,仔细看了你提供的网页内容,在
How to enable apport
Apport itself is running at all times because it collects crash data for whoopsie (see ErrorTracker). However, the crash interception component is still disabled. To enable it permanently, do:

sudo nano /etc/apport/crashdb.conf
... and add a hash symbol # in the beginning of the following line:

'problem_types': ['Bug', 'Package'],
To disable crash reporting just remove the hash symbol.
这段文字中的操作,sudo nano /etc/apport/crashdb.conf
... and add a hash symbol # in the beginning of the following line:

'problem_types': ['Bug', 'Package'],
这个之后,我的failed信息就消失了。谢谢你!终于学会看网页解决问题了。
头像
jackness
帖子: 345
注册时间: 2010-08-02 8:19
系统: windows7旗舰版 ubuntu

Re: Ubuntu18.04开机爆failed错误,无法解决!!!

#7

帖子 jackness » 2018-09-06 8:53

poloshiao 写了: 2018-08-31 10:46
多打了一个e
1. 謝謝 已修改
开机启动爆failed错误,尝试systemctl disable apport-autoreport.service,还有systemctl stop apport-autoreport.service好像都失败了.
2. 參閱 這個 Bug Report 看看是否相關 ?
https://bugs.launchpad.net/ubuntu/+sour ... ug/1778694
In autoreport mode in whoopsie-preferences API, reports are not sent by whoopsie
2-1. 如果相關
這個 Bug 可能在 下一個版本 2.20.9-0ubuntu7.3 更正
2-1-1. https://bugs.launchpad.net/ubuntu/+sour ... comments/9
have verified that the version of apport 2.20.9-0ubuntu7.3 in -proposed fixes the issue.
2-1-2. 目前最新版本是 2.20.9-0ubuntu7.2
https://packages.ubuntu.com/search?suit ... rds=apport
2-1-3. proposed 套件庫 已有 2.20.9-0ubuntu7.3 (提醒 這是測試版) 是否要安裝來測試 請自行評估
https://www.ubuntuupdates.org/package/c ... sed/apport
哎,当时弄了之后启动没有显示failed信息,结果重启之后还是出现老问题.看来是解决不了了.
头像
jackness
帖子: 345
注册时间: 2010-08-02 8:19
系统: windows7旗舰版 ubuntu

Re: Ubuntu18.04开机爆failed错误,无法解决!!!(已解决)

#8

帖子 jackness » 2018-09-06 12:04

尝试了各种方法,请教了各种人,最后都没有好的解决方案。最终在仙子的指引下,我使用以下命令:
sudo apt-get --purge remove apport apport-gtk
删除了这个软件,整个世界彻底清净了。
回复