I am quite new to FreeBSD/UNIX/Linux, etc. and have been feverishly attempting to learn the ins and outs over the past few weeks. However, for the life of me I cannot figure out why none of the pkg commands work as described in the man pages.
I am running FreeBSD 9.1. After reading through chapter 5 - Installing Applications Packages and Ports form the pdf handbook, I upgraded the pkg_install package tools to pkgng and then ran pkg2ng. I placed
in /etc/make.conf and have
set as the PACKAGESITE in /usr/local/etc/pkg.conf.
When I attempt to use any command, arbitrarily listed as follows:
[cmd=]pkg install emacs[/cmd]
[cmd=]pkg search emacs[/cmd]
[cmd=]pkg add emacs[/cmd]
[cmd=]pkg fetch[/cmd]
etc.; I get the message:
or simply nothing happens and I am returned to an empty prompt. I'm sure I am just plain ignorant and this is a self-induced issue, but I cannot find a working solution on my own in spite of my efforts. Any help would be greatly appreciated and save me from countless more wasted hours :r
I am running FreeBSD 9.1. After reading through chapter 5 - Installing Applications Packages and Ports form the pdf handbook, I upgraded the pkg_install package tools to pkgng and then ran pkg2ng. I placed
Code:
WITH_PKGNG=yes
Code:
http://pkgbeta.freebsd.org/freebsd-9-i386/latest/
When I attempt to use any command, arbitrarily listed as follows:
[cmd=]pkg install emacs[/cmd]
[cmd=]pkg search emacs[/cmd]
[cmd=]pkg add emacs[/cmd]
[cmd=]pkg fetch[/cmd]
etc.; I get the message:
Code:
Updating repository catalogue
Repository catalogue is up-to-date, no need to fetch fresh copy
pkg: Package 'emacs' was not found in the repositories
or simply nothing happens and I am returned to an empty prompt. I'm sure I am just plain ignorant and this is a self-induced issue, but I cannot find a working solution on my own in spite of my efforts. Any help would be greatly appreciated and save me from countless more wasted hours :r