From nobody Fri Jul 26 13:54:03 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 4WVq3v5T9Nz5S8qd for ; Fri, 26 Jul 2024 13:54:03 +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 4WVq3v1HCcz4nsq for ; Fri, 26 Jul 2024 13:54:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722002043; a=rsa-sha256; cv=none; b=v7upBGVg3HqTGiLFdplwWGF53/YNdzAZg1TuIObEu6ZdIbWmLST7UcALCyCZEwcnE/7P+/ 3WhjVyVlVPrSEe1gRrqnc+Z6Bh06mgvqKUBkrkdLzcOSV1QcXGqhLX2rBh2BbEj46ys16c V/PMh2oDPT+QN90ZRVkfpMqbcrK4ZcPIJBCnW/EPXCUmXbkHGqiCAiYVTlrorpgxK9Ajr5 SkWtSEoUymdmQC2BMDEBNaawbFo4wgS9EmrK1Z+SoSa72obhqKuPnfdcz+gnPUo0YrzDSO 7llkEFaRb16RqUk/5ChdJ9fM4n+hP8yXtP1z2rAMYK6lh+OUVUcMXl4P1RxCDA== 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=1722002043; 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=/da9rIJm69FWWsWXMpuiUN6iiGEuwiIP/1f+xb1R4LY=; b=DVjiiJ7q7D+9VF4ppnoWkX4K+WRr/hhh3zTV151azgLShae5DfNsMG6ByePt6s3yys1SNq iHX51ufFPOWUBDdS9/DwR57iNMxpoM5byO1rz1GwiOh48eSgW8OV7B2oMvkLBpzH+YLxKm otuK4VKR00WlSoklY2VrohoS0Y2JEwOiNfvdI9AEXFto7j4lABxWw7eNcvHzrpGrYVpAwy AmC9wGWmg9WnniRvEs8B7zmOtfEdk/B3IsrEqX8M+D6OJ23QS4RvpB+k2tnII+HdmBiCZK euXG1y/rEe12qDsTxZ81Vje1BPcWTh/uBSqQ5NlY8p4o/5/d9XAN7iW8Me/eMQ== 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 4WVq3v0vcNzQZY for ; Fri, 26 Jul 2024 13:54:03 +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 46QDs3Rd067114 for ; Fri, 26 Jul 2024 13:54:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46QDs3m2067113 for pkgbase@FreeBSD.org; Fri, 26 Jul 2024 13:54:03 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:54:03 +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 #6 from Gleb Popov --- (In reply to Mark Johnston from comment #5) > Look at e.g., release/packages/certctl.ucl. I see, thanks. If certutil's reverse dependencies do not require running th= is script to run for their own upgrading - then this post-install script can be converted to a trigger and run at the end of the whole upgrade. I think we should strive for this as much as possible. > Splitting is necessary sometimes, but pkg has control over which package'= s upgrades are split. Ah, right. I was hacking on the relevant code recently but in my case one package was depending on another which is why the split order was defined. > And, when a split is necessary, the solver should try to ensure that the = install job is scheduled as early as possible. Yes, this sounds like a proper solution. Thanks for explanations! --=20 You are receiving this mail because: You are on the CC list for the bug.=