update-alternatives: error: alternative path /usr/share/man/man5/maildir.maildrop.5.gz doesn't exist

Bug #1813467 reported by mog
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
maildrop (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Running Ubuntu 18.04 LTS on AWS EC2.

Cannot complete post-install as update-alternatives complains that /usr/share/man/man5/maildir.maildrop.5.gz is missing.

dpkg -L maildrop says file is included in package
ls -l says file is not installed
/usr/bin/maildrop has been installed
/usr/share/man/man5/maildir.maildrop.5.gz was not installed

I've run apt update ; upgrade ; dist-upgade without remedy.

morgan@mail:~$ sudo apt install courier-maildrop
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  courier-authlib expect libcourier-unicode4 libltdl7 libtcl8.6 maildrop tcl-expect tcl8.6 tzdata
Suggested packages:
  courier-doc tk8.6 tcl-tclreadline
The following NEW packages will be installed:
  courier-authlib courier-maildrop expect libcourier-unicode4 libltdl7 libtcl8.6 maildrop tcl-expect tcl8.6 tzdata
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1811 kB of archives.
After this operation, 9881 kB of additional disk space will be used.
Do you want to continue? [Y/n]
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package tzdata.
(Reading database ... 77666 files and directories currently installed.)
Preparing to unpack .../0-tzdata_2018i-0ubuntu0.18.04_all.deb ...
Unpacking tzdata (2018i-0ubuntu0.18.04) ...
Selecting previously unselected package libltdl7:amd64.
Preparing to unpack .../1-libltdl7_2.4.6-2_amd64.deb ...
Unpacking libltdl7:amd64 (2.4.6-2) ...
Selecting previously unselected package courier-authlib.
Preparing to unpack .../2-courier-authlib_0.68.0-4build1_amd64.deb ...
Unpacking courier-authlib (0.68.0-4build1) ...
Selecting previously unselected package libcourier-unicode4:amd64.
Preparing to unpack .../3-libcourier-unicode4_2.0-2_amd64.deb ...
Unpacking libcourier-unicode4:amd64 (2.0-2) ...
Selecting previously unselected package maildrop.
Preparing to unpack .../4-maildrop_2.9.3-1build1_amd64.deb ...
Unpacking maildrop (2.9.3-1build1) ...
Preparing to unpack .../5-courier-maildrop_2.9.1+0.78.0-2ubuntu2_all.deb ...
Unpacking courier-maildrop (2.9.1+0.78.0-2ubuntu2) ...
Selecting previously unselected package libtcl8.6:amd64.
Preparing to unpack .../6-libtcl8.6_8.6.8+dfsg-3_amd64.deb ...
Unpacking libtcl8.6:amd64 (8.6.8+dfsg-3) ...
Selecting previously unselected package tcl-expect:amd64.
Preparing to unpack .../7-tcl-expect_5.45.4-1_amd64.deb ...
Unpacking tcl-expect:amd64 (5.45.4-1) ...
Selecting previously unselected package expect.
Preparing to unpack .../8-expect_5.45.4-1_amd64.deb ...
Unpacking expect (5.45.4-1) ...
Selecting previously unselected package tcl8.6.
Preparing to unpack .../9-tcl8.6_8.6.8+dfsg-3_amd64.deb ...
Unpacking tcl8.6 (8.6.8+dfsg-3) ...
Setting up libcourier-unicode4:amd64 (2.0-2) ...
Setting up tzdata (2018i-0ubuntu0.18.04) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline

Current default time zone: 'Europe/London'
Local time is now: Sun Jan 27 10:50:26 GMT 2019.
Universal Time is now: Sun Jan 27 10:50:26 UTC 2019.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up libltdl7:amd64 (2.4.6-2) ...
Setting up libtcl8.6:amd64 (8.6.8+dfsg-3) ...
Setting up courier-authlib (0.68.0-4build1) ...
Setting up tcl-expect:amd64 (5.45.4-1) ...
Setting up tcl8.6 (8.6.8+dfsg-3) ...
Setting up expect (5.45.4-1) ...
Setting up maildrop (2.9.3-1build1) ...
update-alternatives: using /usr/bin/maildirmake.maildrop to provide /usr/bin/maildirmake (maildirmake) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/maildirmake.1.gz because associated file /usr/share/man/man1/maildirmake.maildrop.1.gz (of link group maildirmake) doesn't exist
update-alternatives: using /usr/sbin/deliverquota.maildrop to provide /usr/sbin/deliverquota (deliverquota) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man8/deliverquota.8.gz because associated file /usr/share/man/man8/deliverquota.maildrop.8.gz (of link group deliverquota) doesn't exist
update-alternatives: using /usr/bin/lockmail.maildrop to provide /usr/bin/lockmail (lockmail) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/lockmail.1.gz because associated file /usr/share/man/man1/lockmail.maildrop.1.gz (of link group lockmail) doesn't exist
update-alternatives: error: alternative path /usr/share/man/man5/maildir.maildrop.5.gz doesn't exist
dpkg: error processing package maildrop (--configure):
 installed maildrop package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of courier-maildrop:
 courier-maildrop depends on maildrop; however:
  Package maildrop is not configured yet.

dpkg: error processing package courier-maildrop (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Processing triggers for libc-bin (2.27-3ubuntu1) ...
Errors were encountered while processing:
 maildrop
 courier-maildrop
E: Sub-process /usr/bin/dpkg returned an error code (1)

morgan@mail:~$ lsb_release -rd
Description: Ubuntu 18.04.1 LTS
Release: 18.04

morgan@mail:~$ apt-cache policy maildrop
maildrop:
  Installed: 2.9.3-1build1
  Candidate: 2.9.3-1build1
  Version table:
 *** 2.9.3-1build1 500
        500 http://eu-north-1c.clouds.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in maildrop (Ubuntu):
status: New → Confirmed
Revision history for this message
Ty E (tyisi) wrote :

Duplicate to bug: #1781243

See work-around on https://bugs.launchpad.net/ubuntu/+source/courier/+bug/1781243

Revision history for this message
Ty E (tyisi) wrote :

Apologies, meant to say related to #1781243

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.