Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

How to install git

Status
Not open for further replies.

Ray Milyard

Senior Member
Joined
Aug 8, 2014
Messages
262
I have a FreeNAS 9.3.x that is up to date as of today.

When I try:

pkg install git

I get this error:

root@sabnzbd_1:/ #pkg: No packages available to install matching 'git' have been found in the repositoriesAll repositories are up-to-date.FreeBSD repository is up-to-date.Updating FreeBSD repository catalogue...

How can I fix this or install git. Sorry but FreeBSD noob here.
 
D

dlavigne

Guest
Are you running that command inside a jail or from the FreeNAS shell?
 

Ray Milyard

Senior Member
Joined
Aug 8, 2014
Messages
262
Are you running that command inside a jail or from the FreeNAS shell?

Inside of my sabnzbd jail. Trying to get Joshua media stuff working. Worked the other day. Now getting that error trying setup friends server.
 
D

dlavigne

Guest
That's the correct command. Can you double-check that you can ping a domain name (such as google.com) from within the jail?
 

Joshua Parker Ruehlig

Wizened Sage
Joined
Dec 5, 2011
Messages
5,946
I'm assuming the package is broken on the official repo at the moment. you could always try building from ports

cd /usr/ports/devel/git
make install clean
 

Joshua Parker Ruehlig

Wizened Sage
Joined
Dec 5, 2011
Messages
5,946
you probably need to install the ports tree
portsnap fetch install
 

m0nkey_

Dedicated Sage
Joined
Oct 27, 2015
Messages
2,741
Sounds like your repository's are not up to date.

To update pkg:
# pkg update

To update ports:
# portsnap fetch extract
 

Ray Milyard

Senior Member
Joined
Aug 8, 2014
Messages
262
Sounds like your repository's are not up to date.

To update pkg:
# pkg update

To update ports:
# portsnap fetch extract

Did the portsnap fetch extract the cd usr/ports/devel/git and make clean install. Now what?
 
Status
Not open for further replies.
Top