From nobody Sat Jul 9 11:48:14 2022 X-Original-To: pkg@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 5675B1CF86FA for ; Sat, 9 Jul 2022 11:48:15 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lg7gz0HPLz452g for ; Sat, 9 Jul 2022 11:48:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4Lg7gy6HbCzlB6 for ; Sat, 9 Jul 2022 11:48:14 +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 269BmEgt086681 for ; Sat, 9 Jul 2022 11:48:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 269BmEd4086680 for pkg@FreeBSD.org; Sat, 9 Jul 2022 11:48:14 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: pkg@FreeBSD.org Subject: [Bug 265113] ports-mgmt/pkg: cannot upgrade 'sudo' with new openldap 2.6 Date: Sat, 09 Jul 2022 11:48:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: olgeni@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657367295; 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; bh=BF7vRGhisqG0mQ8Cy+pWPfSKQES7nUvtXQel9lOULyI=; b=FNQghyKhl/R1q4/oj4fOor2nrGDpTeEmrJIbPhLRSduv8l8t6+geTfzHm0u6O7CiajRPcl KRftik1qKyYycHa2HeqgmHOoXOzigdmCHLNlrstD7Mq4QStbUofXKA9O+yDHmwHaD6a7BB kH+OKYQXRXvX9fdyvHBx16pp1ueCCvk8ozGDUX5nywcge4rnLrmQwKhsR1OiPlvK6RI5Dq Pk+mDfPtbj2qxECuFlH+leVabJScw0Lz9YNb1gWCp6StUbHqDW7UHsBEQ4bmSnFoJRLYIq 8vjYLVlbJXayPXXmPfvVQsVb59Ioc4u2JV2N9/+n7BRlFARXIalmuk2QHs9sfQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657367295; a=rsa-sha256; cv=none; b=oi6ClqRu6AdD6xuW/3k7OUzAeCWiviZO8MUYp9Qet/LgL+oHK28WA6KM7vMQfsjsITs+8h xnuwSEaMo7XlxYqcI2QroAQUTpHgoQN2XyTvr1S+T/ZdOAepWzFkJgr+pgmgd/m8EiQVgh BKKBv0/AyhL4eXlyNhfqt4Lky8Zqy7XAO+CcLQG7gdXaXwh4bl92rZZaCWbj0X6uGrrKpB xcT6pFZSSs3ZyZeu24dFXgQ/nTVcEKtXKc2OcxYrhv+3jnWdmMEp0U5za3kfm1jWjAuU+T 9nbE7zo0QKEtKJ8hdUjEr5jeX6SP7c6TNUjIdTldsybXxVoO0hJXVVFoid1/Sw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265113 Bug ID: 265113 Summary: ports-mgmt/pkg: cannot upgrade 'sudo' with new openldap 2.6 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: pkg@FreeBSD.org Reporter: olgeni@FreeBSD.org Flags: maintainer-feedback?(pkg@FreeBSD.org) Assignee: pkg@FreeBSD.org I somehow managed to confuse pkg, perhaps with something in my custom poudr= iere build: when handling the upgrade of openldap 2.4 to 2.6 it tries to install *both* client packages even though it just removed (correctly) the package = for 2.4. Re-running the upgrade gets it through. The problem is that sudo is left in= an unusable state (referencing libs from 2.4) and you have to become root in s= ome other way. Interesting part at the end: % sudo pkg upg sudo Updating bsdkit-extra repository catalogue... bsdkit-extra repository is up to date. Updating bsdkit repository catalogue... Fetching meta.conf: 100% 163 B 0.2kB/s 00:01 Fetching packagesite.pkg: 100% 912 KiB 934.3kB/s 00:01 Processing entries: 100% bsdkit repository update completed. 3745 packages processed. All repositories are up to date. The following 2 package(s) will be affected (of 0 checked): New packages to be INSTALLED: openldap26-client: 2.6.2 [bsdkit] Installed packages to be REINSTALLED: sudo-1.9.11p3 [bsdkit] (direct dependency changed: openldap26-clien= t) Number of packages to be installed: 1 Number of packages to be reinstalled: 1 The process will require 5 MiB more space. 3 MiB to be downloaded. Proceed with this action? [y/N]: y [1/2] Fetching sudo-1.9.11p3.pkg: 100% 2 MiB 1.7MB/s 00:01 [2/2] Fetching openldap26-client-2.6.2.pkg: 100% 1 MiB 1.1MB/s 00:01 Checking integrity... done (1 conflicting) - openldap26-client-2.6.2 [bsdkit] conflicts with openldap24-client-2.4.5= 9_4 [installed] on /usr/local/bin/ldapadd Checking integrity... done (0 conflicting) Conflicts with the existing packages have been found. One more solver iteration is needed to resolve them. The following 4 package(s) will be affected (of 0 checked): New packages to be INSTALLED: openldap26-client: 2.6.2 [bsdkit] Installed packages to be REINSTALLED: sudo-1.9.11p3 [bsdkit] (direct dependency changed: openldap26-clien= t) Number of packages to be installed: 1 Number of packages to be reinstalled: 1 The process will require 5 MiB more space. Proceed with this action? [y/N]: y Fetching openldap24-client-2.4.59_4.pkg: 100% 1 MiB 1.0MB/s 00:01 [1/4] Deinstalling openldap24-client-2.4.59_4... [1/4] Deleting files for openldap24-client-2.4.59_4: 100% [2/4] Installing openldap26-client-2.6.2... [2/4] Extracting openldap26-client-2.6.2: 100% [2/4] Installing openldap24-client-2.4.59_4... pkg: openldap24-client-2.4.59_4 conflicts with openldap26-client-2.6.2 (installs files into the same place). Problematic file: /usr/local/bin/lda= padd --=20 You are receiving this mail because: You are the assignee for the bug.=