How to , and other stuff about linux, photo, php … A linux, photography blog. To remember some linux situation, and fix them quickly.

May 21, 2012

How to disable from console “Ubuntu 12.04 has experienced an internal error” message

Filed under: Linux — Tags: , , , , , , — admin @ 3:06 pm

Well this appear on lates lubuntu, and on latest Ubuntu. After a time this error is showing up on monitor.
So how to fix this ?
Sorry, Ubuntu 12.04 has experienced an internal error
This error is reported by apport service on ubuntu.
So to disable it just edit /etc/default/apport and modify the value of enable from 1 to 0

sudo vi /etc/default/apport

After modification the file should look something like this

# set this to 0 to disable apport, or to 1 to enable it
# you can temporarily override this with
# sudo service apport start force_start=1
enabled=0

April 2, 2012

Equivalent of rpm -qa in ubuntu

Filed under: Linux — Tags: , , , , — admin @ 3:04 pm

Well in rpm base distribution you may use this

rpm -qa /path/to/file
And you will have a answer like this :

rpm -qf /usr/bin/top
procps-3.2.7-11.1.el5

On a ubuntu server you should run
dpkg -S /path/to/file

dpkg -S /usr/bin/top
procps: /usr/bin/top

« Newer Posts

Powered by WordPress