From nobody Fri Jul 26 13:17:23 2024 X-Original-To: pkgbase@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WVpFb62tPz5S6S0 for ; Fri, 26 Jul 2024 13:17:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WVpFb4khdz4jqq for ; Fri, 26 Jul 2024 13:17:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721999843; a=rsa-sha256; cv=none; b=FO4I4cXr3buXyaQi3ZsJ/X/jpZ42qvpAL830eSwHCyMRb44UWf/77hK92tMdanqON6YIsV sVZebYmD6PRT/2mD7dSBWfD7NDDIYESf3w6w27I3wlL+Cl0N9aOMJjenerXueVKMBaHXuU Uh73aWI7hmvhKPJscKd0a8PRAfcDm8ULy6xYeau+de0g1vAsjF/YWM39c45lI8vmvinqq7 LjiDCCoDs4bIpjr4+0S3o+SjiR564ndtzoAhnheJGR5I2DNIs7bmMZfrynoVHWdvT16hI3 j6CIGuII10evy/RrCy/9gBJ1kDOzhsfLBUV7Rm7gD4Cwyag5pO/wZJx9lkmC4w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721999843; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lcpHbFmZuQuXo5obVJoe/NSeuoZCk0vUvyWg5rtGbjE=; b=ZnD+jXj+fwWRwIPsbF92ySpDoUu609xuZAR6nIsfkPDiLszfuWCCGX44+aIJCz1ybwupfb xsBYRXB6wgZIqD96gL2akkIXh1VAk6i/c7LzjxsSjYW929GHn1sTGvatX6w/LxuFv2SG+1 fyKnph62Gf+wspCnGxAHeMhb3hofqspsZlvJrtmoauFWDQ+OKzagP5Xi1AlM6rJodHEFVB 51iUxCwOmJTe6q7iviowHP2ApwlfuLIBhZ1IZQPlIqwKBzehEPtu2LMshB7hLdhhA+l15c 97Ge1ynVVn79mb0BIzBkNY4lLVNJZkP58le5Lt20bB1/pG2oxq8XV/R+odi2rg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WVpFb48dCzPj2 for ; Fri, 26 Jul 2024 13:17:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 46QDHNHC016088 for ; Fri, 26 Jul 2024 13:17:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46QDHN3Y016087 for pkgbase@FreeBSD.org; Fri, 26 Jul 2024 13:17:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkgbase@FreeBSD.org Subject: [Bug 259785] pkgbase installation order is underspecified Date: Fri, 26 Jul 2024 13:17:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: pkgbase X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: arrowd@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259785 --- Comment #4 from Gleb Popov --- (In reply to Mark Johnston from comment #3) > That would help, but it's possible that pkgbase packages will have some p= ost-install scripts that rely on other packages. I believe this is an extremely rare situation in Ports and if it happens th= en it is post-install scripts that should be fixed. By delaying the execution = via triggers, for example. Anyways, I don't know much about pkgbase, why do pkgbase packages have post-install scripts at all? > IMO the right answer is that some packages must be marked such that the s= olver does not split the upgrade job for them. Hmm, pkg performs that splitting because it has to. We can't just disable i= t, otherwise there would be no splits at all. If a file belonging to one packa= ges is moved to an another on during the upgrade, but the dependence is the oth= er way around, we have to split and it can't be avoided. Or am I missing something? --=20 You are receiving this mail because: You are on the CC list for the bug.=