Первый autoclean n autoremove ненужные файлы sudo apt-get autoclean sudo apt-get autoremove
Установите Apache2 и проверьте