NetBSD Problem Report #58363
From www@netbsd.org Sun Jun 23 21:06:10 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 77C141A923A
for <gnats-bugs@gnats.NetBSD.org>; Sun, 23 Jun 2024 21:06:10 +0000 (UTC)
Message-Id: <20240623210609.3767D1A923C@mollari.NetBSD.org>
Date: Sun, 23 Jun 2024 21:06:09 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: Moving files from one set to another breaks future obsoletion
X-Send-Pr-Version: www-1.0
>Number: 58363
>Category: install
>Synopsis: Moving files from one set to another breaks future obsoletion
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: install-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 23 21:10:00 +0000 2024
>Originator: Taylor R Campbell
>Release:
>Organization:
The NetBSDebughtml32 Obsoletion
>Environment:
>Description:
Several problems:
1. We moved obsolete entries from man to manhtml, like these from the BIND update earlier this year:
./usr/share/man/html8/dnssec-dsfromkey.html man-obsolete obsolete
./usr/share/man/html8/dnssec-importkey.html man-obsolete obsolete
./usr/share/man/html8/dnssec-keyfromlabel.html man-obsolete obsolete
./usr/share/man/html8/dnssec-keygen.html man-obsolete obsolete
./usr/share/man/html8/dnssec-revoke.html man-obsolete obsolete
./usr/share/man/html8/dnssec-settime.html man-obsolete obsolete
./usr/share/man/html8/dnssec-signzone.html man-obsolete obsolete
./usr/share/man/html8/dnssec-verify.html man-obsolete obsolete
Users who have the man set installed with MKMANHTML=yes, but not manhtml, will miss these obsoletions on postinstall, and will retain the old files.
2. We moved some current entries from man to manhtml, like viac7temp.html:
--- a/distrib/sets/lists/man/mi
+++ b/distrib/sets/lists/man/mi
...
-./usr/share/man/html4/i386/viac7temp.html man-sys-htmlman html
...
--- /dev/null
+++ b/distrib/sets/lists/manhtml/mi
...
+./usr/share/man/html4/i386/viac7temp.html man-sys-htmlman html
Later, i386/viac7temp.html was obsoleted in favour of x86/viac7temp.html:
--- a/distrib/sets/lists/manhtml/mi
+++ b/distrib/sets/lists/manhtml/mi
...
-./usr/share/man/html4/i386/viac7temp.html man-sys-htmlman html
+./usr/share/man/html4/i386/viac7temp.html man-obsolete obsolete
...
+./usr/share/man/html4/x86/viac7temp.html man-sys-htmlman html
Again, users who have the man set installed with MKMANHTML=yes, but not the manhtml set, will miss this obsoletion and wind up with the old i386/viac7temp.html alongside the new x86/viac7temp.html.
>How-To-Repeat:
1. build with MKMANHTML=yes and install man set last year
2. build with MKMANHTML=yes and upgrade this year but don't install manhtml set
3. run postinstall
>Fix:
Yes, please!
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.