1

This question already has an answer here:

Here is the error:

E: The package libpam-systemd needs to be reinstalled, but I can't find an archive for it.

When I try to update Ubuntu 14.04, I receive the following pop-up windows:

Could not initialize the package information An unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message: E:The package libpam-systemd needs to be reinstalled, but I can't find an archive for it."

I reviewed the following post: The package libpam-systemd needs to be reinstalled

When I attempted to input sudo apt-get install aptitude into Terminal, I received the exact same error message.

Per request, full verbatim results from Terminal: https://paste.ubuntu.com/25399467/

marked as duplicate by Byte Commander, David Foerster, karel, Eric Carvalho, George Udosen Sep 4 '17 at 0:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2

It looks like you had the trusty-updates repository enabled at some point, which pulled in libpam-systemd in version 204-5ubuntu20.14. At a later point that repository was disabled and something damaged the package installation. Now Apt can't find a suitable package archive to reinstall and restore the package.

For a solution I recommend that you

  1. re-enable the trusty-updates repository in Software & Updates (software-properties-gtk),

    Software updates settings

  2. update the list of available packages,

    sudo apt-get update
    
  3. perform a package upgrade with the -f/--fix-missing option:

    sudo apt-get dist-upgrade -f libpam-systemd
    
  • If all else fails you can also locate missing packages for your distribution on Ubuntu at packages.ubuntu.com – Elder Geek Aug 28 '17 at 16:32

Not the answer you're looking for? Browse other questions tagged or ask your own question.