• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Failed to update Plesk. To solve this problem,

Takis

New Pleskian
The message after latest update :

Failed to update Plesk. To solve this problem, you can send the update log to Plesk support. View the update logs (Aug 20, 2017). View the update logs (Aug 19, 2017). View the update logs (Aug 18, 2017). Copy the logs to your computer before you close this message. To close this message, click here.

The log end with this :

---------------------- `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:
nginx : Depends: nginx-full but it is not going to be installed or
nginx-light but it is not going to be installed

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

Any idea?

Best regards
 
Hi Takis,

and did you at least try to use
You might want to run 'apt-get -f install' to correct these
over your command line ( logged in as user "root" over SSH ), as suggested?


Another question:
Did you install any "nginx" - packages manually on your server?
 
Hi,

No i did not try anything at the moment i wanted to ask here first, so i will try it now.

Yes i did install it manually , i had problem after Onyx update , you had help me then as well.
Errors after Onyx update
 
and did you at least try to use

over your command line ( logged in as user "root" over SSH ), as suggested?


Another question:
Did you install any "nginx" - packages manually on your server?

I just try the : apt-get -f install

and i get this :


root@vmi33622:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
nginx-common nginx-full
The following NEW packages will be installed:
nginx-common nginx-full
0 upgraded, 2 newly installed, 0 to remove and 30 not upgraded.
1 not fully installed or removed.
Need to get 0 B/509 kB of archives.
After this operation, 1,146 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
nginx-common nginx-full
Install these packages without verification [y/N]? Y
(Reading database ... 197451 files and directories currently installed.)
Unpacking nginx-common (from .../nginx-common_1.2.1-2.2+wheezy4+deb7u1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/nginx-common_1.2.1-2.2+wheezy4+deb7u1_all.deb (--unpack):
trying to overwrite '/usr/share/man/man1/nginx.1.gz', which is also in package sw-nginx 1.11.10-debian7.0.17040416
Unpacking nginx-full (from .../nginx-full_1.2.1-2.2+wheezy4+deb7u1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/nginx-full_1.2.1-2.2+wheezy4+deb7u1_amd64.deb (--unpack):
trying to overwrite '/usr/sbin/nginx', which is also in package sw-nginx 1.11.10-debian7.0.17040416
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/nginx-common_1.2.1-2.2+wheezy4+deb7u1_all.deb
/var/cache/apt/archives/nginx-full_1.2.1-2.2+wheezy4+deb7u1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@vmi33622:~#
 
Hi Takis,

pls use the command:

Code:
aptitude purge nginx-common nginx-full
followed by
Code:
aptitude reinstall sw-nginx
followed by
Code:
plesk repair installation -y -v

... and pls. don't forget to INSPECT the outputs from your command line. In case that you experience issues/errors/problems, pls. DON'T CONTINUE with further commands, but instead post the ( possible ) issues/errors/problems from your command line and wait for further suggestions/recommendations. :)
 
First command bring this :

root@vmi33622:~# aptitude purge nginx-common nginx-fulll
Couldn't find any package whose name or description matched "nginx-fulll"
Couldn't find any package whose name or description matched "nginx-fulll"
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 30 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

root@vmi33622:~#
 
Yeap :) You are right.

After this, all looks ok now.

Plesk was successfully updated. View detailed information on the updates.

Thank you again.
 
Back
Top