|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|
|||
can't setup PKG_PATH after install of 5.5
Hello
I have never used a bsd family system before. I am to the point of setting PKG_PATH in order to install all the other programs like a decent graphical browser. Here is my PKG_PATH, feel free to correct qqbecause I could not see the errs myself : PKG_PATH=ftp://ftp.irisa/fr/pub/OpenBSD/5.5/packages/amd64/;ftp://ftp.arcarcane-networks.fr/pub/...OpenBSD/amd64/ But the console tell me this : ksh:/root/profile[22]: ftp://ftp/ftp.arcarcane-networks.fr/pub/OpenBSD/amd64/: not found ksh:/root/profile[22]: ftp://ftp/ftp.fr.openbsd.org/pub/OpenBSD/amd64/ : not found despite having read the man pages, I can't get ksh redirect the error output and standard output on the same file. otherwise I would I post here the file. essentialy pkg_add tell me that it can't found the first two adresses, but ignore the third. I'll post the file if you can give a command to past directly Thanks |
|
||||
A lot of syntax errors and misspelt URLs there.
Choose a mirror: http://www.openbsd.org/ftp.html#ftp Read FAQ 15: http://www.openbsd.org/faq/faq15.html#PkgMgmt |
|
|||
Yes, your syntax is incorrect. The OpenBSD project has all mirrors use the same folder structure.
One way to verify your mirror and pull the path is to use the built-in ftp(1) client in a terminal. Use the cd (change directory command) command to change to the desired package directory. The pwd (present working directory command) will echo the path to the packages working directory. This can be copy'd n pasted into the PKG_PATH declaration in your `/.profileAlso see this example at M:tier. Last edited by shep; 18th July 2014 at 11:08 PM. Reason: bilut in -> built-in |
|
|||
As a bonus, when you install OpenBSD, if you choose to install sets over http then your system will remember which mirror you used and set PKG_PATH for you so you don't have to do it manually (unless you really want to).
|
|
|||
I observe that for servers such as ftp.irisa.fr whose response is rather slow to make the content of /pub/OpenBSD/5.5/packages/ appear,
is seen as empty by pkg_add, so by the ftp built-in command. Can I set higher the delay latency ? Last edited by spermwhale_warrior; 19th July 2014 at 09:23 AM. |
|
|||
If your response time to a particular mirror is that bad, you should choose a different mirror.
|
|
|||
well, it's done. I reinstalled so that all the config be done.
First : whereis is PKG_PATH written when we install the sets through http ? I thought I could modify the default PKG_PATH after the installation, but if there are any I'll keep doing gross syntax errors ! |
|
|||
/etc/pkg.conf
|
|
|||
Quote:
Code:
export PKG_PATH="ftp://ftp.openbsd.com/pub/OpenBSD/5.5/packages/${uname -m}" |
|
|||
I apologize, not the .xinitrc it was the .profile! Just remembered I put .xinitrc...
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is the PKG_PATH for NetBSD 6.0.1 Binary Installs? | haziz | NetBSD General | 9 | 19th March 2013 01:12 AM |
Need help with NAT setup | Quaxo | OpenBSD Installation and Upgrading | 6 | 27th January 2009 08:03 PM |
"No package available in the PKG_PATH" error | Nk2Network | OpenBSD Packages and Ports | 19 | 12th January 2009 09:22 PM |
HOWTO: Install and setup MLDonkey on FreeBSD | tangram | Guides | 0 | 7th January 2009 05:13 PM |
How To Setup WPA? | warriors | OpenBSD General | 8 | 15th June 2008 04:39 PM |