pkg with 9.1RC3
doug at safeport.com
doug at safeport.com
Mon Aug 4 00:40:43 UTC 2014
Okay, I duplicated my earlier attempt. Last time I ran freebsd-update, did a
portsnap, and built pkg. This time I skipped all that and just did the bootstrap
as in the handbook.
built the system: uname -a
FreeBSD odin.boltsys.com 9.1-RC3 FreeBSD 9.1-RC3 #0 r242324: Tue Oct 30
00:58:57 UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
My steps:
boot pkg
pkg2ng
pkg install -x perl5
Updating repository catalogue
No valid repository found.
I have attached the output of the above. This was the point I decided I had to
update to 9.1-release and it all worked. This time around, I can tell I do not
have pkg installed properly as 'pkg help <command>' does not work. Any help
gives 'No manual entry for pkg-<command>'
Clearly something is wrong here, but I do not know what I did.
_____
Douglas Denault
http://www.safeport.com
doug at safeport.com
Voice: 301-217-9220
Fax: 301-217-9277
-------------- next part --------------
root at odin:/home/doug # uname -a
FreeBSD odin.boltsys.com 9.1-RC3 FreeBSD 9.1-RC3 #0 r242324: Tue Oct 30 00:58:57 UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
root at odin:/home/doug # pkg
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg please wait
Installing pkg-1.3.3: 100%
Message for pkg-1.3.3:
If you are upgrading from the old package format, first run:
# pkg2ng
pkg: not enough arguments
Usage: pkg [-v] [-d] [-l] [-N] [-j <jail name or id>|-c <chroot path>] [-C <configuration file>] [-R <repo config dir>] [-o var=value] <command> [<args>]
For more information on available commands and options see 'pkg help'.
root at odin:/home/doug # pkg2ng
Converting packages from /var/db/pkg
Analysing shared libraries, this will take a while... done
root at odin:/home/doug #
root at odin:/home/doug # pkg install -x perl5
Updating repository catalogue
No valid repository found.
root at odin:/home/doug # pkg help install
No manual entry for pkg-install
More information about the freebsd-questions
mailing list