Urgent: Managed to take the whole server out!

Discussion in 'Installation/Configuration' started by Indieben, Aug 19, 2019.

  1. Indieben

    Indieben Member

    Hi, I may have been doing things wrong for ages to be honest, i've been doing updates as part of my update process that include apt-dist-upgrade as I was of the assumption that that just updates the Debian 9 operating system behind the scenes.

    However, not much fun that curl seemed to have stopped working. I was trying to use my common sense and I removed libcurl 4, it removed a ton of other stuff which I was too late to stop and the whole server has toppled.

    Here's my bash: Just praying that it can be fixed and very worried so if someone can reply quickly, I'd be very grateful -

    https://pastebin.com/XAj5ngRX

    Thanks :)
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Your output shows the packages which were being removed, just reinstall those same packages:

    Code:
      apache2 apache2-bin apache2-suexec-pristine clamav curl libapache2-mod-fcgid
      libapache2-mod-passenger libapache2-mod-php libapache2-mod-php5.6
      libapache2-mod-php7.0 libapache2-mod-php7.1 libapache2-mod-php7.2
      libapache2-mod-php7.3 libapache2-mod-python libcurl4 mailman passenger
     
  3. Indieben

    Indieben Member

    Ah thanks for this, will they need any extra config or will they be fine? I am back up thanks ever so much!
     
  4. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Generally the config is preserved unless you purge the packages, which you did not do in the commands you ran.
     

Share This Page