Breaking

Post Top Ad

Your Ad Spot

Saturday 2 December 2017

Ubuntu 16.10 showing error after booting (and all errors)2017

Ubuntu 16.10 showing error after booting



Today I installed 2 Ubuntu versions. 1st I installed Ubuntu 16.04 LTS and then Ubuntu 16.10. But after booting into the later system, i.e. Ubuntu 16.10, it is throwing error "Sorry, Ubuntu 16.10 has experienced an internal error". Is this a known issue with this Ubuntu version and so other persons who installed on their machines are also getting the same error message? Please see a part of the error message in the screen shot below.
Also if you see the above image, there is a button in the right bottom where it is written "Continue". With an intent to send this error report to fix this problem


1 Answer

I had multiple crash events too.
I run this:
gconftool-2 --recursive-unset /apps/compiz-1
I got this idea from this URL:   http://kializer.com/2Zmm
Hope it helps you too!



How to Disable Error Reporting Pop-up in Ubuntu 16.10:-



On new installed Ubuntu 16.10 Desktop, you may have encountered some error reporting popups. This can be easily disabled if you find it annoying.

The Ubuntu error reporting system is called apport, it tries to catch all program crashes in the background and report them to help the developers.

Some stuck reports continue to pops up. You can get rid of them by removing old crash caches via command:

sudo rm /var/crash/*

To prevent new error pop-ups, you can disable the error reporting system via following steps:

1. Open terminal (Ctrl+Alt+T) and run command to install gksu:
sudo apt install gksu
gksu is a frontend to su and gksudo is a frontend to sudo. Their pri‐mary purpose is to run graphical commands that need root without the need to run an X terminal emulator and using su directly.
2. Run command to edit the apport configuration file via root:
gksudo gedit /etc/default/apport
When the file opened, change the value to 0 to disable the error reporting system.

Finally save the file and that’s it.

Upgrading to 16.10 error:-

This is the error I get with any apt-get command I execute sudo apt-get upgrade -f:
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 251316 files and directories currently installed.)
Removing linux-image-extra-4.4.0-51-generic (4.4.0-51.72) ...
depmod: FATAL: could not load /boot/System.map-4.4.0-51-generic: No such file or directory
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-51-generic /boot/vmlinuz-4.4.0-51-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-51-generic /boot/vmlinuz-4.4.0-51-generic
Error! Your kernel headers for kernel 4.4.0-51-generic cannot be found.
Please install the linux-headers-4.4.0-51-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-51-generic /boot/vmlinuz-4.4.0-51-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-51-generic
/usr/sbin/mkinitramfs: 66: .: Can't open /etc/initramfs-tools/initramfs.conf
update-initramfs: failed for /boot/initrd.img-4.4.0-51-generic with 2.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 2
dpkg: error processing package linux-image-extra-4.4.0-51-generic (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 linux-image-extra-4.4.0-51-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
Being a not experienced Linux guy, what should I do to fix this error?

1 Answer

Try this:
sudo apt-get update
sudo apt-get install --reinstall linux-headers-4.4.0-51-generic
sudo apt-get -f install
sudo apt-get dist-upgrade
Please note that if you manually installed or compiled any kernel modules, you will need to recompile the modules for a new kernel version if a new kernel version is installed.



No comments:

Post a Comment

Post Top Ad

Your Ad Spot

Pages