• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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 Plesk Upgrade Failed: some packages have unmet dependencies

wardiam

New Pleskian
Hi guys,

I am using Plesk Onyx 17.0.17 in Ubuntu 16.04. My main problem is that Plesk Upgrade is failed and I don't know how to resolve the problem with dependencies. I attach below the error log:

Reading package lists...
Retrieving information about the installed license key...
Launching component and product checkers...
Downloading file PSA_17.0.17/examiners/disk_space_check.sh: 0%
Downloading file PSA_17.0.17/examiners/disk_space_check.sh: 100% was finished.
Downloading file PSA_17.0.17/examiners/panel_preupgrade_checker.php: 0%
Downloading file PSA_17.0.17/examiners/panel_preupgrade_checker.php: 100% was finished.
Downloading file PSA_17.0.17/examiners/php_launcher.sh: 0%
Downloading file PSA_17.0.17/examiners/php_launcher.sh: 100% was finished.
Checking whether the package dependencies are resolved.
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
---X--- `apt-get` output ---------------------
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:
apache2 : Depends: apache2-bin (= 2.4.18-2ubuntu3.5) but 2.4.18-2ubuntu3.3 is to be installed
Depends: apache2-data (= 2.4.18-2ubuntu3.5) but 2.4.18-2ubuntu3.3 is to be installed
linux-image-extra-4.4.0-87-generic : Depends: linux-image-4.4.0-87-generic but it is not going to be installed
linux-image-generic : Depends: linux-image-4.4.0-87-generic but it is not going to be installed
Recommends: thermald but it is not going to be installed
psa-updates : Depends: libdbd-mysql-perl but it is not going to be installed

---------------------- `apt-get` output ---X---
Collecting error details into the log file...

ERROR: Installation will not continue

The 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:
apache2 : Depends: apache2-bin (= 2.4.18-2ubuntu3.5) but 2.4.18-2ubuntu3.3 is to be installed
Depends: apache2-data (= 2.4.18-2ubuntu3.5) but 2.4.18-2ubuntu3.3 is to be installed
linux-image-extra-4.4.0-87-generic : Depends: linux-image-4.4.0-87-generic but it is not going to be installed
linux-image-generic : Depends: linux-image-4.4.0-87-generic but it is not going to be installed
Recommends: thermald but it is not going to be installed
psa-updates : Depends: libdbd-mysql-perl but it is not going to be installed

Not all packages were installed.
Please contact product technical support.

I have tried to use 'apt-get -f install' command but the problem is not resolved. I have tried to contact with 1and1 support but they suggested to reinstall the OS image but I don't want to do it. I prefer to try to resolve this dependencies problem.

Could anyone help me to resolve my problem, please?

Thank you so much.

Best regards,
Wardiam
 
Hi guys,

I am using Plesk Onyx 17.0.17 in Ubuntu 16.04. My main problem is that Plesk Upgrade is failed and I don't know how to resolve the problem with dependencies. I attach below the error log:



I have tried to use 'apt-get -f install' command but the problem is not resolved. I have tried to contact with 1and1 support but they suggested to reinstall the OS image but I don't want to do it. I prefer to try to resolve this dependencies problem.

Could anyone help me to resolve my problem, please?

Thank you so much.

Best regards,
Wardiam

Hello,
You can run the following command to make sure all packages are up-to-date :
Code:
apt-get update && apt-get upgrade -y && apt-get autoremove -y && apt-get clean

You may have to check your /etc/apt/sources.list file to see if there are all repositories needed .
 
Hi wardiam,

apart from the suggestions from @virtubox , pls. consider to use "aptitude", instead of "apt-get", when you update/upgrade, as it is able to provide additional solutions in case of dependencies issues/errors/problems. ;)
 
Hi virtubox and UFHH01,

thanks for your help. I have checked my source.list and this is the content:

#
# deb cdrom:[Ubuntu-Server 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.3
$
#deb cdrom:[Ubuntu-Server 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.3)$
# See UpgradeNotes - Community Help Wiki for how to upgrade to
# newer versions of the distribution.


deb Index of /ubuntu xenial main restricted

# deb-src Index of /ubuntu xenial main restricted
## Major bug fix updates produced after the final release of the
## distribution.


deb Index of /ubuntu xenial-updates main restricted

# deb-src Index of /ubuntu xenial-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.


deb Index of /ubuntu xenial universe

# deb-src Index of /ubuntu xenial universe

deb Index of /ubuntu xenial-updates universe

# deb-src Index of /ubuntu xenial-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.


deb Index of /ubuntu xenial multiverse

# deb-src Index of /ubuntu xenial multiverse

deb Index of /ubuntu xenial-updates multiverse

# deb-src Index of /ubuntu xenial-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.


deb Index of /ubuntu xenial-backports main restricted unive$

# deb-src Index of /ubuntu xenial-backports main restricted$
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb Index of /ubuntu xenial partner
# deb-src Index of /ubuntu xenial partner


deb Index of /ubuntu xenial-security main restricted

# deb-src Index of /ubuntu xenial-security main restricted

deb Index of /ubuntu xenial-security universe

# deb-src Index of /ubuntu xenial-security universe

deb Index of /ubuntu xenial-security multiverse

