Date: Wed, 21 Sep 2022 17:34:08 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 263879] pkgbase removes critical etc files upon upgrade Message-ID: <bug-263879-227-fuUqHlncQR@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-263879-227@https.bugs.freebsd.org/bugzilla/> References: <bug-263879-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263879 Mark Johnston <markj@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bapt@FreeBSD.org, | |manu@freebsd.org --- Comment #3 from Mark Johnston <markj@FreeBSD.org> --- 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263879-227-fuUqHlncQR>