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!
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.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.