From nobody Wed Sep 21 17:34:08 2022 X-Original-To: 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 4MXlrx5fLkz4d5Sp for ; Wed, 21 Sep 2022 17:34:09 +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 4MXlrx4fHkz3WBD for ; Wed, 21 Sep 2022 17:34:09 +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 4MXlrx3kzpz17W2 for ; Wed, 21 Sep 2022 17:34:09 +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 28LHY9Lr085005 for ; Wed, 21 Sep 2022 17:34:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28LHY94h085004 for bugs@FreeBSD.org; Wed, 21 Sep 2022 17:34:09 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: bugs@FreeBSD.org Subject: [Bug 263879] pkgbase removes critical etc files upon upgrade Date: Wed, 21 Sep 2022 17:34:08 +0000 X-Bugzilla-Reason: AssignedTo 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: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663781649; 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=tWAPAHdYr+K6FSV6F3O7fP4bZgFXNY11U62z723XOwI=; b=amPSqd6A1PKEmnvZV5HYl9xUDFG198PIlAdcQ2OtvF5cz2TXWEBRfAVWwG8OYGaF8ioqiK 8aIwHiRUPOSr5Q0GA682IYqwyAbYCS9X89zLgfVAlLIbhDW8q4bSMJveUWmh8Qy5IvNjHr Mhl/8/Es+FdFQV8tG8sPNNBJTRzIvk+NecQ/Wp2cSiBqFzN/1eLaL6ihEeGGymIgnVkRFF PApblnZZPVsTme9wsUF6+1z6vqihnAN5BY+isLBeBoMWrNCkaOoNvaEIkNwMMt7Xs3FJD7 Dze33AIsJx7XR9wUO9bihamwPaHqSGz/sKupqnE5zeNT9AvR2D8/l7ztjowREA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663781649; a=rsa-sha256; cv=none; b=gv2U1jtG4DtHcPa8ptpfrf5QJhSLIgHj7B6REJW1kLRZKn+ZcPnr9I6Gf9nAAdzGbi39he EeKmFUunw0IS9+czHy+XD6zX+m6EfHx6ueoDFPhjM3tTzBTgb834lf8cde5ND9aksFw3Tg NUiU21naYGcJSN9zSCfbL/MM5/JYA0iy2f52fcIHoGRtVTRjpS1a0biWXEzE48WGjikl52 IhbPmr+GKo9GQQlHT0ZigHIY+e5gENomgn56NGFb9baRhJdC8bROGT+ytyu7FOdSk+q/tz U8+fnL4ipOSb04GBp2SihINDu4KiEpCNkNxQ01zK0eLZwS15qodtlf6JOpWNTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263879 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bapt@FreeBSD.org, | |manu@freebsd.org --- Comment #3 from Mark Johnston --- I hit this again today with a plain "pkg upgrade" from my pkgbase repo. Af= ter fetching packages, I see: Checking integrity... done (3 conflicting)=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 - FreeBSD-utilities-14.snap20220918044710 [FreeBSD-base] conflicts with FreeBSD-runtime-14.snap20220902044459 [installed] on /etc/termcap.small - cmake-man-3.23.3 [FreeBSD] conflicts with cmake-3.23.3 [installed] on /usr/local/man/man1/ccmake.1.gz - cmake-core-3.23.3 [FreeBSD] conflicts with cmake-3.23.3 [installed] on /usr/local/bin/ccmake Then, during the upgrade itself: [1/421] Upgrading libxml2 from 2.10.1 to 2.10.2...=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 [1/421] Extracting libxml2-2.10.2: 100%=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 [2/421] Upgrading ca_root_nss from 3.81 to 3.83...=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 [2/421] Extracting ca_root_nss-3.83: 100%=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 [3/421] Deinstalling FreeBSD-runtime-14.snap20220902044459...=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 [3/421] Deleting files for FreeBSD-runtime-14.snap20220902044459: 100%=20= =20=20=20=20=20=20=20=20=20 [3/421] Installing FreeBSD-runtime-14.snap20220918044710...=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 [3/421] Extracting FreeBSD-runtime-14.snap20220918044710: 1%=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 pkg: getgrnam_r(operator): No such file or directory ^--- /etc/group is toast ... So for some reason pkg's solver decided to split the upgrade job for FreeBSD-runtime, but - In general it must not do this, it's not ok to lose /etc files of course. - The deinstall and install of -runtime were back-to-back, so splitting the= job does not seem to accomplish anything. The above happened on a test box and I can reproduce it. Any hints on what debug info to look at would be appreciated. I will try to figure out why t= he solver is splitting the job, since that behaviour seems wrong. --=20 You are receiving this mail because: You are the assignee for the bug.=