Debian Bug report logs -
#812252
less not any more registered as "pager" alternative
Reported by: Achim Gaedke <achim.gaedke@gmail.com>
Date: Fri, 22 Jan 2016 00:27:01 UTC
Severity: important
Tags: patch
Merged with 813453
Found in version less/481-2
Fixed in version less/481-2.1
Done: Colin Watson <cjwatson@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, achim.gaedke@gmail.com, Anibal Monsalve Salazar <anibal@debian.org>:
Bug#812252; Package less.
(Fri, 22 Jan 2016 00:27:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Achim Gaedke <achim.gaedke@gmail.com>:
New Bug report received and forwarded. Copy sent to achim.gaedke@gmail.com, Anibal Monsalve Salazar <anibal@debian.org>.
(Fri, 22 Jan 2016 00:27:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: less
Version: 481-2
Severity: normal
Dear Maintainer,
I have re-installed my debian testing desktop from scratch and wondered why I have
difficulties to navigate the manual pages. It uses /usr/bin/pager which is
managed by the alternatives system. So I tried to establish my preferred choice:
# sudo update-alteratives --config pager
doesn't feature less. So I conclude the package less does not register with the
alternatives system correctly.
Please fix this. If less is considered too buggy to be default, please decrease
its priority appropriately.
Many thanks (right now in busy sysadmin mode, otherwise there would be a patch, sorry)
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages less depends on:
ii debianutils 4.5.1
ii libc6 2.21-6
ii libtinfo5 6.0+20151024-2
less recommends no packages.
less suggests no packages.
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, ukleinek@debian.org, md@linux.it, anbe@debian.org, Anibal Monsalve Salazar <anibal@debian.org>:
Bug#812252; Package less.
(Sun, 24 Jan 2016 18:54:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Uwe Kleine-König <ukleinek@debian.org>:
Extra info received and forwarded to list. Copy sent to ukleinek@debian.org, md@linux.it, anbe@debian.org, Anibal Monsalve Salazar <anibal@debian.org>.
(Sun, 24 Jan 2016 18:54:06 GMT) (full text, mbox, link).
Message #10 received at 812252@bugs.debian.org (full text, mbox, reply):
Package: less
Version: 481-2
Followup-For: Bug #812252
Hello,
I guess the culprit is that the source package has both debian/postinst and
debian/less.postinst. dpkg-buildpackage picks up the latter, but the logic
to register the alternative for pager is in the former only. Probably
this is related to #694051 and #767928.
Best regards
Uwe
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (800, 'testing'), (600, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages less depends on:
ii debianutils 4.5.1
ii libc6 2.21-6
ii libtinfo5 6.0+20151024-2
less recommends no packages.
less suggests no packages.
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Anibal Monsalve Salazar <anibal@debian.org>:
Bug#812252; Package less.
(Sun, 24 Jan 2016 19:03:14 GMT) (full text, mbox, link).
Acknowledgement sent
to Uwe Kleine-König <ukleinek@debian.org>, 812252@bugs.debian.org:
Extra info received and forwarded to list. Copy sent to Anibal Monsalve Salazar <anibal@debian.org>.
(Sun, 24 Jan 2016 19:03:14 GMT) (full text, mbox, link).
Message #15 received at 812252@bugs.debian.org (full text, mbox, reply):
On 01/24/2016 07:51 PM, Uwe Kleine-König wrote:
> Package: less
> Version: 481-2
> Followup-For: Bug #812252
>
> Hello,
>
> I guess the culprit is that the source package has both debian/postinst and
> debian/less.postinst. dpkg-buildpackage picks up the latter, but the logic
> to register the alternative for pager is in the former only. Probably
> this is related to #694051 and #767928.
And the hotfix is
sudo update-alternatives --quiet --install /usr/bin/pager pager \
/bin/less 77 --slave /usr/share/man/man1/pager.1.gz \
pager.1.gz /usr/share/man/man1/less.1.gz
Best regards
Uwe
Message sent on
to Achim Gaedke <achim.gaedke@gmail.com>:
Bug#812252.
(Sun, 24 Jan 2016 19:03:16 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Anibal Monsalve Salazar <anibal@debian.org>:
Bug#812252; Package less.
(Tue, 26 Jan 2016 11:21:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Frederik Möllers <frederikmoellers@posteo.de>:
Extra info received and forwarded to list. Copy sent to Anibal Monsalve Salazar <anibal@debian.org>.
(Tue, 26 Jan 2016 11:21:06 GMT) (full text, mbox, link).
Message #23 received at 812252@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi,
I've created a patch which moves the update-alternatives commands to the
correct scripts and which also implements the strategy mentiones in
message 5 of bug #694051. Applying it to the source directory should
solve all problems related to these two bugs.
Cheers,
Frederik
[less-update-alternatives.patch (text/x-patch, attachment)]
Added tag(s) patch.
Request was from Andrei Purdea <andrei@purdea.ro>
to control@bugs.debian.org.
(Mon, 01 Feb 2016 20:00:04 GMT) (full text, mbox, link).
Merged 812252 813453
Request was from Colin Watson <cjwatson@debian.org>
to control@bugs.debian.org.
(Tue, 23 Feb 2016 10:45:10 GMT) (full text, mbox, link).
Severity set to 'important' from 'normal'
Request was from Colin Watson <cjwatson@debian.org>
to control@bugs.debian.org.
(Tue, 23 Feb 2016 10:45:13 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Anibal Monsalve Salazar <anibal@debian.org>:
Bug#812252; Package less.
(Tue, 23 Feb 2016 11:06:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list. Copy sent to Anibal Monsalve Salazar <anibal@debian.org>.
(Tue, 23 Feb 2016 11:06:03 GMT) (full text, mbox, link).
Message #34 received at 812252@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: tags 812252 pending
Dear maintainer,
I've prepared an NMU for less (versioned as 481-2.1) and uploaded it to
DELAYED/5. Please feel free to tell me if I should delay it longer.
This patch is similar in intent to that provided by Frederik Möllers
four weeks ago, but I did the reconciliation the other way round (i.e.
moving the contents of debian/less.postinst into debian/postinst etc.
rather than vice versa), since the package-name-less files are
longer-standing and since this resulted in a much shorter and
easier-to-read patch.
I care about this because I'm starting to get reports about this
directed to me as man-db maintainer, and it obviously makes a difference
to how usable man(1) appears to be out of the box.
Regards,
--
Colin Watson [cjwatson@debian.org]
[less-481-2.1-nmu.diff (text/x-diff, attachment)]
Added tag(s) pending.
Request was from Colin Watson <cjwatson@debian.org>
to 812252-submit@bugs.debian.org.
(Tue, 23 Feb 2016 11:06:03 GMT) (full text, mbox, link).
Reply sent
to Colin Watson <cjwatson@debian.org>:
You have taken responsibility.
(Sun, 28 Feb 2016 11:21:17 GMT) (full text, mbox, link).
Notification sent
to Achim Gaedke <achim.gaedke@gmail.com>:
Bug acknowledged by developer.
(Sun, 28 Feb 2016 11:21:17 GMT) (full text, mbox, link).
Message #41 received at 812252-close@bugs.debian.org (full text, mbox, reply):
Source: less
Source-Version: 481-2.1
We believe that the bug you reported is fixed in the latest version of
less, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 812252@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated less package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 23 Feb 2016 10:51:48 +0000
Source: less
Binary: less
Architecture: source
Version: 481-2.1
Distribution: unstable
Urgency: medium
Maintainer: Anibal Monsalve Salazar <anibal@debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Description:
less - pager program similar to more
Closes: 812252
Changes:
less (481-2.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Reconcile multiple postinst scripts so that less registers a pager
alternative again (closes: #812252).
Checksums-Sha1:
0b2c7f63cc2438cc09bafcd3eba694d7a57d93ef 1763 less_481-2.1.dsc
4b37ddde0fff2385b60978169e34f83aecc3f07d 19192 less_481-2.1.debian.tar.xz
Checksums-Sha256:
3e06ad6e17627f4996bf301112fd2bfb332ab915acfaa7f41b7917a0460cf358 1763 less_481-2.1.dsc
4cbaafa1c6d59eb7c2e6a5adef133403a80e57b892198462a6a304deb4b47bd8 19192 less_481-2.1.debian.tar.xz
Files:
0688025ceb1560bb56f38f8c69d42de7 1763 text important less_481-2.1.dsc
f3fac437be94659037424d0f095fdcea 19192 text important less_481-2.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Colin Watson <cjwatson@debian.org> -- Debian developer
iQIVAwUBVsw7HDk1h9l9hlALAQgkIBAAhuwypcDQfPWJxvK22rgvcQQEKZpHePhr
LQWyVcKQ5hICW3b2UTQyjFegvEyIUHUiCbQzmQffYAHOwjfwW9DJWZe/a/AC2Dh4
+NML3HSIqWfSEiJbpGHbfZSfAzhUAjzowGQouv1cbpdP00DWeO9C6YXvf3Tieg2Z
7g0R/MjSZ7xsYE6hoGrMdLX0rRAKr7uhLLRFjCzsACND4WkUWYmz3Gs/robfGC+o
8hXBjknhTCPDquxKAJT2Wu25u2xcluM9G6qChqJ/7/22GW9WBd4hyRdLDOBNh0Zj
kgH1XmeY8elpPoa/lm0rxnGK2V8TCFXYC4YOY75gy1cswsYHJdI+RbE8MBNmWJZF
3h2LZIRcKKGMTBtFYj3uvoiPSTfnWyBQsj5asUVr7fm45tQwISdidF8l7Y2i/OS3
jgB1c9E8MbbxIqK7fPloJhVnm2Fu3l+myTlGxWxMl6veg6a08UAxYjJxGq3EETym
mDuDFr72e+1b/X9Ac+ublAclsWpq419Li72s1+DMANgvrUbOkv6frLkcc8UITcEj
2Onev3Xk5SCnyS38jxk+cIfBAQcxjf0TfhTrfk9TgB105iTbV2aYkfreMFJqtHsw
9sQZXH46NsEEJ5uMoqrQP1TzFVg5KT/jPs4ktO/MFtSdeyjl5+G30tp+87KWhkEE
fnwRpjvI+80=
=J1DI
-----END PGP SIGNATURE-----
Reply sent
to Colin Watson <cjwatson@debian.org>:
You have taken responsibility.
(Sun, 28 Feb 2016 11:21:19 GMT) (full text, mbox, link).
Notification sent
to Bernd Schumacher <bernd.schumacher@hpe.com>:
Bug acknowledged by developer.
(Sun, 28 Feb 2016 11:21:19 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 02 Apr 2016 07:35:33 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jan 6 11:17:49 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.