The latest Linux Kernel 3.12.3 has been released a few hours ago. If you’re using Kernel 3.12 series, this tutorial shows how to install or upgrade in Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.04, Linux Mint and their derivatives.
Linux kernel 3.12.3 is yet another big release that introduces numerous updated drivers, many architecture improvements (AMR, PowerPC, s390, parisc, ARM64, avr32), some fixes for the CIFS and EXT4 filesystems, as well as sound improvements.
See the changelog for details.
Install / Upgrade Kernel 3.12.3:
The DEB packages for Ubuntu and Debian users have been made into Ubuntu Kernel mainline page.
Press Ctrl+Alt+T on keyboard to open terminal. When it opens, run commands below one by one:
1. For 32 bit system, download the DEBs via:
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.3-trusty/linux-headers-3.12.3-031203-generic_3.12.3-031203.201312041453_i386.deb wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.3-trusty/linux-headers-3.12.3-031203_3.12.3-031203.201312041453_all.deb wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.3-trusty/linux-image-3.12.3-031203-generic_3.12.3-031203.201312041453_i386.deb
For 64 bit system, run:
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.3-trusty/linux-headers-3.12.3-031203-generic_3.12.3-031203.201312041453_amd64.deb wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.3-trusty/linux-headers-3.12.3-031203_3.12.3-031203.201312041453_all.deb wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12.3-trusty/linux-image-3.12.3-031203-generic_3.12.3-031203.201312041453_amd64.deb
2. Install the DEBs:
sudo dpkg -i linux-headers-3.12.3-*.deb linux-image-3.12.3-*.deb
Restart your computer and done.
If your graphics card does not work properly with this kernel, you may re-configure or even re-install the video driver.
To revert back to previous kernel, reboot and go into Grub -> Advanced -> choose previous kernel. Then remove this kernel via:
sudo apt-get purge linux-headers-3.12.3-* linux-image-3.12.3-*
i get dependency errors during the install:
A descompactar substituto linux-image-3.12.3-031203-generic …
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.12.3-031203-generic /boot/vmlinuz-3.12.3-031203-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.12.3-031203-generic /boot/vmlinuz-3.12.3-031203-generic
A instalar linux-headers-3.12.3-031203 (3.12.3-031203.201312041453) …
dpkg: problemas com dependências impedem a configuração de linux-headers-3.12.3-031203-generic:
linux-headers-3.12.3-031203-generic depende de linux-headers-3.12.3-031203.
dpkg: erro ao processar linux-headers-3.12.3-031203-generic (–install):
problemas com dependências – a deixar por configurar
A instalar linux-image-3.12.3-031203-generic (3.12.3-031203.201312041453) …
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(3.12.3-031203.201312041453 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(3.12.3-031203.201312041453 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.12.3-031203-generic /boot/vmlinuz-3.12.3-031203-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.12.3-031203-generic /boot/vmlinuz-3.12.3-031203-generic
Error! Bad return status for module build on kernel: 3.12.3-031203-generic (x86_64)
Consult /var/lib/dkms/virtualbox-guest/4.2.10/build/make.log for more information.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.12.3-031203-generic /boot/vmlinuz-3.12.3-031203-generic
update-initramfs: Generating /boot/initrd.img-3.12.3-031203-generic
Warning: No support for locale: pt_PT.utf8
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.12.3-031203-generic /boot/vmlinuz-3.12.3-031203-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.12.3-031203-generic /boot/vmlinuz-3.12.3-031203-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.12.3-031203-generic /boot/vmlinuz-3.12.3-031203-generic
Gerando grub.cfg …
Found linux image: /boot/vmlinuz-3.12.3-031203-generic
Found initrd image: /boot/initrd.img-3.12.3-031203-generic
Found linux image: /boot/vmlinuz-3.8.0-34-generic
Found initrd image: /boot/initrd.img-3.8.0-34-generic
Found linux image: /boot/vmlinuz-3.8.0-25-generic
Found initrd image: /boot/initrd.img-3.8.0-25-generic
Found memtest86+ image: /boot/memtest86+.bin
No volume groups found
concluído
Foram encontrados erros enquanto processava:
linux-headers-3.12.3-031203-generic
here’s the purge command log:
sudo apt-get purge linux-headers-3.12.3-* linux-image-3.12.3-*
A ler as listas de pacotes… Pronto
A construir árvore de dependências
A ler a informação de estado… Pronto
E: Não foi possível encontrar o pacote linux-headers-3.12.3-031203_3.12.3-031203.201312041453_all.deb
E: Não foi possível encontrar o pacote através da expressão regular ‘linux-headers-3.12.3-031203_3.12.3-031203.201312041453_all.deb’
E: Não foi possível encontrar o pacote linux-headers-3.12.3-031203-generic_3.12.3-031203.201312041453_i386.deb
E: Não foi possível encontrar o pacote através da expressão regular ‘linux-headers-3.12.3-031203-generic_3.12.3-031203.201312041453_i386.deb’
E: Não foi possível encontrar o pacote linux-image-3.12.3-031203-generic_3.12.3-031203.201312041453_amd64.deb
E: Não foi possível encontrar o pacote através da expressão regular ‘linux-image-3.12.3-031203-generic_3.12.3-031203.201312041453_amd64.deb’