The minimal change is probably moving

update-alternatives --quiet --remove pager /bin/less
from postinst to preinst. The pager alternative will fallback to 'more'
at least until the new alternative is set up. Strictly speaking it is
probably the most correct thing to do, as 'pager' is never left wrongly
configured.

However there are several packages calling `update-alternatives
--install` from preinst [1]. That's probably OK too.

[1] https://codesearch.debian.net/search?q=path%3Adebian%2Fpreinst
+update-alternatives&literal=1

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

Title:
  dpkg: conffile difference visualizer subprocess returned error exit
  status 127

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to