LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
LinkBack Search this Thread
Old 11-20-2011, 02:33 AM   #1
ReaperX7
Member
 
Registered: Jul 2011
Distribution: Heavily customized and modified Slackware64-current based operating system.
Posts: 379
Blog Entries: 3

Rep: Reputation: Disabled
Question pkg_add says path to packages is missing or not available.


Installed FreeBSD in VirtualBox to give it a try-out while I learn it's ins and outs more than dual-booting.

Now I'm trying to start adding ports packages to the system and the pkg_add system states that when I request a package like xorg, that the location ftp://ftp.freebsd.org/pub/FreeBSD/po...ages-9-current is no available. I checked the FTP website and discovered the path is incorrect and is actually ftp://ftp.freebsd.org/pub/FreeBSD/po...kages-9-stable. Is there a way to reconfigure pkg_add to point to the correct tree branch directory?
 
Old 11-20-2011, 07:43 AM   #2
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian wheezy/sid, PC-BSD
Posts: 3,000
Blog Entries: 4

Rep: Reputation: 88
The package tree directory is pointed in the environment variable PKG_PATH.

You need to setenv it to the correct location (in csh or tcsh). In bash you would export it. You can add it to the .profile file so that the variable is automatically set every time you log in.

Last edited by vharishankar; 11-20-2011 at 07:47 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
freeBSD pkg_add & - -install-path adilturbo *BSD 1 08-22-2008 03:22 PM
Updating $PATH and adding packages manimal29 Linux - Newbie 2 07-15-2008 11:24 AM
Path Problems with compiling software and Slackbuilt packages GushpinBob Slackware 3 03-11-2008 07:20 PM
Slacware packages' install path SolarBear Slackware 4 06-25-2004 02:34 PM
java on firefox path missing? barrys Mandriva 10 03-23-2004 08:02 AM


All times are GMT -5. The time now is 08:23 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration