Solved [solved]Problem installing Packages in FreeBSD 10

I was trying to install a package using pkg add but i got the reply that package manager not installed.
To install that ,
tar -C /tmp -zvxf pkg-1.2.1_1.txz
and
/tmp/usr/local/sbin/pkg-static pkg-1.2.1_1.txz
I worked out for the first time. But when i rebooted my pc i got an error that,
error exit delayed from previous errors

How to install package manager from FreeBSD installation DVD now?
 
Re: Problem installing Packages in FreeBSD 10

Hi, With a standard installation, pkg is installed with the base system. Try whereis pkg to verify.
 
Re: Problem installing Packages in FreeBSD 10

You can force a re-install of ports-mgmt/pkg to the latest version that is offered as the "bootstrap" version by doing this:

/usr/sbin/pkg bootstrap -f

Hi, With a standard installation, pkg is installed with the base system. Try whereis pkg to verify.

It is and it isn't at the same time. What is included in the base system is a bootstrap binary that is used to download and install the real ports-mgmt/pkg as the first package in the system.
 
Re: Problem installing Packages in FreeBSD 10

Got it, Thanks, I was going to suggest something like that next.
Hope there is a internet connection with that box!
 
Back
Top