#1129413 fetchmail cannot be upgaded: dpkg: error processing archive

Package:
fetchmail
Source:
fetchmail
Description:
SSL enabled POP3, APOP, IMAP mail gatherer/forwarder
Submitter:
Michael Hatzold
Date:
2026-03-01 18:37:03 UTC
Severity:
normal
#1129413#5
Date:
2026-03-01 18:36:02 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where
appropriate ***

the installed version is V-6.6.2-2. The problem arose while upgrading to
V-6.6.2-3

   * What led up to the situation?
apt dist-upgrade

   * What was the outcome of this action?
apt-listchanges: Reading changelogs...
(Reading database ... 653587 files and directories currently installed.)
Preparing to unpack .../fetchmail_6.6.2-3_amd64.deb ...
Failed to stop fetchmail.service: Unit fetchmail.service not loaded.
dpkg: warning: old fetchmail package prerm maintainer script subprocess
     failed with exit status 5
dpkg: trying prerm maintainer script from the new fetchmail package
     instead ... Failed to stop fetchmail.service: Unit
     fetchmail.service not loaded. dpkg: error processing archive
/var/cache/apt/archives/fetchmail_6.6.2-3_amd64.deb (--unpack):
 new fetchmail package prerm maintainer script subprocess failed with
     exit status 5
Errors were encountered while processing:
 /var/cache/apt/archives/fetchmail_6.6.2-3_amd64.deb
needrestart is being skipped since dpkg has failed
Error: Sub-process /usr/bin/dpkg returned an error code (1)

   * What outcome did you expect instead?
fetchmail upgrade to 6.6.2-3


fetchmail is running here in an user context (since about two decades).
Why would I ever need a fetchmail.service Unit? In the past upgrades
went smooth, though.

Thanks and bye
MH