pkg_add adds an extra / to pkg_path

2009-02-02 Thread Siju George
Hi, I have this in my PKG_PATH variable $ echo $PKG_PATH ftp://ftp.openbsd.org/pub/OpenBSD/4.4/packages/i386/ $ When I try to update a package it shows an error $ sudo pkg_add -ui firefox3 Error from ftp://ftp.openbsd.org//pub/OpenBSD/4.4/packages/i386/: ftp: connect: Connection refused ftp

Re: trouble installing ports (No packages available in the PKG_PATH)

2008-11-14 Thread 23号
on 4.3. When I come to 'make reinstall' the thing is trying to download from the $PKG_PATH that I have set earlier in my script and, of course, does not find the files it needs. Removing that variable and I get No packages available in the PKG_PATH. Relevant snippet: export SUBDIR

trouble installing ports (No packages available in the PKG_PATH)

2008-11-13 Thread Juan Miscaro
I'm scripting a reinstall routine for my ports on 4.3. When I come to 'make reinstall' the thing is trying to download from the $PKG_PATH that I have set earlier in my script and, of course, does not find the files it needs. Removing that variable and I get No packages available in the PKG_PATH

Re: PKG_PATH question !

2008-08-03 Thread Francisco Valladolid Hdez.
Thanks for the appointment.! Regards. --- Philip Guenther [EMAIL PROTECTED] wrote: On Sat, Aug 2, 2008 at 1:52 PM, Francisco Valladolid Hdez. [EMAIL PROTECTED] wrote: Can have more than IP address appointed to PKG_PATH ? PKG_PATH can't contain IP addresses except as part of URLs

PKG_PATH question !

2008-08-02 Thread Francisco Valladolid Hdez.
Hi. Can have more than IP address appointed to PKG_PATH ? some times I have packages grabbed in my HD sometimes I have to install from ftp. It's possible do it: export PKG_PATH=ftp://ftp.some; /usr/ports/packages/ Regards. --- Therefore, if anyone is in Christ, he is a new creation; the old

Re: PKG_PATH question !

2008-08-02 Thread Philip Guenther
On Sat, Aug 2, 2008 at 1:52 PM, Francisco Valladolid Hdez. [EMAIL PROTECTED] wrote: Can have more than IP address appointed to PKG_PATH ? PKG_PATH can't contain IP addresses except as part of URLs. It can contain entries that aren't URLs. some times I have packages grabbed in my HD sometimes

Multiple PKG_PATH query

2008-07-07 Thread Edd Barrett
Hi, I have two package paths set up. OpenBSD official and openbsd-stable (openbsd.rutgers.edu). I get some 404's from rutgers, but I wonder why. I has clearly looked up a pkg on the main openbsd server and is then looking on the other for the same package: thinky% sudo pkg_add -i

Re: Failing to install packages with $PKG_PATH

2008-06-26 Thread Marc Espie
On Mon, Jun 23, 2008 at 10:34:33PM +, Jacob Meuser wrote: On Mon, Jun 23, 2008 at 06:56:00PM -0300, Daniel B. wrote: Hi, I've updated to the today -current and I can't install packages as I usually do. # export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386

Re: Failing to install packages with $PKG_PATH

2008-06-24 Thread Tomas Bodzar
Hi, Maybe try remove second ftp in way.When I was set up PKG_PATH as is in FAQ on qemu 'PKG_PATH=ftp://ftp.openbsd.org..' then fail and your message If 'PKG_PATH=ftp://openbsd.org..' then ok -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Failing to install packages with $PKG_PATH

2008-06-23 Thread Daniel B.
Hi, I've updated to the today -current and I can't install packages as I usually do. # export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386 # pkg_add -vi screen (an example) No packages available in the PKG_PATH Can't resolve screen # Tried with some mirrors too but without

Re: Failing to install packages with $PKG_PATH

2008-06-23 Thread James Hartley
On Mon, Jun 23, 2008 at 2:56 PM, Daniel B. [EMAIL PROTECTED] wrote: I've updated to the today -current and I can't install packages as I usually do. # export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386 Note the FAQ 15.2.2 requires a final directory delimiter which

