|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
||||
|
||||
|
Changing path for pkg_add
Hi guys,
I want to install screen on a FreeBSD 4 box. I use pkg_add -r screen, but the file doesn't exist under the search path on the ports ftp location: Quote:
I have tried to set the $PACKAGESITE environment variable to point to ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4-stable/misc. O chose that path, because logging in over ftp and browsing actually shows the package tgz file there - anyway, I still get the same error. If I export my new $PACKAGESITE env var, I get the error "pkg_add: can't stat package file 'screen'". How can I fix this to point to the new path.. also, I realise I could probably just download the package file and install it directly. Are there any 'best practices' to bear in mind when not using -r ? thanks all christo
__________________
. Spiration channels: Free scripts, programming tutorials and articles Dotcut alerts: Online Press cuttings / news alerts Clearprop: UK microlight school, wiltshire Uk dating: UK safe dating with Topdates About Christo . . |
|
#2
|
|||
|
|||
|
http_proxy or ftp_proxy
did you consider those too? If you need the package quickly installed, download it and just pkg_add it. |
|
#3
|
||||
|
||||
|
I'm not using a proxy for http or ftp - and pkg_add works fine for some packages so long as they are in the expected location on ftp.freebsd.org.
christo |
|
#4
|
|||
|
|||
|
pkg_add -rv ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/path/to/screen.tgz
|
|
#5
|
||||
|
||||
|
Thanks Direhit - I'm off the network now, with no VPN, so I'll try it and will let you know on monday.
cheers christo |
|
#6
|
||||
|
||||
|
well it look I misread 'screem' as 'screen' and there isn't a screen port for freebsd-4
nevermind. christo |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > Changing path for pkg_add |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|