[root@FreeBSD(/)]> pkg install mysql56-server
Updating repository catalogue
digests.txz 100% 2227KB 2.2MB/s 1.0MB/s 00:01
packagesite.txz 100% 5813KB 1.9MB/s 3.5MB/s 00:03
pkg: package field incomplete: comment
Incremental update completed, 26218 packages processed:
0 packages updated, 0 removed and 26218 added.
pkg: Unable to find catalogs
[root@FreeBSD(/)]> pkg update -f
Updating repository catalogue
digests.txz 100% 2227KB 2.2MB/s 687.0KB/s 00:01
packagesite.txz 100% 5813KB 2.8MB/s 3.2MB/s 00:02
pkg: package field incomplete: comment
Incremental update completed, 26218 packages processed:
0 packages updated, 0 removed and 26218 added.
pkg: Unable to find catalogs
[root@FreeBSD(/)]> cd /usr/local/etc/pkg/repos/
-bash: cd: /usr/local/etc/pkg/repos/: No such file or directory
[root@FreeBSD(/)]> cd /usr/local/etc/pkg
-bash: cd: /usr/local/etc/pkg: No such file or directory
[root@FreeBSD(/)]> cd /usr/local/etc
[root@FreeBSD(/usr/local/etc)]> ls
bash_completion.d man.d periodic pkg.conf.sample wgetrc.sample
devd pam.d perl5_version rc.d
[root@FreeBSD(/usr/local/etc)]> portsnap fetch update
Looking up portsnap.FreeBSD.org mirrors... 6 mirrors found.
Fetching snapshot tag from ec2-eu-west-1.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Updating from Sun Mar 26 11:28:40 CET 2017 to Sun Mar 26 14:19:00 CET 2017.
Fetching 5 metadata patches... done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 13 patches.
(13/13) 100.00% done.
done.
Applying patches...
done.
Fetching 0 new ports or files... done.
Removing old files and directories... done.
Extracting new files:
/usr/ports/Mk/Uses/
/usr/ports/deskutils/kdepim4-runtime/
/usr/ports/deskutils/kdepim4/
/usr/ports/deskutils/kdepimlibs4/
/usr/ports/devel/pear/
/usr/ports/graphics/alembic/
/usr/ports/irc/weechat/
/usr/ports/mail/libvmime/
/usr/ports/net-im/ricochet/
/usr/ports/science/orthanc/
/usr/ports/security/acme-client/
/usr/ports/security/certificate-transparency/
/usr/ports/sysutils/baloo/
Building new INDEX files... done.
[root@FreeBSD(/usr/local/etc)]> cd /usr/local/etc/pkg
-bash: cd: /usr/local/etc/pkg: No such file or directory
[root@FreeBSD(/usr/local/etc)]> pkg fetch -y pkg
Updating repository catalogue
digests.txz 100% 2227KB 2.2MB/s 1.8MB/s 00:01
packagesite.txz 100% 5813KB 2.8MB/s 2.1MB/s 00:02
pkg: package field incomplete: comment
Incremental update completed, 26218 packages processed:
0 packages updated, 0 removed and 26218 added.
pkg: Unable to find catalogs
[root@FreeBSD(/usr/local/etc)]> pkg audit -F
vuln.xml.bz2 100% 685KB 684.5KB/s 684.5KB/s 00:00
libidn-1.28_1 is vulnerable:
libidn -- out-of-bounds read issue with invalid UTF-8 input
CVE: CVE-2015-2059
WWW: http://portaudit.FreeBSD.org/4caf01e2-30e6-11e5-a4a5-002590263bf5.html
libidn-1.28_1 is vulnerable:
libidn -- mulitiple vulnerabilities
CVE: CVE-2016-6263
CVE: CVE-2016-6262
CVE: CVE-2015-8948
CVE: CVE-2016-6261
WWW: http://portaudit.FreeBSD.org/cb5189eb-572f-11e6-b334-002590263bf5.html
perl5-5.16.3_4 is vulnerable:
perl5 -- taint mechanism bypass vulnerability
CVE: CVE-2016-2381
WWW: http://portaudit.FreeBSD.org/d9f99491-1656-11e6-94fa-002590263bf5.html
perl5-5.16.3_4 is vulnerable:
End of Life Ports
WWW: http://portaudit.FreeBSD.org/7fe7df75-6568-11e6-a590-14dae9d210b8.html
pkg-1.2.4_1 is vulnerable:
libyaml heap overflow resulting in possible code execution
CVE: CVE-2013-6393
WWW: http://portaudit.FreeBSD.org/111f1f84-1d14-4ff2-a9ea-cf07119c0d3b.html
wget-1.14_2 is vulnerable:
wget -- path traversal vulnerability in recursive FTP mode
CVE: CVE-2014-4877
WWW: http://portaudit.FreeBSD.org/ee7b4f9d-66c8-11e4-9ae1-e8e0b722a85e.html
wget-1.14_2 is vulnerable:
wget -- HTTP to FTP redirection file name confusion vulnerability
CVE: CVE-2016-4971
WWW: http://portaudit.FreeBSD.org/6df56c60-3738-11e6-a671-60a44ce6887b.html
wget-1.14_2 is vulnerable:
wget -- Access List Bypass / Race Condition
CVE: CVE-2016-7098
WWW: http://portaudit.FreeBSD.org/479c5b91-b6cc-11e6-a04e-3417eb99b9a0.html
4 problem(s) in the installed packages found.
[root@FreeBSD(/usr/local/etc)]> pkg install cfdisk gdisk
Updating repository catalogue
digests.txz 100% 2227KB 2.2MB/s 2.2MB/s 00:01
packagesite.txz 100% 5813KB 1.9MB/s 2.3MB/s 00:03
pkg: package field incomplete: comment
Incremental update completed, 26218 packages processed:
0 packages updated, 0 removed and 26218 added.
pkg: Unable to find catalogs