Re: Failing to install packages with $PKG_PATH

2008-06-23 Thread Jacob Meuser
On Mon, Jun 23, 2008 at 06:56:00PM -0300, Daniel B. wrote: Hi, I've updated to the today -current and I can't install packages as I usually do. # export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386 man pkg_add ... Since a few URL schemes contain colons, pkg_add

Re: Failing to install packages with $PKG_PATH

2008-06-23 Thread Daniel B.
On Mon, 23 Jun 2008, James Hartley wrote: On Mon, Jun 23, 2008 at 2:56 PM, Daniel B. [EMAIL PROTECTED] wrote: I've updated to the today -current and I can't install packages as I usually do. # export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386 Note the FAQ

SRC in PKG_PATH ( was Re: updating ports after OS update )

2008-05-16 Thread Ben Calvert
On May 16, 2008, at 12:34 AM, Marc Espie wrote: Or even add a SRC: element to your PKG_PATH as a fallback. Marc - where is this documented? i can't find it in pkg_add, package, or friends. Ben

Re: SRC in PKG_PATH ( was Re: updating ports after OS update )

2008-05-16 Thread Marc Espie
On Fri, May 16, 2008 at 11:47:09AM -0700, Ben Calvert wrote: On May 16, 2008, at 12:34 AM, Marc Espie wrote: Or even add a SRC: element to your PKG_PATH as a fallback. Marc - where is this documented? i can't find it in pkg_add, package, or friends. It was finished fairly recently

system not using second entry in $PKG_PATH

2007-11-19 Thread Juan Miscaro
On two OpenBSD 4.2 systems I have a (master) system that contains two repositories - one of regular packages and one of packages derived from ports. On the client (slave) system I have a script with a PKG_PATH containing both repositories: PKG_PATH_LAN1=ftp://$MASTER/$VERSION/packages

Re: system not using second entry in $PKG_PATH

2007-11-19 Thread Marc Espie
On Mon, Nov 19, 2007 at 08:21:17AM -0500, Juan Miscaro wrote: On two OpenBSD 4.2 systems I have a (master) system that contains two repositories - one of regular packages and one of packages derived from ports. On the client (slave) system I have a script with a PKG_PATH containing both

Re: system not using second entry in $PKG_PATH

2007-11-19 Thread Juan Miscaro
a script with a PKG_PATH containing both repositories: PKG_PATH_LAN1=ftp://$MASTER/$VERSION/packages/ PKG_PATH_LAN2=ftp://$MASTER/$VERSION/packages/by_port/i386/all/ PKG_PATH=$PKG_PATH_LAN1:$PKG_PATH_LAN2 However the second one (PKG_PATH_LAN2) is never consulted. If I remove

Re: system not using second entry in $PKG_PATH

2007-11-19 Thread Nick Guenther
On 11/19/07, Juan Miscaro [EMAIL PROTECTED] wrote: --- Marc Espie [EMAIL PROTECTED] wrote: On Mon, Nov 19, 2007 at 08:21:17AM -0500, Juan Miscaro wrote: However the second one (PKG_PATH_LAN2) is never consulted. If I remove the first one then packages are found and installed with no

Re: system not using second entry in $PKG_PATH

2007-11-19 Thread Juan Miscaro
--- Nick Guenther [EMAIL PROTECTED] wrote: On 11/19/07, Juan Miscaro [EMAIL PROTECTED] wrote: --- Marc Espie [EMAIL PROTECTED] wrote: On Mon, Nov 19, 2007 at 08:21:17AM -0500, Juan Miscaro wrote: However the second one (PKG_PATH_LAN2) is never consulted. If I remove the first

Re: system not using second entry in $PKG_PATH

2007-11-19 Thread christian widmer
two repositories - one of regular packages and one of packages derived from ports. On the client (slave) system I have a script with a PKG_PATH containing both repositories: PKG_PATH_LAN1=ftp://$MASTER/$VERSION/packages/ PKG_PATH_LAN2=ftp://$MASTER/$VERSION/packages/by_port/i386/all

