NetBSD Problem Report #56251

From  Wed Jun 16 23:26:10 2021
Return-Path: <>
Received: from ( [])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id DD1081A921F
	for <>; Wed, 16 Jun 2021 23:26:10 +0000 (UTC)
Message-Id: <>
Date: Wed, 16 Jun 2021 23:26:10 +0000 (UTC)
Subject: meta-packages are fragile
X-Send-Pr-Version: 3.95

>Number:         56251
>Category:       pkg
>Synopsis:       meta-packages are fragile
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 16 23:30:00 +0000 2021
>Originator:     David A. Holland
>Release:        pkgsrc 20210616

Large meta-packages, such as the ones associated with desktops, are
fragile for binary package users, in that if anything at all anywhere
in the dependency tree fails the meta-package is not built and is
unavailable in that build's binary packages. It's then impossible to
use the meta-package as a handle for installing the intended software,
even though most of it is available and the bust bits might be of no
interest whatsoever.

This inconveniences and confuses users.

	See for example PR 51235.

This has been argued about periodically with no conclusions. One
option though is to introduce weak dependencies, which would be
dropped at build time if they fail. However, this would at a minimum
need to be taught to pbulk as well as implemented in the
infrastructure; and it might be necessary to tag these depends weak in
binary packages as well to prevent pkgin from accidentally doing silly
things. (E.g. if some KDE app breaks and gets dropped from the
metapackage, it's possible that without intervention pkgin would
autoremove the prior still-working copy at update time...)

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.