Problem with Raspberry Pi

I'm trying to install raspbian on my RPi and run Apache web server. When I install apache it works just fine, but when I restart the webserver does not start, dpkg isn't working and I'm kind of screwed that way. Dpkg says something like "Files list file **** is missing final new line". When I delete the file that has a problem I'm able to use dpkg. But this does not solve my apache problem, first it couldn't start because it needed SSL/TSL passphrase, which I didn't know. Then after a reinstall it just straight up refused to start (some problems with files, I don't remember, right now I've reinstalled raspbian once again and am running system update hoping it might solve the issue). Do any of you have any ideas what might be the problem?

b0rk package?
apt-get update
apt-get upgrade

So I reinstalled raspbian and only did "sudo apt-get update && sudo apt-get upgrade" and now it straight up refuses to boot with "a start job is running for dev-mmblck0" (or something like that, I don't remember the name exactly)

So it can't mount the boot partition for some reason, in the emergency shell I can mount it easily

1 Like

maybe check the SD card is ok

I installed it again using NOOBS and it seems to work so far, except the apache webserver does not want to start without ssl/tsl passphrase, which I don't know. Does anyone know how to remove ssl? (I tried uninstalling openssl and it failed)

Interesting, I don't have a Pi with Apache to try, but generically on Debian it could be done with:

a2dismod ssl
a2dissite default-ssl

but that's not fixing any of the issues your having, just skipping them.

Have you tried looking at the apache documentation?

https://httpd.apache.org/docs/2.4/

Going in blind is not always a good idea.