Subject: sa-compile fails under apt-get upgrade
Package: sa-compile
Version: 3.4.2-1+deb10u3
Severity: normal

Dear Maintainer,

# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  liblua5.2-0
Use 'apt autoremove' to remove it.
The following packages have been kept back:
  linux-image-amd64
0 upgraded, 0 newly installed, 0 to remove and 1 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 sa-compile (3.4.2-1+deb10u3) ...
Running sa-compile (may take a long time)
chmod: changing permissions of 
'/var/lib/spamassassin/compiled/5.028/3.004002/Mail/SpamAssassin/CompiledRegexps/body_0.pm':
 Operation not permitted
dpkg: error processing package sa-compile (--configure):
 installed sa-compile package post-installation script subprocess returned 
error exit status 1
Errors were encountered while processing:
 sa-compile
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ ls -l 
/var/lib/spamassassin/compiled/5.028/3.004002/Mail/SpamAssassin/CompiledRegexps/body_0.pm
-r--r--r-- 1 root root 32641 Aug 25  2020 
/var/lib/spamassassin/compiled/5.028/3.004002/Mail/SpamAssassin/CompiledRegexps/body_0.pm
$ ls -l /var/lib/spamassassin/compiled/5.028/3.004002/Mail/SpamAssassin/
total 0
drwxr-xr-x 2 debian-spamd debian-spamd 23 Aug 25  2020 CompiledRegexps

-- System Information:
Debian Release: 10.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-13-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sa-compile depends on:
ii  gcc           4:8.3.0-1
ii  libc6-dev     2.28-10
ii  make          4.2.1-1.2
ii  re2c          1.1.1-1
ii  spamassassin  3.4.2-1+deb10u3

sa-compile recommends no packages.

sa-compile suggests no packages.

-- no debconf information

Reply via email to