# deb-src Index of /ubuntu xenial-security multiverse

What do you think? Do I need to change the links?

Thanks,
Wardiam
 
Hi wardiam,

pls. consider to add the standard Plesk - sources - lists to "/etc/apt/sources.list.d/" as this might help, if you use commands over your command line, without using the Plesk installer ( IMPORTANT NOTE: Pls. change the examples with YOUR CURRENT USED Plesk Onyx version, as there are currently "Plesk Onyx 17.0.17" "Plesk Onyx 17.5.3" and "Plesk Onyx 17.8.6" available! ). Create for example:

For "Plesk Onyx 17.5.3" => /etc/apt/sources.list.d/plesk_17.5.3_trusty_xenial.list
Code:
########## START    ADDITIONAL Plesk repositories and third party repositories for Plesk FOR UBUNTU - GLOBAL    ##########

# deb http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/debian/BILLING_12.5.29 all all
# deb-src http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/debian/BILLING_12.5.29 all all

# deb http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/debian/SITEBUILDER_12.5.29 all all
# deb-src http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/debian/SITEBUILDER_12.5.29 all all

deb http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/debian/SITEBUILDER_17.0.15 all all
# deb-src http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/debian/SITEBUILDER_17.0.15 all all

########## END        ADDITIONAL Plesk repositories and third party repositories for Plesk FOR UBUNTU - GLOBAL    ##########

#########START    ADDITIONAL Plesk repositories and third party repositories for Plesk FOR UBUNTU XENIAL ( 16.04 ) and Plesk version 17.5.3 ##########

deb http://updates.atomicorp.com/channels/tortix-common/debian xenial main
# deb-src http://updates.atomicorp.com/channels/tortix-common/debian xenial main

deb http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/PSA_17.5.3 xenial all
# deb-src http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/PSA_17.5.3 xenial all

deb http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/PSA_17.5.3 xenial extras
# deb-src http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/PSA_17.5.3 xenial extras

deb http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/PHP52_17 xenial all
# deb-src http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/PHP52_17 xenial all

deb http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/PHP53_17 xenial all
# deb-src http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/PHP53_17 xenial all

deb http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/PHP54_17 xenial all
# deb-src http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/PHP54_17 xenial all

deb http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/PHP55_17 xenial all
# deb-src http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/PHP55_17 xenial all

deb http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/PHP56_17 xenial all
# deb-src http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/PHP56_17 xenial all

deb http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/PHP70_17 xenial all
# deb-src http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/PHP70_17 xenial all

deb http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/PHP71_17 xenial all
# deb-src http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/PHP71_17 xenial all

deb http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/NGINX17 xenial all
# deb-src http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/NGINX17 xenial all

deb http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/PMM_0.1.10 xenial all
# deb-src http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/PMM_0.1.10 xenial all

deb [arch=amd64] http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/RUBY_0.0.1 xenial all
# deb-src http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/RUBY_0.0.1 xenial all

deb [arch=amd64] http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/debian/NODE_0.0.1 all all
# deb-src http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/debian/NODE_0.0.1 all all

deb [arch=amd64] http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/LETSENCRYPT_0.0.2 xenial all
# deb-src http://ftp.hosteurope.de/mirror/autoinstall.plesk.com/ubuntu/LETSENCRYPT_0.0.2 xenial all

#########END    ADDITIONAL Plesk repositories and third party repositories for Plesk FOR UBUNTU XENIAL ( 16.04 ) ##########

Afterwards, pls. use the commands:
Code:
apt-get clean

apt-get update

aptitude upgrade

Pls. feel free to use ANY Plesk mirror, that you might know, because I just use the "ftp.hosteurope.de" - example, as they are very stable mirrors. ;)



My ( very decent, stable, reliable and standard ) "sources.list" looks like this for Ubuntu 16.04 on my servers:
Code:
#------------------------------------------------------------------------------#
#             OFFICIAL UBUNTU REPOS - FOR UBUNTU XENIAL ( 16.04 )              #
#------------------------------------------------------------------------------#

###### Ubuntu Main Repos
deb http://de.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
# deb-src http://de.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse

deb http://ubuntu.mirror.serverloft.eu/ubuntu xenial main universe multiverse restricted
# deb-src http://ubuntu.mirror.serverloft.eu/ubuntu xenial main universe multiverse restricted

###### Ubuntu Update Repos
deb http://de.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
# deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse

deb http://ubuntu.mirror.serverloft.eu/ubuntu xenial-security main universe multiverse restricted
# deb-src http://ubuntu.mirror.serverloft.eu/ubuntu xenial-security main universe multiverse restricted

deb http://de.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
# deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse

deb http://ubuntu.mirror.serverloft.eu/ubuntu xenial-updates main universe multiverse restricted
# deb-src http://ubuntu.mirror.serverloft.eu/ubuntu xenial-updates main universe multiverse restricted

deb http://de.archive.ubuntu.com/ubuntu/ xenial-proposed main restricted universe multiverse
# deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-proposed main restricted universe multiverse

deb http://de.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://de.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable
deb http://updates.atomicorp.com/channels/tortix-common/debian xenial main

And again: Pls. feel free to use YOUR VERY OWN UNIQUE mirrors, as each person might have their favorites, ;):p:D
 
Back
Top