By bmaron
I was trying to upgrade a droplet from debian 8 to 9, and i ran into a load of issues with systemd like
Failed to start System Logging Service.
Feb 20 21:18:07 xxx-s-2vcpu-4gb-ams2-01 systemd[1]: rsyslog.service: Unit entered failed state.
Feb 20 21:18:07 xxx-s-2vcpu-4gb-ams2-01 systemd[1]: rsyslog.service: Failed with result 'exit-code'.
and because of it
dpkg: error processing package rsyslog (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of ssh:
ssh depends on openssh-server (>= 1:7.4p1-10+deb9u2); however:
Package openssh-server is not configured yet.
dpkg: error processing package ssh (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
openssh-server
redis-server
rsyslog
ssh
E: Sub-process /usr/bin/dpkg returned an error code (1)```
is there smth i can do ?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello there,
I know it’s been a while since this question was originally posted however, I’ll always recommend to double check if the apt dist-upgrade and the apt update && apt upgrade returned any errors and start from there,
Also, it is always recommended to back up your data and take a snapshot of the droplet before starting the update process. This will make you rest assured that if something goes wrong you’ll have your droplet back online in no time.
https://docs.digitalocean.com/products/images/snapshots/how-to/snapshot-droplets/
Regards
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
