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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s