couldn't resolve pkg.

I installed FreeBSD and booted into it the first time. I was in console and wanted xorg.
So I did pkg install xorg
Then it said that I don't have pkg and asked if I wanted to fetch and install it (I don't know if its normal for pkg to be not be there).
So I did yes but then it said something like it couldn't resolve and I need to do something with PACKAGESITE iirc.
I am guessing it has to do something with mirror?
I installed FreeBSD 13 using usb (memstick) amd64.
Thank you!
 
Yes, that's normal.


You're either not connected online or your DNS configuration isn't correct.
Worked, thanks!
But at startup, in console i get this
"/etc/rc: WARNING: $zfs_enable is not set properly - see rc.conf(5)"
Edit: my rc.conf looks like this
 

Attachments

  • IMG_20210817_145427.jpg
    IMG_20210817_145427.jpg
    1.3 MB · Views: 54
If you have a ZFS system, add zfs_enable="YES" to rc.conf: sysrc zfs_enable="YES"
 
unique name, I have a beginners tutorial that has some information you may find of benefit, like a minimal example of /etc/rc.conf.

It uses ports and UFS, but you can substitute pkg and still follow the basic outline since you already have the Base System installed. It also gives examples of how to edit other System and Security files and a pf firewall ruleset.

 
Back
Top