upgrade vs upgrade -f

Michael W. Lucas mwlucas at michaelwlucas.com
Tue Feb 26 18:21:30 UTC 2019


Hi,

I'm going through the final tech edits on the jails book, and an early
reader raised a pkg question. I want to be sure to give good advice.

After an upgrade between releases we need to run pkg upgrade -fy.  Is
there any advantage to running the upgrade and then a separate
force-upgrading, as in:

# pkg -j ldap1 upgrade -y && pkg -j ldap1 upgrade -fy

My reader reports that they've had SAT solver problems and packages
removed when running plain "pkg upgrade -fy" between versions.

Just trying to sort out edge cases vs old problems vs serious issues.

Thanks,
==ml

-- 
Michael W. Lucas 	https://mwl.io/
author of: Absolute OpenBSD, SSH Mastery, git commit murder,
Immortal Clay, PGP & GPG, Absolute FreeBSD, etc, etc, etc...


More information about the freebsd-pkg mailing list