Devuan bug report logs - #663
man-db: "man open" gives the manpage of "xdg-open"

version graph

Package: man-db; Maintainer for man-db is (unknown); Source for man-db is src:man-db.

Reported by: "Dr. Nikolaus Klepp" <office@klepp.biz>

Date: Wed, 16 Feb 2022 08:44:02 UTC

Severity: normal

Tags: debian

Merged with 664

Found in version 2.9.4-4

Forwarded to https://bugs.debian.org/1005888

Full log


Message #22 received at 663-done@bugs.devuan.org (full text, mbox, reply):

Received: (at 663-done) by bugs.devuan.org; 18 Feb 2022 07:06:03 +0000
Return-Path: <davidpaul@librem.one>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Fri, 18 Feb 2022 07:06:02 +0000 (UTC)
Received: from mx1.librem.one (mx1.librem.one [138.201.176.93])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by mail.dyne.org (Postfix) with ESMTPS id 535BF6617BD
	for <663-done@bugs.devuan.org>; Fri, 18 Feb 2022 08:05:38 +0100 (CET)
Authentication-Results: mail.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=librem.one header.i=@librem.one header.b="tZ/nd+zP";
	dkim-atps=neutral
Received: from smtp.librem.one (unknown [192.241.214.14])
	by mx1.librem.one (Postfix) with ESMTPS id C020781E8B;
	Thu, 17 Feb 2022 23:05:35 -0800 (PST)
Authentication-Results: name mx1.librem.one; dmarc=fail (p=none dis=none) header.from=librem.one
Authentication-Results: mx1.librem.one;
	dkim=pass (2048-bit key; unprotected) header.d=librem.one header.i=@librem.one header.b="tZ/nd+zP";
	dkim-atps=neutral
Date: Fri, 18 Feb 2022 01:05:32 -0600
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=librem.one; s=smtp;
	t=1645167933; bh=3Z/dOBjHVRjCYfJnl29Cb2obzdeqvvu6nMF/YACB8Kk=;
	h=Date:From:To:Subject:In-Reply-To:References:Reply-To:From;
	b=tZ/nd+zP9Cuqu2aStck5b2XW4uhx+TIWedxzXSRfTSodzW0p98wF5MyWIlE2oq79Y
	 EsNQuqECtRiTOmLnK0FdiGii0lZkFQElldf2F7v6ntnQET3ShTPR5cQdMZfymeN+/4
	 yyhSBo0VJafvHoKJTKwBRvL9fkWZ+Qv4qXKn1Gzl/2fyHJRXOzCB9aimX0gTxqafla
	 c6XXTiGUKC/XEYCzV0FJqOd3clY8NMsNJPs8AZiTOEcVrWJcs3271MvnpHk8vKL5MD
	 FHCCyUP/ua2gjDFm4UXZtm/5fXISqH8Wql83xc1lQRxAC0JtcMHTFMAaV7am6Uzdqp
	 ZH9SBfMWvQYWQ==
From: "David (Plasma) Paul" <davidpaul@librem.one>
To: "Dr. Nikolaus Klepp" <office@klepp.biz>, 663-done@bugs.devuan.org
Subject: Re: [devuan-dev] bug#663: man-db: "man open" gives the manpage of
 "xdg-open"
Message-ID: <20220218010532.4482681c@Zombmetheus.egg>
In-Reply-To: <202202160942.40733.office@klepp.biz>
References: <202202160942.40733.office@klepp.biz>
Reply-To: 663@bugs.devuan.org, devuan developers internal list
 <devuan-dev@lists.dyne.org>
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,SPF_PASS,URIBL_BLOCKED autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dyne.org
Control: tags -1 wontfix

On Wed, 16 Feb 2022 09:42:40 +0100
"Dr. Nikolaus Klepp" <office@klepp.biz> wrote:
>    * What led up to the situation?
> $ man open
> 
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> $ man open
> 
>    * What was the outcome of this action?
> The manpage of xdg-open, /usr/share/man/man1/xdg-open.1.gz, from
> package "xdg-op
> 
>    * What outcome did you expect instead?
> The manpage of "open", /usr/share/man/man2/open.2.gz, from package
> "manpages-dev

The command is working as intended.

When manpages in multiple sections of the manual share the same name,
the page from the earliest section of the manual is fetched and
displayed in response to running 'man <manpage>'.

The xdg-utils package includes an alias for /usr/bin/xdg-open in the
form of /usr/bin/open. A manpage alias is included in the same fashion,
thus both sections 1 and 2 of the manual have a manpage for 'open'.

To specify from which section of the manual to display a manpage,
proceed the name of the manpage with the section number,
i.e.'man 2 open'. To display matching manpages from all sections, use
the -a option, i.e. 'man -a open'.

-- 
Plasma

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Thu May 2 06:23:51 2024;