My Rpi is no longer visible on my network. As the network connection is OK, I assumed that my apache website is not working. As Apache2 restart did not help, I tried to udate/re-instal using the command below
sudo apt-get update
sudo apt-get install apache2
sudo apt-get install libapache2-mod-php5 php5-cli php5-common php5-cgi
For both intsall commands I get a fatal error “…file list file for package ‘lsof’ is missing final newline”.
2 questions
Am i doing something wrong in the install
Is there a way to check whether my Apache2 is running and why it does not answer I access from another computer
Back up your sd card before performing this - I’m not responsible, yadda yadda. This should take care of things, at least as far as your immediate error with uninstalling/reinstalling goes.