To resolve this issue, change the default set binary .txz packages repository.
- Log into SSH client or terminal session.
- Create and save this contents to FreeBSD.conf file.
#mkdir -p /usr/local/etc/pkg/repos
Create the file /usr/local/etc/pkg/repos/FreeBSD.conf with:
#vi /usr/local/etc/pkg/repos/FreeBSD.conf
FreeBSD: {
url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
mirror_type: "srv",
enabled: yes
- Install the required packages for VMware Tools:
#pkg install perl5
#ln -s /usr/local/bin/perl /usr/bin/perl
(optional if perl version > 5.18 or perl gets installed under /usr/local/bin by default)
#pkg install compat6x-i386
or
#pkg install compat6x-amd64