$ sudo add-apt-repository ppa:yannubuntu/boot-repair
$ sudo apt update
$ sudo apt install boot-repair
$ boot-repair$ uname -r
$ sudo dpkg --list 'linux-image*'|awk '{ if ($1=="ii") print $2}'|grep -v `uname -r`You will get the list of images Now its time to remove old kernel one by one as:
$ sudo apt-get purge linux-image-3.19.0-25-generic
$ sudo apt-get autoremove
$ sudo update-grub$ sudo vi /etc/default/grubFind this line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Change it to:
# GRUB_CMDLINE_LINUX_DEFAULT="text"
Update GRUB:
$ sudo update-grubTo find out what is the current run-level name
$ systemctl get-defaultTo change it to "multi-user.target"
$ systemctl set-default multi-user.target$ sudo add-apt-repository ppa:libreoffice/ppaFor other hosted repositories, can be also configured by providing its reference as below:
$ add-apt-repository 'deb http://archive.getdeb.net/ubuntu wily-getdeb games'$ sudo dpkg-reconfigure console-setup
$ sudo apt-get install libfribidi0 libfribidi-dev
$ wget https://launchpad.net/~behnam/+archive/ubuntu/ppa/+files/bicon_0.2.0-1ubuntu0~ppa4_amd64.deb
$ sudo dpkg -i ./bicon_0.2.0-1ubuntu0~ppa4_amd64.deb
$ /usr/bin/bicon.bin$ update-alternatives --list x-session-managerGet a more verbose description
$ update-alternatives --display x-session-managerUse the following ~/.xsession file:
#!/bin/sh
exec startlxde$ startx /usr/bin/startkde