View Single Post
Old 12th January 2009
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,131
Default

@BSDfan666: I see progress in the posts. Besides, I understand French

Nk2Network,:

If you use ssh to login to another machine you have another login session.
The PKG_PATH setting is local to your login session. For example :
Code:
j65nko@hercules[~]. ./PKGenv                  
PKGenv : Remember you are not ROOT !!
------------------------------------
OpenBSD 4.2 (GENERIC) #1179: Tue Aug 28 10:37:50 MDT 2007
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
Current settings
------------------------------------
PKG_CACHE=/home/packages/
PKG_PATH=ftp://ftp.plig.org/pub/OpenBSD/4.4/packages/amd64/
------------------------------------
j65nko@hercules[~]echo $PKG_PATH
ftp://ftp.plig.org/pub/OpenBSD/4.4/packages/amd64/
When I now ssh in to host 'parmenides' on my local LAN the PKG_PATH will not be inherited by the ssh login session on 'parmenides'.
Code:
j65nko@hercules[~]ssh j65nko@parmenides.utp.xnet
Last login: Mon Jan 12 01:28:58 2009 from hercules.utp.xnet

[snip]

Welcome to OpenBSD: The proactively secure Unix-like operating system.

[snip]

j65nko@parmenides[~]echo $PKG_PATH

j65nko@parmenides[~]exit
Connection to parmenides.utp.xnet closed.
As you see the PKG_PATH set in the xterm on host 'hercules' was not transported, or inherited by the new ssh login session on host 'parmenides'.
But it still is set on 'hercules':
Code:
j65nko@hercules[~]echo $PKG_PATH
ftp://ftp.plig.org/pub/OpenBSD/4.4/packages/amd64/
j65nko@hercules[~]
I wonder if it could be a DNS issue. What is the output of?
Code:
$ dig ftp.plig.org
Does it show the IP address of ftp.plig.org?

Does it help if you specify the complete package name: pkg_add -vv gimp-2.4.6p1.tgz ?
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote