Doug Whitfield

Doug Whitfield at

Last time I tried this it broke pkg. Any thoughts on avoiding the same fate?

FreeBSD repository update completed. 31430 packages processed.
New version of pkg detected; it needs to be installed first.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
        pkg: 1.8.7_3 -> 1.10.5

Number of packages to be upgraded: 1

3 MiB to be downloaded.

Show all 8 replies
ok, I made it to 10.4, but the question now is if there is something like yum-cron

Doug Whitfield at 2018-04-16T21:37:19Z

clacke@libranet.de ❌ likes this.

>> dw:

“The problem is what happens in this thread: https://forums.freebsd.org/threads/pkg-failure-after-upgrading-pkg.59313/ -- this has been fixed, but I'm not sure how to get the fixed version while pkg is in this state.

if you have the ports installed, you could just update ports and compile it. It is the BSD way, and the safe way.


cd /usr/ports/ports-mgmt/pkg/ && make install clean

milo at 2018-04-17T13:08:12Z

thanks for the info! I hope I don't need it for a while, but it's good to have it in the back of my mind just in case!

Doug Whitfield at 2018-04-17T13:14:58Z

I discovered 0 3 * * * root /usr/sbin/freebsd-update cron

Doug Whitfield at 2018-04-17T13:49:50Z