Sign in
Categories
Migration Mapping Assistant Your Saved List Partners Sell in AWS Marketplace Amazon Web Services Home Help

Cannot use pkg manager as it requires an upgrade....

  • By blocked
  • on 01/19/2019

pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
New version of pkg detected; it needs to be installed first.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
pkg: 1.10.5_1 -> 1.10.5_5

Number of packages to be upgraded: 1

Proceed with this action? [y/N]: y
[1/1] Upgrading pkg from 1.10.5_1 to 1.10.5_5...
[1/1] Extracting pkg-1.10.5_5: 16%
pkg: Fail to create temporary file: /usr/local/lib/.libpkg.a.OUTvZRrnMLYC:Operation not permitted
[1/1] Extracting pkg-1.10.5_5: 100%


  • By qpqwill
  • on 09/30/2019

I am betting all you needed to do was sudo.

  • By Nate
  • on 05/13/2019

Did you try running "sudo pkg upgrade"?