[Bug 1833124] Re: dh_installman ruins man pages on Minimal Ubuntu

Kir Kolyshkin kir at openvz.org
Tue Jun 25 23:53:01 UTC 2019


I guess that debhelper post-install script should at least do this
(taken from "/usr/local/sbin/unminimize"):

if [ "$(dpkg-divert --truename /usr/bin/man)" = "/usr/bin/man.REAL" ]; then \
       rm -f /usr/bin/man; \
       dpkg-divert --quiet --remove --rename /usr/bin/man; \
fi

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

Title:
  dh_installman ruins man pages on Minimal Ubuntu

Status in debhelper package in Ubuntu:
  Confirmed

Bug description:
  `dh_installman` uses the `man` program to convert man pages to UTF-8.
  On Minimal Ubuntu images (18.10 and above), /usr/bin/man is replaced
  by a shell script outputting a notice about the lack of man pages and
  the option to "unminimize" the image. Thus, instead of recoding the
  man pages, it replaces all man pages with this output.

  See for example this bug reported against Docker:
  <https://github.com/docker/for-linux/issues/639>

  This has been observed on the minimal versions of cosmic and disco,
  but is likely equally applicable to the minimal version of eoan since
  it, too, includes the /usr/bin/man replacement.

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



More information about the foundations-bugs mailing list