From nobody Sat Jul 09 11:48:14 2022 X-Original-To: ports-bugs@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 56F3D1CF877E 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 4Lg7gz0gMQz44Zq 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 4Lg7gy6lnFzlCf 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 269BmEkW086685 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 269BmEFC086684 for ports-bugs@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: ports-bugs@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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@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=fm2DRjc2+CR9W1G2G6XVxwqMmVTXbiZlBKxfHqVy+llYmr0sml/b6c6L+cMOYzz/ImEI1X AInMcfYsVoVcaaW7LdEsBInVOCv3Vbp29kbwA6D3tiYD36ni3Ix15HN0GwJDzDFSEwenNx +UrUlggP52fIJc1tpEYvSqVif1tCl15dGWCuGXQJZTxZyEZ07mSwttwWG4z736y1kJDhi4 zDBxu25ZdxGhaH3NSpoqkOYeRwZpRbK113PWPC2iPjOAdFDO9ObWIdbZLg8tY+gNPV6UWh RIVRFF92LNz2d4OSDlJSzIKrtdPTrbzpRp5DVPDkRuAUrhsl25Ub1LHYWQRL3g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657367295; a=rsa-sha256; cv=none; b=KcIhr5KkOwoq1qcShOA1YaCK+0r7Fo4OXAeswcixUa+YZIzjVT8sYJQIgIZ7eXsn+9xINT 8Ts/rTMMsgvKPBHhInmYRgXAbmmfxuaNRYveis5wu2q2WZi65HRileYhtKctb3jEkZdf7q IOS6QeOz17CYrBXSYIk8zm+WaiziG91i4TWhcL8Uyppykhj6gg6Pbv3+ID2BKPSf/FV+Fe LsPNHYwyxLodUQHrUABFAku/k0wn2ujRpeKHn9xYAknYzoQutj9RR+uVSMD5QfpdvMZsPC lEs1Ql0MRwS8mPT+cuvodePaOSAiUFbPpP3cGQZbCkBj6Ap5ESolwEmM+3iP8w== 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.=