• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Can not install any Packs

kaya

New Pleskian
hello forum,

i hope that anyone can really help me.
since some day i always get this error when i try to install / remove something.


Installation started in background
Checking whether the package dependencies are resolved.
Installing packages
Reading package lists...
Building dependency tree...
Reading state information...
colord is already the newest version.
libpam-systemd is already the newest version.
policykit-1 is already the newest version.
The following packages will be REMOVED:
libapache2-modsecurity* plesk-modsecurity-configurator*
plesk-modsecurity-crs*
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 1679 kB disk space will be freed.
(Reading database ... 92892 files and directories currently installed.)
Removing plesk-modsecurity-crs (12.5.28-ubuntu14.04.15072015) ...
Purging configuration files for plesk-modsecurity-crs (12.5.28-ubuntu14.04.15072015) ...
Removing libapache2-modsecurity (2.9.0-ubuntu14.04.15081914) ...
Module security2 already disabled
Purging configuration files for libapache2-modsecurity (2.9.0-ubuntu14.04.15081914) ...
Removing plesk-modsecurity-configurator (12.5.30-ubuntu14.04.build1205150826.19) ...
Setting up libpam-systemd:amd64 (204-5ubuntu20.19) ...
could not read profile /usr/share/pam-configs/PaxHeaders.41249: No such file or directory at /usr/sbin/pam-auth-update line 674, <STDIN> line 2.
dpkg: error processing package libpam-systemd:amd64 (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of policykit-1:
policykit-1 depends on libpam-systemd; however:
Package libpam-systemd:amd64 is not configured yet.

dpkg: error processing package policykit-1 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of colord:
colord depends on policykit-1 (>= 0.103); however:
Package policykit-1 is not configured yet.

dpkg: error processing package colord (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libpam-systemd:amd64
policykit-1
colord
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error: An error occurred on attempt to install packages.
Attention! Your software might be inoperable.
Please contact product technical support.


I have googled but did not found something that helpeed me out.
Any idea?


Thanks
 
Hi kaya,

policykit-1 depends on libpam-systemd; however:
Package libpam-systemd:amd64 is not configured yet.
First of all, pls. be informed, that such an issue/error/problem is not plesk-related at all and therefore, you should open a thread at => "Open Topics" and not in a Plesk-related forum. ;)

Second, pls. make sure to resolve possible issues at your software package manager, before you continue with further updates/upgrades/patches or (de-)installations. You will never be able to continue with "apt", "aptitude" or "dpkg" - commands, if your current state are half-/unfinished package installations. :rolleyes:


Now let's get back to some suggestions:

First, pls. try to finish your current unfinished package installations with the commands:
Code:
apt-get clean
apt-get update
apt-get -f install

If this doesn't work for you and you are still at the very same state, pls. consider to update/upgrade your current installed software packages with the commands:
Code:
apt-get clean
apt-get update
aptitude upgrade
( I don't suggest "apt-get upgrade", because "apt-get" won't offer ( possible ) available update/upgrade options, as "aptitude" does. ;) )

Afterwards, pls. use again the command:
Code:
apt-get -f install

or/and

dpkg --configure -a
... and post possible errors/issues from your command line, for further investigations ( consider to use CODE - brackets for a better forum view - it's the 4. image - button from the right at the menu on top of each forum text-box. ;) )
 
Hello UFHH01,

first of all thanks a lot for your answer and sorry for my mistakes ;)

I have tried all the options you have made and i still hang on libpam-systemd:amd64, before i had libpam-systemd:amd64, policykit-1 and colord.

My current situation is:

Code:
# dpkg --configure -a
libpam-systemd:amd64 (204-5ubuntu20.19) wird eingerichtet ...
could not read profile /usr/share/pam-configs/PaxHeaders.41249: No such file or directory at /usr/sbin/pam-auth-update line 674, <STDIN> line 2.
dpkg: Fehler beim Bearbeiten des Paketes libpam-systemd:amd64 (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 2 zurück
Fehler traten auf beim Bearbeiten von:
 libpam-systemd:amd64


So what is the PaxHeaders? Do you have any idea? I think it has something to do with Git.
Git was the last thing that was installed on my system by my developer.

Hope you can help me to fix this.


Vielen Dank ;)
 
Hi kaya,

consider to re-install "libpam-systemd" / "systemd" / "systemd-sysv" and "libpam-plesk" or/and consider to ( temporarily ) remove previous installed packages on your server.

Code:
aptitude reinstall libpam-systemd systemd systemd-sysv libpam-plesk

You could as well use the "--force-all" option with commands for "dpkg", if you desire to "over-install" a previous installed package.
 
Back
Top