I have just setup FreeBSD 9.2 and I want to start familiarizing myself with the pkgng so I installed pkg via pkg_add.
This install pkg 1.1.4 I believe. This isn't the latest as trying to install another app (e.g. pkg install editors/nano) would install a newer version (I believe this is 1.2.x). Anyway, the install would fail because pkg 1.2.x uses configuration that's not compatible with version 1.1.x. So I would then use the new pkg.conf.sample as my new pkg.conf.
I'm just wondering if there is a step I can run between the initial "pkg_add" and the 1st "pkg install" so I can upgrade pkg to whatever is the latest. I tried "pkg upgrade" but it seems it doesn't really upgrade pkg.
Thanks very much
Code:
pkg_add -r pkg
This install pkg 1.1.4 I believe. This isn't the latest as trying to install another app (e.g. pkg install editors/nano) would install a newer version (I believe this is 1.2.x). Anyway, the install would fail because pkg 1.2.x uses configuration that's not compatible with version 1.1.x. So I would then use the new pkg.conf.sample as my new pkg.conf.
I'm just wondering if there is a step I can run between the initial "pkg_add" and the 1st "pkg install" so I can upgrade pkg to whatever is the latest. I tried "pkg upgrade" but it seems it doesn't really upgrade pkg.
Thanks very much