Installationsprobleme Apache

  • Hallo zusammen,

    ich habe das schon oft gemacht und hatte nie Probleme, doch heute passiert etwas, bei dem ich nicht weiter komme.

    Was ich gemacht habe:
    - Raspbian Jessie komplett neu installiert
    - SSH installiert (ssh Datei auf root erstellt)
    - raspi-config aufgerufen, hostname und pw geändert, und das Dateisystem erweitert
    - sudo apt-get update
    - VNC aktiviert und die locals auf DE eingestellt
    - per VNC drauf und mit WLAN verbunden

    jetzt kommt etwas, das ich aus einer Anleitung habe, bei dem ich nur zu 80% weiß, was ich da tue:
    - sudo nano /etc/apt/sources.list
    - deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi (weil ich php7 installieren will)
    - sudo nano /etc/apt/preferences (damit nicht alle Programme geladen werden:)
    [font="Roboto"]Package: *[/font]
    [font="Roboto"]Pin: release n=jessie[/font]
    [font="Roboto"]Pin-Priority: 600[/font]
    [font="Roboto"]- [font="Roboto"]sudo apt-get update[/font][/font]
    [font="Roboto"][font="Roboto"][font="Roboto"]- sudo apt-get install -t stretch apache2[/font][/font][/font]

    [font="Roboto"][font="Roboto"][font="Roboto"]An dieser Stelle wurde sonst ohne Probleme Apache installiert.[/font][/font][/font]
    [font="Roboto"][font="Roboto"][font="Roboto"]Jetzt passiert folgendes:[/font][/font][/font]

    [font="Roboto"][font="Roboto"][font="Roboto"]

    Code
    $ sudo apt-get install -t stretch apache2[/size][/font][/font][/font]Reading package lists... DoneBuilding dependency tree       Reading state information... DoneThe following extra packages will be installed:  apache2-bin apache2-data apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0 libnghttp2-14 libssl1.0.2  libssl1.1 ssl-certSuggested packages:  apache2-doc apache2-suexec-pristine apache2-suexec-custom openssl-blacklistThe following NEW packages will be installed:  apache2 apache2-bin apache2-data apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0 libnghttp2-14 libssl1.0.2  libssl1.1 ssl-cert0 upgraded, 13 newly installed, 0 to remove and 912 not upgraded.Need to get 4,013 kB of archives.After this operation, 11.5 MB of additional disk space will be used.Do you want to continue? [Y/n] YGet:1 http://mirrordirector.raspbian.org/raspbian/ stretch/main libapr1 armhf 1.5.2-5 [79.8 kB]Get:2 http://mirrordirector.raspbian.org/raspbian/ stretch/main libssl1.1 armhf 1.1.0f-3 [1,105 kB]Get:3 http://mirrordirector.raspbian.org/raspbian/ stretch/main libaprutil1 armhf 1.5.4-3 [75.9 kB]Get:4 http://mirrordirector.raspbian.org/raspbian/ stretch/main libaprutil1-dbd-sqlite3 armhf 1.5.4-3 [17.9 kB]Get:5 http://mirrordirector.raspbian.org/raspbian/ stretch/main libaprutil1-ldap armhf 1.5.4-3 [16.9 kB]Get:6 http://mirrordirector.raspbian.org/raspbian/ stretch/main liblua5.2-0 armhf 5.2.4-1.1 [82.8 kB]Get:7 http://mirrordirector.raspbian.org/raspbian/ stretch/main libnghttp2-14 armhf 1.18.1-1 [68.0 kB]Get:8 http://mirrordirector.raspbian.org/raspbian/ stretch/main libssl1.0.2 armhf 1.0.2l-2 [893 kB]Get:9 http://mirrordirector.raspbian.org/raspbian/ stretch/main apache2-bin armhf 2.4.25-3+deb9u2 [1,038 kB]Get:10 http://mirrordirector.raspbian.org/raspbian/ stretch/main apache2-utils armhf 2.4.25-3+deb9u2 [218 kB]Get:11 http://mirrordirector.raspbian.org/raspbian/ stretch/main apache2-data all 2.4.25-3+deb9u2 [162 kB]Get:12 http://mirrordirector.raspbian.org/raspbian/ stretch/main apache2 armhf 2.4.25-3+deb9u2 [235 kB]Get:13 http://mirrordirector.raspbian.org/raspbian/ stretch/main ssl-cert all 1.0.39 [20.8 kB]Fetched 4,013 kB in 3s (1,115 kB/s)   Preconfiguring packages ...Selecting previously unselected package libapr1:armhf.dpkg: unrecoverable fatal error, aborting: files list file for package 'qdbus' is missing final newline[font="Roboto"][font="Roboto"][font="Roboto"][size=12]E: Sub-process /usr/bin/dpkg returned an error code (2)

    [/size][/font][/font][/font]

    [font="Roboto"][font="Roboto"][font="Roboto"]Kann mir da jemand weiter helfen? Ich bin leider ratlos und vor allem verwundert, weil ja alles komplett neu aufgesetzt ist.[/font][/font][/font]

  • Zitat von "dbv" pid='292116' dateline='1500835417'


    Irgendwo fehlt ihm ne finale Leerzeile, wahrscheinlich in einer der Dateien die du editiert hast

    Vielen Dank für die Antwort, aber leider hilft mir das nicht weiter, weil ich nicht weiß, nach was ich jetzt schauen soll.

  • Ich habe gerade aus Frust alles nochmal neu gemacht - selbes Ergebnis.
    Dann dachte ich mir: Es kann ja nur am Installieren vom OS liegen - habe eine alternative Möglichkeit zu dd gesucht und bin dabei darauf gestoßen, dass man dd mit sync Parameter ausführen sollte. Jetzt geht es!

    Ich hoffe, das hilft jemandem weiter, der hier mal drüber stolpert

Jetzt mitmachen!

Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!