• 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.

I broke aptitude while installing plesk

Morison Morgia

New Pleskian
I wanted to install plesk. So, I followed their official procedure Then It showed the following error after downloading few packages -

E: Unable to correct problems, you have held broken packages.
---X--- `apt-get` output --------------------- Reading package lists... Building dependency tree... Reading state information... Some
packages could not be installed. This may mean that you have requested
an impossible situation or if you are using the unstable distribution
that some required packages have not yet been created or been moved
out of Incoming. The following information may help to resolve the
situation:

The following packages have unmet dependencies:
drweb-libs : Depends:libc6-i386 but it is not going to be installed
plesk-core : Depends: locales-all​

So I followed-

dpkg --add-architecture i386
apt-get update
apt-get install libc6:i386​

Now, the whole thing is broken. When I try to installed required packages, I get the following error-

You might want to run 'apt-get -f install' to correct these: The
following packages have unmet dependencies: gcc : Depends: gcc-4.7
(>= 4.7.2-1~) but it is not going to be installed

Recommends: libc6-dev but it is not going to be installed or
libc-dev ghostscript : Depends: libgs9 (= 9.05~dfsg-6.3+deb7u2) but it is not going to be installed hhvm : Depends: binutils but it is not going to be installed
Depends: libfontconfig1 but it is not going to be installed
Depends: libgd2-xpm but it is not going to be installed
Depends: libmagickwand5 but it is not going to be installed imagemagick : Depends: libfontconfig1 (>= 2.9.0) but it is not going
to be installed
Depends: libmagickcore5 (>= 8:6.7.7.10) but it is not going to be installed
Depends: libmagickwand5 (>= 8:6.7.7.10) but it is not going to be installed
Recommends: libmagickcore5-extra but it is not going to be installed nginx-extras : Depends: libgd2-noxpm (>=
2.0.36~rc1~dfsg) but it is not going to be installed or
libgd2-xpm (>= 2.0.36~rc1~dfsg) but it is not going to be installed php5 : Depends: libapache2-mod-php5 (>=
5.5.30-1~dotdeb+7.1~) but it is not going to be installed or
libapache2-mod-php5filter (>= 5.5.30-1~dotdeb+7.1~) but it is not going to be installed or
php5-cgi (>= 5.5.30-1~dotdeb+7.1~) but it is not going to be installed or
php5-fpm (>= 5.5.30-1~dotdeb+7.1~) but 5.5.29-1~dotdeb+7.1 is to be installed
Depends: php5-common (>= 5.5.30-1~dotdeb+7.1~) but 5.5.29-1~dotdeb+7.1 is to be installed php5-imagick : Depends: libmagickcore5 (>= 8:6.7.7.10) but it is not going to be installed
Depends: libmagickwand5 (>= 8:6.7.7.10) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install'
with no packages (or specify a solution).​

And when I try apt-get -f install , I receive the following error-

E: Sub-process /usr/sbin/dpkg-preconfigure --apt || true returned an error code (100)

E: Failure running script /usr/sbin/dpkg-preconfigure --apt || true​

How to solve this issue?
 
Back
Top