Re: system not using second entry in $PKG_PATH

2007-11-19 Thread Juan Miscaro
On Monday 19 November 2007 14.21:17 Juan Miscaro wrote: On two OpenBSD 4.2 systems I have a (master) system that contains two repositories - one of regular packages and one of packages derived from ports. On the client (slave) system I have a script with a PKG_PATH containing both

Re: system not using second entry in $PKG_PATH

2007-11-19 Thread Stuart Henderson
On 2007/11/19 22:35, christian widmer wrote: ask yourself why do you use ':' as a separator? see pkg_add(8) about PKG_PATH

PKG_PATH pain

2007-03-07 Thread Peter
Hi everyone. I have a local FTP server that contains many packages. When doing an install I want my pc to first check this server before going onto the net. I have set up the following in a shell script on the pc being installed: LAN_FTP=192.168.3.11 OS_V0=$(uname -r) PKG_PATH=ftp://$LAN_FTP

Re: PKG_PATH pain

2007-03-07 Thread Nick !
OS_V0=$(uname -r) PKG_PATH=ftp://$LAN_FTP/OpenBSD/$OS_V0/packages/:ftp://ftp.openbsd.org/pub/OpenBSD/$OS_V0/packages/i386/ export PKG_PATH pkg_add -v postfix The thing is that pkg_add wants to go directly to the internet site instead of the local one: Error from ftp://ftp.openbsd.org/pub

Re: PKG_PATH pain

2007-03-07 Thread Peter
script on the pc being installed: LAN_FTP=192.168.3.11 OS_V0=$(uname -r) PKG_PATH=ftp://$LAN_FTP/OpenBSD/$OS_V0/packages/:ftp://ftp.openbsd.org/pu b/OpenBSD/$OS_V0/packages/i386/ export PKG_PATH pkg_add -v postfix The thing is that pkg_add wants to go directly to the internet

Re: PKG_PATH pain

2007-03-07 Thread Nick !
On 3/7/07, Peter [EMAIL PROTECTED] wrote: Yes, that works. Except that I get the situation that I want to avoid: missing dependencies. That's why I want that 2nd FTP site in my PKG_PATH: parsing postfix-2.3.2 Dependencies for postfix-2.3.2 resolve to: pcre-6.4p1 (todo: pcre-6.4p1) Error from

Re: PKG_PATH pain

2007-03-07 Thread Ingo Schwarze
-r) PKG_PATH=ftp://$LAN_FTP/OpenBSD/$OS_V0/packages/: ftp://ftp.openbsd.org/pub/OpenBSD/$OS_V0/packages/i386/ export PKG_PATH pkg_add -v postfix According to my understanding, pkg_add will always check all paths given in PKG_PATH. In order to choose the right package, it will inspect

Re: PKG_PATH pain

2007-03-07 Thread Peter
on the pc being installed: LAN_FTP=192.168.3.11 OS_V0=$(uname -r) PKG_PATH=ftp://$LAN_FTP/OpenBSD/$OS_V0/packages/: ftp://ftp.openbsd.org/pub/OpenBSD/$OS_V0/packages/i386/ export PKG_PATH pkg_add -v postfix According to my understanding, pkg_add will always check all paths

No packages available in the PKG_PATH

2006-07-27 Thread Nick Guenther
a feeling, though, that whatever I'm doing is very obvious; please tell me what it is, though. First I set my PKG_PATH and try to install a package with just it's name and get the error in the subject. That doesn't work so I try with the version number appended and get a different error

Re: No packages available in the PKG_PATH

2006-07-27 Thread Nick Guenther
On 7/27/06, Sigfred Heversen [EMAIL PROTECTED] wrote: Nick Guenther wrote: # PKG_PATH=ftp://mirror.arcticnetwork.ca/pub/OpenBSD/3.9/packages/i386/ Use following before pkg_add # export PKG_PATH=ftp://mirror.arcticnetwork.ca/pub/OpenBSD/3.9/packages/i386/ Oh. Damn. I had this idea

<    1   2