pkg ‘hidden’ switch

Pkg on FreeBSD 10 seems to have a “hidden” switch/option.

If you’re getting the “failed checksum from repository” when trying to install a package, try doing and update with the -f switch.

# pkg update -f

I assume that stands for “force” and will force a download of the index from the repository.

Thanks,

Malcolm.

Leave a Comment

Your email address will not be published. Required fields are marked *