Dovecot Update Fails on Jessie
Hi Roberto,
just saw that your Dovecot update failed on my jessie system:
root@netcup:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
dovecot-core dovecot-imapd dovecot-managesieved
Suggested packages:
dovecot-gssapi dovecot-pgsql dovecot-mysql dovecot-sqlite dovecot-ldap
dovecot-pop3d dovecot-lmtpd dovecot-solr
The following packages will be upgraded:
dovecot-core dovecot-imapd dovecot-managesieved
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0 B/3,884 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Reading changelogs... Done
(Reading database ... 93995 files and directories currently installed.)
Preparing to unpack .../dovecot-imapd_1%3a2.2.13-12~deb8u7_amd64.deb ...
Job for dovecot.service canceled.
invoke-rc.d: initscript dovecot, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Job for dovecot.service canceled.
invoke-rc.d: initscript dovecot, action "stop" failed.
dpkg: error processing archive /var/cache/apt/archives/dovecot-
imapd_1%3a2.2.13-12~deb8u7_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Preparing to unpack .../dovecot-managesieved_1%3a2.2.13-12~deb8u7_amd64.deb
...
Job for dovecot.service canceled.
invoke-rc.d: initscript dovecot, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Job for dovecot.service canceled.
invoke-rc.d: initscript dovecot, action "stop" failed.
dpkg: error processing archive /var/cache/apt/archives/dovecot-
managesieved_1%3a2.2.13-12~deb8u7_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Preparing to unpack .../dovecot-core_1%3a2.2.13-12~deb8u7_amd64.deb ...
Job for dovecot.service canceled.
invoke-rc.d: initscript dovecot, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Warning: Stopping dovecot.service, but it can still be activated by:
dovecot.socket
dpkg: ... it looks like that went OK
Unpacking dovecot-core (1:2.2.13-12~deb8u7) over (1:2.2.13-12~deb8u6) ...
Processing triggers for systemd (215-17+deb8u13) ...
Processing triggers for man-db (2.7.0.2-5) ...
Errors were encountered while processing:
/var/cache/apt/archives/dovecot-imapd_1%3a2.2.13-12~deb8u7_amd64.deb
/var/cache/apt/archives/dovecot-managesieved_1%3a2.2.13-12~deb8u7_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@netcup:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 10240 0 10240 0% /dev
tmpfs 203900 21964 181936 11% /run
/dev/vda2 55884132 50992956 2029304 97% /
tmpfs 509748 0 509748 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 509748 0 509748 0% /sys/fs/cgroup
tmpfs 101952 0 101952 0% /run/user/2809
root@netcup:~# systemctl status dovecot
● dovecot.service - Dovecot IMAP/POP3 email server
Loaded: loaded (/lib/systemd/system/dovecot.service; enabled)
Active: active (running) since Fri 2019-08-30 23:42:26 CEST; 3min 16s ago
Main PID: 1802 (dovecot)
CGroup: /system.slice/dovecot.service
├─1802 /usr/sbin/dovecot -F
├─1805 dovecot/anvil
├─1806 dovecot/log
├─1808 dovecot/imap-login
├─1809 dovecot/config
├─1814 dovecot/imap
├─1844 dovecot/imap-login
├─1845 dovecot/imap-login
├─1846 dovecot/imap-login
├─1847 dovecot/imap-login
├─1848 dovecot/imap-login
├─1849 dovecot/imap-login
├─1850 dovecot/imap-login
├─1851 dovecot/imap
├─1852 dovecot/imap-login
├─1853 dovecot/imap-login
├─1854 dovecot/imap
├─1855 dovecot/imap-login
├─1856 dovecot/imap
├─1857 dovecot/imap
├─1858 dovecot/imap
├─1859 dovecot/imap
├─1860 dovecot/imap
├─1861 dovecot/imap
├─1862 dovecot/imap
└─1863 dovecot/imap
Aug 30 23:42:26 netcup systemd[1]: Started Dovecot IMAP/POP3 email server.
Aug 30 23:42:26 netcup dovecot[1802]: master: Dovecot v2.2.13 starting up for
imap, sieve (core dumps disabled)
Aug 30 23:42:26 netcup dovecot[1806]: imap-login: Login: user=<rd>,
method=PLAIN, rip=2a02:8070:898f:e400:1a31:bfff:fe52:1b1c,
lip=2a03:4000:6:52b6::, mpid=1814, TLS, session=<0fqMf1yR8AAqAoBwiY/kABoxv//
+Uhsc>
Aug 30 23:42:31 netcup dovecot[1806]: imap-login: Login: user=<rd>,
method=PLAIN, rip=78.43.40.8, lip=37.120.169.230, mpid=1851, TLS,
session=<M2rff1yRZQBOKygI>
Aug 30 23:42:32 netcup dovecot[1806]: imap-login: Login: user=<rd>,
method=PLAIN, rip=78.43.40.8, lip=37.120.169.230, mpid=1854, TLS,
session=<vUngf1yRZgBOKygI>
Aug 30 23:42:32 netcup dovecot[1806]: imap-login: Login: user=<rd>,
method=PLAIN, rip=78.43.40.8, lip=37.120.169.230, mpid=1856, TLS,
session=<9xrhf1yRhABOKygI>
Aug 30 23:42:32 netcup dovecot[1806]: imap-login: Login: user=<rd>,
method=PLAIN, rip=78.43.40.8, lip=37.120.169.230, mpid=1857, TLS,
session=<nhrhf1yRTQBOKygI>
Aug 30 23:42:32 netcup dovecot[1806]: imap-login: Login: user=<rd>,
method=PLAIN, rip=78.43.40.8, lip=37.120.169.230, mpid=1858, TLS,
session=<Rxrhf1yRlwBOKygI>
Aug 30 23:42:32 netcup dovecot[1806]: imap-login: Login: user=<rd>,
method=PLAIN, rip=78.43.40.8, lip=37.120.169.230, mpid=1859, TLS,
session=<F+7hf1yRmQBOKygI>
Aug 30 23:42:32 netcup dovecot[1806]: imap-login: Login: user=<rd>,
method=PLAIN, rip=78.43.40.8, lip=37.120.169.230, mpid=1860, TLS,
session=<MWvif1yRIgBOKygI>
Aug 30 23:42:32 netcup dovecot[1806]: imap-login: Login: user=<rd>,
method=PLAIN, rip=78.43.40.8, lip=37.120.169.230, mpid=1861, TLS,
session=<uvXif1yR3ABOKygI>
Aug 30 23:42:32 netcup dovecot[1806]: imap-login: Login: user=<rd>,
method=PLAIN, rip=78.43.40.8, lip=37.120.169.230, mpid=1862, TLS,
session=<eUzjf1yRyQBOKygI>
Aug 30 23:42:32 netcup dovecot[1806]: imap-login: Login: user=<rd>,
method=PLAIN, rip=78.43.40.8, lip=37.120.169.230, mpid=1863, TLS,
session=<fgHlf1yRJgBOKygI>
root@netcup:~#
Do you have any idea what could go wrong here?
Thanks
Rainer
--
Rainer Dorsch
http://bokomoko.de/
Reply to: