RubenB
New Pleskian
Hello all,
I'm writing because I've come across an error which I am unable to resolve myself. The server is a VPS running Debian 8, Plesk Onyx 17.5.3 and is a clean install. I'm unable to install spamassassin, as it generates errors. The log of the install can be found below. I've attempted several 'fixes' to resolve the issue, but they don't work.
Attempted fixes:
apt-get autocomplete package name is broken
How to fix apt bash completion in Ubuntu/debian – DEVGET.NET
How to fix corrupted bash-completion in command substitution?
The same error prompts after running `apt-get clean`
I'm writing because I've come across an error which I am unable to resolve myself. The server is a VPS running Debian 8, Plesk Onyx 17.5.3 and is a clean install. I'm unable to install spamassassin, as it generates errors. The log of the install can be found below. I've attempted several 'fixes' to resolve the issue, but they don't work.
Attempted fixes:
apt-get autocomplete package name is broken
How to fix apt bash completion in Ubuntu/debian – DEVGET.NET
How to fix corrupted bash-completion in command substitution?
Code:
[2017-06-22 20:26:49.779594] Installation started in background
[2017-06-22 20:26:49.779804]
Getting bootstrapper packages to installation list:
[2017-06-22 20:26:49.779871] skip package 'pp17.5.3-bootstrapper-17.5.3-debian8.0.build1705170317.16.amd64' from component spamassassin - same or newer version of this package is already installed (in system pp17.5.3-bootstrapper-17.5.3-debian8.0.build1705170317.16.amd64)
[2017-06-22 20:26:49.779925] skip package 'sw-engine-cli-2.21-2.21.0-debian80.201702161518.amd64' from component spamassassin - same or newer version of this package is already installed (in system sw-engine-cli-2.21-2.21.0-debian80.201702161518.amd64)
[2017-06-22 20:26:49.779977] skip package 'pp17.5.3-bootstrapper-17.5.3-debian8.0.build1705170317.16.amd64' from component panel - same or newer version of this package is already installed (in system pp17.5.3-bootstrapper-17.5.3-debian8.0.build1705170317.16.amd64)
[2017-06-22 20:26:49.780105] skip package 'sw-engine-cli-2.21-2.21.0-debian80.201702161518.amd64' from component panel - same or newer version of this package is already installed (in system sw-engine-cli-2.21-2.21.0-debian80.201702161518.amd64)
[2017-06-22 20:26:49.780169] Following bootstrapper packages will be installed: (empty)
[2017-06-22 20:26:49.780190] ----------------
[2017-06-22 20:26:49.780208] Getting packages to installation list:
[2017-06-22 20:26:49.780246] Following packages will be installed: psa-spamassassin-17.5.3-debian8.0.build1705170317.16.amd64
[2017-06-22 20:26:49.780277] ----------------
[2017-06-22 20:26:49.780339] Checking whether the package dependencies are resolved.
[2017-06-22 20:26:49.780389] autoinstaller: read output of DEBIAN_FRONTEND=noninteractive LANG=C apt-get --assume-yes --show-upgraded --purge --no-reinstall -o APT::Get::List-Cleanup=true -o Dpkg::options::=--force-confdef -o Dpkg::options::=--force-confold -o APT::Get::AllowUnauthenticated=false -o Acquire::Retries=3 -t 'jessie*' --just-print install psa-spamassassin=17.5.3-debian8.0.build1705170317.16
[2017-06-22 20:26:50.351917] add to install list spamassassin-3.4.0-6
[2017-06-22 20:26:50.354912] add to install list sa-compile-3.4.0-6
[2017-06-22 20:26:50.471738] (regen obsoletes cache)
[2017-06-22 20:26:50.471831] Check package set before installation
[2017-06-22 20:26:50.472248] The following packages from not selected components will be installed because they are required by other components' packages you selected for installation:
[2017-06-22 20:26:50.598680] Installing packages
[2017-06-22 20:26:50.602325] Bootstrapper has finished action (exec time: 0 sec.): parent_name='PLESK_17_5_3', sequence='prep', stage='execute', sequence_order='-1', operation='install', exec_cmd='touch /tmp/pp-bootstrapper-mode.flag; touch /var/lock/parallels-panel-maintenance-mode.flag; rm -f /var/lock/parallels-panel-upgrade-failure.flag; :'', m_arch='', output: ~empty
[2017-06-22 20:26:50.608528] Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
psa-spamassassin sa-compile spamassassin
0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/1285 kB of archives.
After this operation, 4143 kB of additional disk space will be used.
Selecting previously unselected package spamassassin.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 113604 files and directories currently installed.)
Preparing to unpack .../spamassassin_3.4.0-6_all.deb ...
Unpacking spamassassin (3.4.0-6) ...
Selecting previously unselected package sa-compile.
Preparing to unpack .../sa-compile_3.4.0-6_all.deb ...
Unpacking sa-compile (3.4.0-6) ...
Selecting previously unselected package psa-spamassassin.
Preparing to unpack .../psa-spamassassin_17.5.3-debian8.0.build1705170317.16_amd64.deb ...
Unpacking psa-spamassassin (17.5.3-debian8.0.build1705170317.16) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u7) ...
Setting up spamassassin (3.4.0-6) ...
-su: 29: /usr/share/bash-completion/bash_completion: [[: not found
-su: 35: /usr/share/bash-completion/bash_completion: [[: not found
-su: 51: /usr/share/bash-completion/bash_completion: shopt: not found
-su: 57: /usr/share/bash-completion/bash_completion: complete: not found
-su: 62: /usr/share/bash-completion/bash_completion: complete: not found
-su: 65: /usr/share/bash-completion/bash_completion: complete: not found
-su: 68: /usr/share/bash-completion/bash_completion: complete: not found
-su: 71: /usr/share/bash-completion/bash_completion: complete: not found
-su: 74: /usr/share/bash-completion/bash_completion: complete: not found
-su: 77: /usr/share/bash-completion/bash_completion: complete: not found
-su: 80: /usr/share/bash-completion/bash_completion: complete: not found
-su: 83: /usr/share/bash-completion/bash_completion: complete: not found
-su: 86: /usr/share/bash-completion/bash_completion: complete: not found
-su: 89: /usr/share/bash-completion/bash_completion: complete: not found
-su: 92: /usr/share/bash-completion/bash_completion: complete: not found
-su: 101: /usr/share/bash-completion/bash_completion: Syntax error: "(" unexpected (expecting "}")
dpkg: error processing package spamassassin (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of sa-compile:
sa-compile depends on spamassassin (>= 3.3.2-8); however:
Package spamassassin is not configured yet.
dpkg: error processing package sa-compile (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of psa-spamassassin:
psa-spamassassin depends on spamassassin (>= 3.0.2); however:
Package spamassassin is not configured yet.
dpkg: error processing package psa-spamassassin (--configure):
dependency problems - leaving unconfigured
Processing triggers for systemd (215-17+deb8u7) ...
Errors were encountered while processing:
spamassassin
sa-compile
psa-spamassassin
E: Sub-process /usr/bin/dpkg returned an error code (1)
Bootstrapper has finished action (exec time: 0 sec.): parent_name='PLESK_17_5_3', sequence='pkgs', stage='rollback', sequence_order='1', operation='install', exec_cmd='rm -f /tmp/pp-bootstrapper-mode.flag; rm -f /var/lock/parallels-panel-maintenance-mode.flag; touch /var/lock/parallels-panel-upgrade-failure.flag; /etc/init.d/psa restart; :'', m_arch='', output: ~empty
[2017-06-22 20:27:08.498842] Error: An error occurred on attempt to install packages.
Attention! Your software might be inoperable.
Please contact product technical support.
The same error prompts after running `apt-get clean`
Last edited: