Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2024 06:19:03 -0700
From:      Chuck Tuffli <ctuffli@gmail.com>
To:        "Danilo G. Baio" <dbaio@freebsd.org>
Cc:        pkgbase@freebsd.org
Subject:   Re: Conflicts with FreeBSD-runtime-15, FreeBSD-utilities-15
Message-ID:  <CAKAYmMJX1RjZ8=MetEt=4Y=6kvnKnzwZrq4UbSbrY%2BFCYs%2Bo-Q@mail.gmail.com>
In-Reply-To: <76f55c85-7632-445c-98f6-6e0e2f58e0f1@app.fastmail.com>
References:  <76f55c85-7632-445c-98f6-6e0e2f58e0f1@app.fastmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 24, 2024 at 5:43=E2=80=AFPM Danilo G. Baio <dbaio@freebsd.org> =
wrote:
>
> Hi,
>
> FYI, I encountered this issue while upgrading my home backup box:
>
> Installing FreeBSD-cron-15.snap20240513063539...
> pkg: FreeBSD-cron-15.snap20240513063539 conflicts with FreeBSD-utilities-=
15.snap20240406204558 (installs files into the same place).  Problematic fi=
le: /etc/crontab
>
> root@x240: # pkg upgrade
> ld-elf.so.1: Shared object "libutil.so.9" not found, required by "pkg"
>
> The system completely broke because FreeBSD-runtime-15 had been removed b=
eforehand.

I'm hitting this as well. Running pkg-static upgrade -r FreeBSD-base
doesn't get past the cron conflicts:

root@next:/ # pkg-static upgrade -r FreeBSD-base
Updating FreeBSD-base repository catalogue...
FreeBSD-base repository is up to date.
All repositories are up to date.
Checking for upgrades (491 candidates): 100%
Processing candidates (491 candidates): 100%
Checking integrity... done (16 conflicting)
  - FreeBSD-cron-15.snap20240531150712 [FreeBSD-base] conflicts with
FreeBSD-utilities-15.snap20240408011138 [installed] on /etc/crontab
  - FreeBSD-cron-15.snap20240531150712 [FreeBSD-base] conflicts with
FreeBSD-runtime-15.snap20240408011138 [installed] on /etc/pam.d/cron
  - FreeBSD-pf-15.snap20240531150712 [FreeBSD-base] conflicts with
FreeBSD-utilities-15.snap20240408011138 [installed] on
/usr/sbin/authpf
  - FreeBSD-tests-15.snap20240601150152 [FreeBSD-base] conflicts with
FreeBSD-utilities-15.snap20240408011138 [installed] on
/usr/tests/atf_python/sys/__init__.py
  - FreeBSD-zfs-man-15.snap20240531130351 [FreeBSD-base] conflicts
with FreeBSD-utilities-man-15.snap20240407233856 [installed] on
/usr/share/man/man8/zfsbootcfg.8.gz
  - FreeBSD-hyperv-tools-15.snap20240531150712 [FreeBSD-base]
conflicts with FreeBSD-utilities-15.snap20240408011138 [installed] on
/usr/sbin/hv_kvp_daemon
  - FreeBSD-yp-15.snap20240531181300 [FreeBSD-base] conflicts with
FreeBSD-utilities-15.snap20240408011138 [installed] on
/usr/share/examples/ypldap/ypldap.conf
  - FreeBSD-ipfw-15.snap20240531181300 [FreeBSD-base] conflicts with
FreeBSD-utilities-15.snap20240408011138 [installed] on
/usr/share/examples/ipfw/change_rules.sh
  - FreeBSD-zfs-15.snap20240531220745 [FreeBSD-base] conflicts with
FreeBSD-utilities-15.snap20240408011138 [installed] on
/sbin/zfsbootcfg
  - FreeBSD-pf-man-15.snap20240516193155 [FreeBSD-base] conflicts with
FreeBSD-utilities-man-15.snap20240407233856 [installed] on
/usr/share/man/man8/authpf-noip.8.gz
  - FreeBSD-hast-15.snap20240531181300 [FreeBSD-base] conflicts with
FreeBSD-utilities-15.snap20240408011138 [installed] on
/usr/share/examples/hast/ucarp.sh
  - FreeBSD-bhyve-15.snap20240531181300 [FreeBSD-base] conflicts with
FreeBSD-utilities-15.snap20240408011138 [installed] on
/usr/share/examples/bhyve/vmrun.sh
  - FreeBSD-csh-15.snap20240531150712 [FreeBSD-base] conflicts with
FreeBSD-utilities-15.snap20240408011138 [installed] on
/usr/share/examples/csh/dot.cshrc
  - FreeBSD-efi-tools-15.snap20240531181300 [FreeBSD-base] conflicts
with FreeBSD-utilities-15.snap20240408011138 [installed] on
/usr/share/examples/uefisign/uefikeys
  - FreeBSD-ppp-15.snap20240531150712 [FreeBSD-base] conflicts with
FreeBSD-utilities-15.snap20240408011138 [installed] on
/usr/share/examples/ppp/chap-auth
  - FreeBSD-runtime-man-15.snap20240601233406 [FreeBSD-base] conflicts
with FreeBSD-libcompat-man-15.snap20240125183519 [installed] on
/usr/share/man/man3/ftime.3.gz
Checking integrity... done (0 conflicting)
The following 495 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        FreeBSD-clibs-dev: 15.snap20240531201247 [FreeBSD-base]
        FreeBSD-cron: 15.snap20240531150712 [FreeBSD-base]
        FreeBSD-rc: 15.snap20240531181300 [FreeBSD-base]
        FreeBSD-utilities-dbg: 15.snap20240601162654 [FreeBSD-base]
...
Number of packages to be installed: 4
Number of packages to be upgraded: 491

The process will require 104 MiB more space.

Proceed with this action? [y/N]: y
[next] [1/495] Installing FreeBSD-cron-15.snap20240531150712...
pkg-static: FreeBSD-cron-15.snap20240531150712 conflicts with
FreeBSD-utilities-15.snap20240408011138 (installs files into the same
place).  Problematic file: /etc/crontab
root@next:/ #

Doing a pkg remove of utilities doesn't help as I then hit the
conflict with runtime:
...
Number of packages to be installed: 7
Number of packages to be upgraded: 488

The process will require 271 MiB more space.

Proceed with this action? [y/N]: y
[next] [1/495] Installing FreeBSD-cron-15.snap20240531150712...
pkg-static: FreeBSD-cron-15.snap20240531150712 conflicts with
FreeBSD-runtime-15.snap20240408011138 (installs files into the same
place).  Problematic file: /etc/pam.d/cron
root@next:/ #



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKAYmMJX1RjZ8=MetEt=4Y=6kvnKnzwZrq4UbSbrY%2BFCYs%2Bo-Q>