upgrading freebsd 9 to 10 notes

After upgrading freebsd 9 to 10 using freebsd's own install guide on wiki, I found that my pkg info returned no packages back to me. Kind of frustrating that their install guide does not explain the user land upgrade process. Anyway, this is what I had to do to fix that:

migrate to pkg2ng
# pkg2ng

tell your ports of the change
# cat /etc/make.conf

update packages before proceeding to install
# pkg update

if you get an error: “PACKAGESITE in pkg.conf is deprecated. Please create a repository configuration file”

cp /usr/local/etc/pkg.conf.sample /usr/local/etc/pkg.conf

*I really should be using tags or something for this post.