update-alternatives: error: alternative path /usr/share/man/man5/maildir.maildrop.5.gz doesn't exist
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/
dpkg -L maildrop says file is included in package
ls -l says file is not installed
/usr/bin/maildrop has been installed
/usr/share/
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_
Unpacking tzdata (2018i-
Selecting previously unselected package libltdl7:amd64.
Preparing to unpack .../1-libltdl7_
Unpacking libltdl7:amd64 (2.4.6-2) ...
Selecting previously unselected package courier-authlib.
Preparing to unpack .../2-courier-
Unpacking courier-authlib (0.68.0-4build1) ...
Selecting previously unselected package libcourier-
Preparing to unpack .../3-libcourie
Unpacking libcourier-
Selecting previously unselected package maildrop.
Preparing to unpack .../4-maildrop_
Unpacking maildrop (2.9.3-1build1) ...
Preparing to unpack .../5-courier-
Unpacking courier-maildrop (2.9.1+
Selecting previously unselected package libtcl8.6:amd64.
Preparing to unpack .../6-libtcl8.
Unpacking libtcl8.6:amd64 (8.6.8+dfsg-3) ...
Selecting previously unselected package tcl-expect:amd64.
Preparing to unpack .../7-tcl-
Unpacking tcl-expect:amd64 (5.45.4-1) ...
Selecting previously unselected package expect.
Preparing to unpack .../8-expect_
Unpacking expect (5.45.4-1) ...
Selecting previously unselected package tcl8.6.
Preparing to unpack .../9-tcl8.
Unpacking tcl8.6 (8.6.8+dfsg-3) ...
Setting up libcourier-
Setting up tzdata (2018i-
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/
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-
update-
update-
update-
update-
update-
update-
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.
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://
100 /var/lib/
Status changed to 'Confirmed' because the bug affects multiple users.