Danilo G. Baio:
> 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 file: /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 
> beforehand.

did you happen to save the full output from pkg when this happened?

usually, i would expect it to attempt the upgrade, notice the conflict,
and re-calculate the upgrade to install the conflicting packages in the
correct order.  this is what i noticed when upgrading my local systems
past the FreeBSD-cron split.

unfortunately, pkg.freebsd.org doesn't seem to save older versions of
the repository, so it's difficult to test this upgrade again.

btw: if 'pkg' fails due to missing shlibs, you should be able to use
'pkg-static' to recover, unless it had already removed that as well.

Attachment: signature.asc
Description: PGP signature

Reply via email to