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 5677D1CF877D 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 4Lg7gy6mYkz44sC for ; Sat, 9 Jul 2022 11:48:14 +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 4Lg7gy5fYJzlB5 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 269BmECJ086676 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 269BmEtv086675 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 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: maintainer-feedback requested: [Bug 265113] ports-mgmt/pkg: cannot upgrade 'sudo' with new openldap 2.6 Date: Sat, 09 Jul 2022 11:48:14 +0000 X-Bugzilla-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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=1657367294; 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=HXq8cwQiVrxnH7vnQerg6p7U0+QlLMaocbipRhHvJU8=; b=xc1eiMU6e0eMMpfuwYUJslZ+vkaXIGPFym2j/2Pc12c/R3x2hRQJF4X+1cerdPiARvm8wC LTdVN0ZxecnKlbbwPZ8fExA+oda/sUc9uBR6gCMtdh/YEH3carvblrTeipJY1kaibisf5o s6W6hHhsuf8myT+DzBCUE4g4gZno+lKBr48zViuDiDlSal5H1z+vM1Id89HIAIGBDPgFd7 HSEv++u1wHwZmU1HXAcLS1BrQNR2HFTRcbNJDabo69S1HWGAALoO+zNvhf3NSUBKv/5VqB FOg8EeJ2hBr8J3hzT/3ga9WOColVQX2f1i7PSgZqRn9S+XnOOV5sEQpFMdODOA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657367294; a=rsa-sha256; cv=none; b=SSesDY8omkx4sfsLyRTmtrcYMlRtNIjq6C6yvwoSihIFEKH8DIh4F78CcCcDsI1EvshgKZ NPYBQVipurPJsaRvT7rc1jV869icltyk0lXpW0SXvLm4WJDRF7tjFvayWrhyt0kilRYeDG xwr3CL8+zYWzGgGhXrV/7GgSoBKL/BevTT+G1dC5EGTDGVlvfFl9GieNWBeal6Zd1X1tA3 xTQSCvkG+STHJ1PwBbP5oFQX3eajZX1Rkz3TM9+B4M/3uhs2U0dNjcVbVIRVkeESWHCZgW xCKqUZz7LD/WNbahB89Egz6NFVgEZAmxga7G2h7Hw5v2NDaYQ7xUUx8VB5cBcg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N Bugzilla Automation has asked freebsd-pkg (Nobody) for maintainer-feedback: Bug 265113: ports-mgmt/pkg: cannot upgrade 'sudo' with new openldap 2.6 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265113 --- Description --- 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-client) 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-client) 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