• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Issue Error adding components

Marcel Merten

New Pleskian
Hello dear Plesk Community,
As mentioned in the title I have an error when installing or updating components.

Installation will not continue

The execution of apg-get failed with the following message:
Reading package lists ...
Building dependency tree ...
Reading state information ...
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
bsd-mailx: Depends: default-mta or
mail-transport-agent
nginx: Depends: nginx-full (> = 1.6.2-5 + deb8u5) but it is not going to be installed or
nginx-light (> = 1.6.2-5 + deb8u5) but it is not going to be installed or
nginx-extras (> = 1.6.2-5 + deb8u5) but it is not going to be installed
Depends: nginx-full (<1.6.2-5 + deb8u5.1 ~) but it is not going to be installed or
nginx-light (<1.6.2-5 + deb8u5.1 ~) but it is not going to be installed or
nginx-extras (<1.6.2-5 + deb8u5.1 ~) but it is not going to be installed
postfix-pcre: Depends: postfix (= 2.11.3-1 + deb8u2) but it is not going to be installed

if i want to access the webpages a 502 gateway error comes under it nginx, how can i fix this error?
 
Plesk Autoinstall log

---------------------- `apt-get` output ---X---
[2018-06-10 22:22:40.584836] Fehlerdetails werden in der Protokolldatei gespeichert...
Sources list:
Installed in system packages:
Error: Installation wird nicht fortgesetzt

Die Ausführung von apg-get ist mit folgender Meldung fehlgeschlagen:
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
bsd-mailx : Depends: default-mta or
mail-transport-agent
nginx : Depends: nginx-full (>= 1.6.2-5+deb8u5) but it is not going to be installed or
nginx-light (>= 1.6.2-5+deb8u5) but it is not going to be installed or
nginx-extras (>= 1.6.2-5+deb8u5) but it is not going to be installed
Depends: nginx-full (< 1.6.2-5+deb8u5.1~) but it is not going to be installed or
nginx-light (< 1.6.2-5+deb8u5.1~) but it is not going to be installed or
nginx-extras (< 1.6.2-5+deb8u5.1~) but it is not going to be installed
postfix-pcre : Depends: postfix (= 2.11.3-1+deb8u2) but it is not going to be installed
 
Have you tried the suggested
# apt-get -f install
?

From man apt-get:
-f, --fix-broken
Fix; attempt to correct a system with broken dependencies in place. This
option, when used with install/remove, can omit any packages to permit APT
to deduce a likely solution. If packages are specified, these have to
completely correct the problem. The option is sometimes necessary when
running APT for the first time; APT itself does not allow broken package
dependencies to exist on a system. It is possible that a system's dependency
structure can be so corrupt as to require manual intervention (which usually
means using dselect(1) or dpkg --remove to eliminate some of the offending
packages). Use of this option together with -m may produce an error in some
situations. Configuration Item: APT::Get::Fix-Broken.
 
Could it be possible that this is not the Nginx that comes with Plesk? In that case things could become difficult.
 
Jap I also suspect that it comes from Nginx, but I do not really want to reinstall the system.

I see that they come from Germany, they could possibly hold a conversation with me tonight?.
 
Back
Top