Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

https://devanswers.

co/patch-ubuntu-16-04-meltdown-spectre/

Firstly, to check which kernel version you have, run:

#uname -a
Linux server_name 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018
x86_64 x86_64 x86_64 GNU/Linux
Above we are on version 4.4.0-116-generic dated Feb 12 and patched for Meltdown and
Spectre.

To check for and apply new kernel updates:

#sudo apt-get update


#sudo apt-get dist-upgrade
When performing an update, first review what apt is going to do, then confirm that
you want to apply the updates.

Once updates are complete, you must reboot the server to apply kernel patches.

#sudo reboot
If you would prefer to have updates applied automatically, make sure the
unattended-upgrades package is installed, then run sudo dpkg-reconfigure
unattended-upgrades. Please note that updates may restart services on your server,
so this may not be appropriate for all environments.

https://www.jamescoyle.net/how-to/1974-how-to-fix-a-full-boot-partition-on-linux

https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-16-04-lts

http://wisercoder.com/ubuntu-apt-get-f-fails-no-space-left-on-device-apt-get-
autoremove-doesnt-work/

++++++
ERROR:
++++++
https://askubuntu.com/questions/772846/apt-get-update-unlinking
https://ubuntuforums.org/showthread.php?t=2356369

dpkg --get-selections | grep #pkg list


dpkg -s <packagename> #pkg version

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
It seems that your /etc/apt/sources.list is absolutely broken.

Try to fill it with the following contents:

deb http://archive.ubuntu.com/ubuntu xenial main restricted universe


deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe

deb http://archive.ubuntu.com/ubuntu xenial multiverse


deb http://archive.ubuntu.com/ubuntu xenial-updates multiverse

deb http://archive.ubuntu.com/ubuntu xenial-security main restricted universe


deb http://archive.ubuntu.com/ubuntu xenial-security multiverse
deb http://archive.canonical.com/ubuntu xenial partner
Then run:

sudo apt-get update


sudo apt-get dist-upgrade
sudo apt-get install mysql-server

https://ayesh.me/Ubuntu-PHP-7.2

You might also like