• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Resolved My plesk got corrupted after updating

hassanayoub85

New Pleskian
Dear,
I have a ubuntu vps
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty

I tried form plesk to update packages, this error appears
Update failed.
2017-06-17 07:47:11 INFO: pum is called with arguments: ['--update', '--json', '--', 'libgnutls-openssl27', 'libgnutls26']
2017-06-17 07:47:18 INFO: updating packages: libgnutls-openssl27 libgnutls26 libgnutls26:i386
saslpasswd2: user not found
dpkg: error processing package sasl2-bin (--configure):
subprocess installed post-installation script returned error exit status 20
Errors were encountered while processing:
sasl2-bin
Error in function:
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
2017-06-17 07:47:24 ERROR: installArchives() failed
2017-06-17 07:47:24 ERROR: Exited with returncode 1.

then now the plesk is not accessible any more, and if i ttry by ssh to apt-isntall upgrade, this eerror appears:

apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
linux-headers-generic linux-headers-virtual linux-image-virtual
linux-virtual python3-software-properties software-properties-common
software-properties-gtk
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up sasl2-bin (2.1.25.dfsg1-17build1) ...
saslpasswd2: user not found
dpkg: error processing package sasl2-bin (--configure):
subprocess installed post-installation script returned error exit status 20
Errors were encountered while processing:
sasl2-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any idea !!!!
:
 
Hi hassanayoub85,
saslpasswd2: user not found
dpkg: error processing package sasl2-bin (--configure):
subprocess installed post-installation script returned error exit status 20
Errors were encountered while processing:
sasl2-bin
Error in function:
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
2017-06-17 07:47:24 ERROR: installArchives() failed
2017-06-17 07:47:24 ERROR: Exited with returncode 1.
For this issue, pls. consider to use:
Code:
aptitude purge sasl2-bin
... and continue with:
Code:
apt-get install -f

You may try to re-install "sasl2-bin" after you successfully finished your other updates/upgrades with the command:
Code:
aptitude install sasl2-bin


Hint:
Always consider to use "aptitude" instead of "apt-get" on Debian/Ubuntu - based systems, because "aptitude" is able to provide possible other solutions, in case that dependencies for packages tell you to remove packages, that you don't want to remove from your server. ;)
 
Back
Top