[Bug 2088259] Re: Exception during pm.DoInstall when upgrading from Ubuntu18.04 to Ubuntu20.04

Julian Andres Klode 2088259 at bugs.launchpad.net
Fri Nov 15 12:38:38 UTC 2024


Setting up sa-compile (3.4.4-1ubuntu1.2) ...
Running sa-compile (may take a long time)
command 're2c -i -b -o scanner1.c scanner1.re' failed: exit 0
dpkg: error processing package sa-compile (--configure):
 installed sa-compile package post-installation script subprocess returned error exit status 12

** Package changed: ubuntu-release-upgrader (Ubuntu) => spamassassin
(Ubuntu)

** Description changed:

  1. I'm trying to upgrade Ubuntu from 18.04.6 to Ubuntu 20.04.6. on an Alibaba cloud instance:
  do-release upgrade
  
  2. The version of the package is unknown:
  apt-cache policy pkgname returns:
  N: Unable to locate package pkgname
  
  3. I expected the upgrade to complete without errors.
  
- 4. But when processing triggers for libapache2-mod-php7.4 (7.4.3-4ubuntu2.24)
- Errors encountered processing:
-   sa-compile
- Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1)
+ 4. But
+ 
+ Setting up sa-compile (3.4.4-1ubuntu1.2) ...
+ Running sa-compile (may take a long time)
+ command 're2c -i -b -o scanner1.c scanner1.re' failed: exit 0
+ dpkg: error processing package sa-compile (--configure):
+  installed sa-compile package post-installation script subprocess returned error exit status 12
  
  Could not install the upgrades

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2088259

Title:
  Exception during pm.DoInstall when upgrading from Ubuntu18.04 to
  Ubuntu20.04

Status in spamassassin package in Ubuntu:
  New

Bug description:
  1. I'm trying to upgrade Ubuntu from 18.04.6 to Ubuntu 20.04.6. on an Alibaba cloud instance:
  do-release upgrade

  2. The version of the package is unknown:
  apt-cache policy pkgname returns:
  N: Unable to locate package pkgname

  3. I expected the upgrade to complete without errors.

  4. But

  Setting up sa-compile (3.4.4-1ubuntu1.2) ...
  Running sa-compile (may take a long time)
  command 're2c -i -b -o scanner1.c scanner1.re' failed: exit 0
  dpkg: error processing package sa-compile (--configure):
   installed sa-compile package post-installation script subprocess returned error exit status 12

  Could not install the upgrades

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spamassassin/+bug/2088259/+subscriptions




More information about the foundations-bugs mailing list