Solved [SOLVED]pkg install[Help]

Hi.When I try to install xorg with the command pkg install xorg says:
Code:
No packages matching 'xorg' available in the repositories.
I already did:
Code:
#/usr/sbin/pkg 
#pkg2ng
Sorry my bad english.
Thanks.
 
Re: pkg install[Help]

Code:
If you point your FreeBSD.conf repo file to the release directory, everything should work.

I believe you can just edit the URL in the config file and point it to the following:
pkg+http://pkg.freebsd.org/freebsd:10:x86:64/release/0/
In which config file?I tried putting this: http://pkg.freebsd.org/freebsd:10:x86:64/release/0/ in FreeBSD.conf but did not work.
 
Re: pkg install[Help]

Change your URL to this:
Code:
pkg+http://pkg.freebsd.org/freebsd:10:x86:64/release/0/
just like that other post shows.

It has been reported that the xorg package is not available from the repos yet because of an error when building one part of it currently.
 
Re: pkg install[Help]

ljboiler said:
Change your URL to this:
Code:
pkg+http://pkg.freebsd.org/freebsd:10:x86:64/release/0/
just like that other post shows.

It has been reported that the xorg package is not available from the repos yet because of an error when building one part of it currently.
Thanks for the tip.But how to change the URL?I already tried to do as root:
Code:
pkg+http://pkg.freebsd.org/freebsd:10:x86:64/release/0/
and did not work.I'm a newbie and do not know much about BSD.Thanks!
 
Re: pkg install[Help]

You do not "run" that URL. It should be in your FreeBSD.conf file (/usr/local/etc/pkg/repos/FreeBSD.conf).
Then you should run as root:
Code:
pkg update
Then to find available xorg packages:
Code:
pkg search xorg
You will see that xorg-7.7 is not in the list. You must wait until it is fixed and put in the repository, or you can try to build it
yourself from the ports collection.
 
Re: pkg install[Help]

If you are using FreeBSD 10.0, you can edit and change the URL in /etc/pkg/FreeBSD.conf as well. See pkg.conf(5) for details.
 
Back
Top