apt-get upgrade throws libpam-systemd dependency error

I have been googling the error shown below, attempting fixes, and chasing my tail for a couple of hours now. apt-get -f install generates errors as well, so that's not the one true fix. What do you recommend I try next?

$ sudo apt-get upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libpam-systemd : Depends: systemd-sysv but it is not installed
E: Unmet dependencies. Try using -f.

1 Reply

@fritzbogott --

libpam-systemd : Depends: systemd-sysv but it is not installed

Did you try installing the package systemd-sysv :

apt-get install systemd-sysv

and trying the upgrade again?

Have any of the apt packages been upgraded recently?

-- sw

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct