• 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

Question Dist-Upgrade Jessie->Stretch fails (sa-compile)

fliegerhermi

Regular Pleskian
Hi everyone.
I followed How to perform dist-upgrade procedure on server with Plesk?

After calling /opt/psa/bin/distupgrade.helper.deb8-deb9.x64.sh I got an error message because of some right problems:

0 upgraded, 0 newly installed, 0 to remove and 211 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up sa-compile (3.4.2-1~deb9u1) ...^M
Running sa-compile (may take a long time)^M
Wide character in print at /usr/bin/sa-compile line 433, <$fh> line 3091.^M
Wide character in print at /usr/bin/sa-compile line 433, <$fh> line 5483.^M
Wide character in print at /usr/bin/sa-compile line 433, <$fh> line 6034.^M
chmod: changing permissions of '/var/lib/spamassassin/compiled/5.020/3.004002/Mail/SpamAssassin/CompiledRegexps/body_0.pm': Operation not permitted^M
^[[1mdpkg:^[[0m error processing package sa-compile (--configure):^M
subprocess installed post-installation script returned error exit status 1^M
Errors were encountered while processing:^M
sa-compile^M
E: Sub-process /usr/bin/dpkg returned an error code (1)
STOP Distupgrade

I fixed the issue and configured with
dpkg --configure sa-compile

Now the /distupgrade.helper.deb8-deb9.x64.sh file is gone. How do I restart the dist-upgrade?
Just call the regular apt-get dist-upgrade?

Thanks.
 
Back
Top