Help with PKG_PATH=

2009-05-14 Thread Jose Perez Rodriguez
Today i was installing OpenBSD 4.5 and i type:
export PKG_PATH=ftp://tp.openbsd.org/pub/OpenBSD/4.5/packages/i386/
chmod u=rwx /home
PKG_CACHE=/home
pkg_add k3b

But when i type pkg_add k3b, is not working, and the url says 
ftp://tp.openbsd.org//pub/OpenBSD/4.5/packages/i386/;. Strange, isn't it?
(the double //) I'ts not my fault, so i don't what what happens.

Thank you very much.



Re: Help with PKG_PATH=

2009-05-14 Thread Johan Beisser
On Thu, May 14, 2009 at 10:41 AM, Jose Perez Rodriguez
juangmgald...@gmail.com wrote:
 Today i was installing OpenBSD 4.5 and i type:
 export PKG_PATH=ftp://tp.openbsd.org/pub/OpenBSD/4.5/packages/i386/

tp.openbsd.org?



Re: Help with PKG_PATH=

2009-05-14 Thread Stuart Henderson
On 2009-05-14, Jose Perez Rodriguez juangmgald...@gmail.com wrote:
 Today i was installing OpenBSD 4.5 and i type:
 export PKG_PATH=ftp://tp.openbsd.org/pub/OpenBSD/4.5/packages/i386/
 chmod u=rwx /home
 PKG_CACHE=/home
 pkg_add k3b

 But when i type pkg_add k3b, is not working, and the url says 
 ftp://tp.openbsd.org//pub/OpenBSD/4.5/packages/i386/;. Strange, isn't it?
 (the double //) I'ts not my fault, so i don't what what happens.

 Thank you very much.



the double / is fixed in -current. but unless you're using a fairly
strict proxy server, that's not your problem. as the other poster pointed
out, the hostname is wrong, s/tp/ftp/.



Re: Help with PKG_PATH=

2009-05-14 Thread Francisco Valladolid Hdez.
Hi


--- On Thu, 5/14/09, Jose Perez Rodriguez juangmgald...@gmail.com wrote:

 From: Jose Perez Rodriguez juangmgald...@gmail.com
 Subject: Help with PKG_PATH=
 To: misc@openbsd.org
 Date: Thursday, May 14, 2009, 6:41 PM
 Today i was installing OpenBSD 4.5
 and i type:
 export PKG_PATH=ftp://tp.openbsd.org/pub/OpenBSD/4.5/packages/i386/
 chmod u=rwx /home
 PKG_CACHE=/home
 pkg_add k3b
 
 But when i type pkg_add k3b, is not working, and the url
 says 
 ftp://tp.openbsd.org//pub/OpenBSD/4.5/packages/i386/;.
 Strange, isn't it?
 (the double //) I'ts not my fault, so i don't what what
 happens.
 
 Thank you very much.

Please correct the typo in the ftp url, and delete the last slash (/) 

Regards.



Re: Help with PKG_PATH=

2009-05-14 Thread Jacob Meuser
On Thu, May 14, 2009 at 11:30:52AM -0700, Francisco Valladolid Hdez. wrote:
 Hi
 
 
 --- On Thu, 5/14/09, Jose Perez Rodriguez juangmgald...@gmail.com wrote:
 
  From: Jose Perez Rodriguez juangmgald...@gmail.com
  Subject: Help with PKG_PATH=
  To: misc@openbsd.org
  Date: Thursday, May 14, 2009, 6:41 PM
  Today i was installing OpenBSD 4.5
  and i type:
  export PKG_PATH=ftp://tp.openbsd.org/pub/OpenBSD/4.5/packages/i386/
  chmod u=rwx /home
  PKG_CACHE=/home
  pkg_add k3b
  
  But when i type pkg_add k3b, is not working, and the url
  says 
  ftp://tp.openbsd.org//pub/OpenBSD/4.5/packages/i386/;.
  Strange, isn't it?
  (the double //) I'ts not my fault, so i don't what what
  happens.
  
  Thank you very much.
 
 Please correct the typo in the ftp url, and delete the last slash (/) 
  ^

there's no problem with that.  it used to be required, even.

 
 Regards.
 

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Help with PKG_PATH=

2009-05-14 Thread Mike Erdely
On Thu, May 14, 2009 at 01:39:13PM -0700, Fortunato wrote:
   # pwd
   /root/Desktop
   # ls -l openbgpd-4.4.1.tgz  

   -rw-r--r--  1 root  wheel  163070 May 13 18:08 openbgpd-4.4.1.tgz
   # export PKG_PATH=/root/Desktop
   # pkg_add openbgpd-4.4.1.tgz

   Can't find openbgpd-4.4.1.tgz
   /usr/sbin/pkg_add: openbgpd-4.4.1.tgz:Fatal error

openbgpd is not a package.  It's included in the base operating system
(assuming you're running OpenBSD).

$ which bgpd
/usr/sbin/bgpd

-ME



Re: Help with PKG_PATH=

2009-05-14 Thread Jacob Meuser
On Thu, May 14, 2009 at 01:39:13PM -0700, Fortunato wrote:

 I'm also having a problem but with PKG_PATH:
 
   # pwd
   /root/Desktop
   # ls -l openbgpd-4.4.1.tgz  

   -rw-r--r--  1 root  wheel  163070 May 13 18:08 openbgpd-4.4.1.tgz
   # export PKG_PATH=/root/Desktop
   # pkg_add openbgpd-4.4.1.tgz

   Can't find openbgpd-4.4.1.tgz
   /usr/sbin/pkg_add: openbgpd-4.4.1.tgz:Fatal error

openbgdp-4.4.1.tgz is a source tarball, not an OpenBSD binary package
(imo, adding '-op' [Openbsd Package] to the package names would be a
good way to avoid this confusion, but anyway) and OpenBGPD is bgpd(8)
on OpenBSD.  if you want a newer version of OpenBGPD than what's in
OpenBSD 4.4, it's probably easiest to upgrade to 4.5.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Help with PKG_PATH=

2009-05-14 Thread Tomáš Bodžár
Eee???

http://www.openbgpd.org/

Why are you trying something with some package?OpenBGPD is in base.

And /root/Desktop  ? Are you using Firefox under root?Crazy.

2009/5/14 Fortunato fortunato.montre...@earthlink.net:
 -Original Message-
 From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of
 Jacob Meuser
 Sent: Thursday, May 14, 2009 12:48 PM
 To: misc@openbsd.org
 Subject: Re: Help with PKG_PATH=

 On Thu, May 14, 2009 at 11:30:52AM -0700, Francisco Valladolid Hdez.
wrote:
  Hi
 
 
  --- On Thu, 5/14/09, Jose Perez Rodriguez juangmgald...@gmail.com
wrote:
 
   From: Jose Perez Rodriguez juangmgald...@gmail.com
   Subject: Help with PKG_PATH=
   To: misc@openbsd.org
   Date: Thursday, May 14, 2009, 6:41 PM
   Today i was installing OpenBSD 4.5
   and i type:
   export PKG_PATH=ftp://tp.openbsd.org/pub/OpenBSD/4.5/packages/i386/
   chmod u=rwx /home
   PKG_CACHE=/home
   pkg_add k3b
  
   But when i type pkg_add k3b, is not working, and the url
   says 
   ftp://tp.openbsd.org//pub/OpenBSD/4.5/packages/i386/;.
   Strange, isn't it?
   (the double //) I'ts not my fault, so i don't what what
   happens.
  
   Thank you very much.
 
  Please correct the typo in the ftp url, and delete the last slash (/)
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
^

 there's no problem with that. B it used to be required, even.

 
  Regards.
 

 --
 jake...@sdf.lonestar.org
 SDF Public Access UNIX System - http://sdf.lonestar.org

 Buon giorno,

 I'm also having a problem but with PKG_PATH:

 B # pwd
 B /root/Desktop
 B # ls -l openbgpd-4.4.1.tgz
 B -rw-r--r-- B 1 root B wheel B 163070 May 13 18:08 openbgpd-4.4.1.tgz
 B # export PKG_PATH=/root/Desktop
 B # pkg_add openbgpd-4.4.1.tgz
 B Can't find openbgpd-4.4.1.tgz
 B /usr/sbin/pkg_add: openbgpd-4.4.1.tgz:Fatal error

 I've also tried a direct download:

 B # export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/OpenBGPD
 B # pkg_add openbgpd-4.4.1.tgz
 B Error from
ftp://ftp.openbsd.org//pub/OpenBSD/OpenBGPD/openbgpd-4.4.1.tgz:
 B ftp: Writing -: Broken pipe
 B Error from
ftp://ftp.openbsd.org//pub/OpenBSD/OpenBGPD/openbgpd-4.4.1.tgz:
 B ftp: Writing -: Broken pipe
 B Error from
ftp://ftp.openbsd.org//pub/OpenBSD/OpenBGPD/openbgpd-4.4.1.tgz:
 B ftp: Writing -: Broken pipe
 B Error from
ftp://ftp.openbsd.org//pub/OpenBSD/OpenBGPD/openbgpd-4.4.1.tgz:
 B ftp: Writing -: Broken pipe
 B Error from
ftp://ftp.openbsd.org//pub/OpenBSD/OpenBGPD/openbgpd-4.4.1.tgz:
 B ftp: Writing -: Broken pipe
 B Error from
ftp://ftp.openbsd.org//pub/OpenBSD/OpenBGPD/openbgpd-4.4.1.tgz:
 B ftp: Writing -: Broken pipe
 B Can't find openbgpd-4.4.1.tgz
 B /usr/sbin/pkg_add: openbgpd-4.4.1.tgz:Fatal error
 B # uname -a
 B OpenBSD NY.tpn-af.mil 4.4 GENERIC#1021 i386

 I suspect this has more to do with the actual package. Any ideas?

 Ciao for now,





--
http://www.openbsd.org/lyrics.html



Re: Help with PKG_PATH=

2009-05-14 Thread Fortunato
Newbie slap to head - D'OH!

I'm gonna have to memorize the standard package:

  http://www.openbsd.org/faq/faq1.html#Included

Dankeschoen...

-Original Message-
From: Mike Erdely m...@erdelynet.com
Sent: May 14, 2009 1:59 PM
To: Fortunato fortunato.montre...@earthlink.net
Cc: misc@openbsd.org
Subject: Re: Help with PKG_PATH=

On Thu, May 14, 2009 at 01:39:13PM -0700, Fortunato wrote:
   # pwd
   /root/Desktop
   # ls -l openbgpd-4.4.1.tgz 
 
   -rw-r--r--  1 root  wheel  163070 May 13 18:08 openbgpd-4.4.1.tgz
   # export PKG_PATH=/root/Desktop
   # pkg_add openbgpd-4.4.1.tgz   
 
   Can't find openbgpd-4.4.1.tgz
   /usr/sbin/pkg_add: openbgpd-4.4.1.tgz:Fatal error

openbgpd is not a package.  It's included in the base operating system
(assuming you're running OpenBSD).

$ which bgpd
/usr/sbin/bgpd

-ME



Re: Help with PKG_PATH=

2009-05-14 Thread Tomáš Bodžár
It doesn't matter because it leads to error in future.You will be
learned to work as root and you will often forgot use normal user
account.You can trust me.I saw it many times before even with more
knowledgeable people in Unix area then I'm.

Dne 14. kvDten 2009 23:11 Fortunato
fortunato.montre...@earthlink.net napsal(a):
 It's not a production system, just a sandbox.

 Yeah... I'm gonna have to memorize the standard packages -
http://www.openbsd.org/faq/faq1.html#Included

 -Original Message-
From: TomC!E! BodEC!r tomas.bod...@gmail.com
Sent: May 14, 2009 2:08 PM
To: Fortunato fortunato.montre...@earthlink.net
Cc: OpenBSD-misc list misc@openbsd.org
Subject: Re: Help with PKG_PATH=

Eee???

http://www.openbgpd.org/

Why are you trying something with some package?OpenBGPD is in base.

And /root/Desktop B ? Are you using Firefox under
root?Crazy.

2009/5/14 Fortunato fortunato.montre...@earthlink.net:
 -Original Message-
 From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf
Of
 Jacob Meuser
 Sent: Thursday, May 14, 2009 12:48 PM
 To: misc@openbsd.org
 Subject: Re: Help with PKG_PATH=

 On Thu, May 14, 2009 at 11:30:52AM -0700, Francisco Valladolid Hdez.
wrote:
  Hi
 
 
  --- On Thu, 5/14/09, Jose Perez Rodriguez juangmgald...@gmail.com
wrote:
 
   From: Jose Perez Rodriguez juangmgald...@gmail.com
   Subject: Help with PKG_PATH=
   To: misc@openbsd.org
   Date: Thursday, May 14, 2009, 6:41 PM
   Today i was installing OpenBSD 4.5
   and i type:
   export PKG_PATH=ftp://tp.openbsd.org/pub/OpenBSD/4.5/packages/i386/
   chmod u=rwx /home
   PKG_CACHE=/home
   pkg_add k3b
  
   But when i type pkg_add k3b, is not working, and the url
   says 
   ftp://tp.openbsd.org//pub/OpenBSD/4.5/packages/i386/;.
   Strange, isn't it?
   (the double //) I'ts not my fault, so i don't what what
   happens.
  
   Thank you very much.
 
  Please correct the typo in the ftp url, and delete the last slash (/)
 B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B  B 
^

 there's no problem with that. B it used to be required, even.

 
  Regards.
 

 --
 jake...@sdf.lonestar.org
 SDF Public Access UNIX System - http://sdf.lonestar.org

 Buon giorno,

 I'm also having a problem but with PKG_PATH:

 B # pwd
 B /root/Desktop
 B # ls -l openbgpd-4.4.1.tgz
 B -rw-r--r-- B 1 root B wheel B 163070 May 13 18:08 openbgpd-4.4.1.tgz
 B # export PKG_PATH=/root/Desktop
 B # pkg_add openbgpd-4.4.1.tgz
 B Can't find openbgpd-4.4.1.tgz
 B /usr/sbin/pkg_add: openbgpd-4.4.1.tgz:Fatal error

 I've also tried a direct download:

 B # export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/OpenBGPD
 B # pkg_add openbgpd-4.4.1.tgz
 B Error from
ftp://ftp.openbsd.org//pub/OpenBSD/OpenBGPD/openbgpd-4.4.1.tgz:
 B ftp: Writing -: Broken pipe
 B Error from
ftp://ftp.openbsd.org//pub/OpenBSD/OpenBGPD/openbgpd-4.4.1.tgz:
 B ftp: Writing -: Broken pipe
 B Error from
ftp://ftp.openbsd.org//pub/OpenBSD/OpenBGPD/openbgpd-4.4.1.tgz:
 B ftp: Writing -: Broken pipe
 B Error from
ftp://ftp.openbsd.org//pub/OpenBSD/OpenBGPD/openbgpd-4.4.1.tgz:
 B ftp: Writing -: Broken pipe
 B Error from
ftp://ftp.openbsd.org//pub/OpenBSD/OpenBGPD/openbgpd-4.4.1.tgz:
 B ftp: Writing -: Broken pipe
 B Error from
ftp://ftp.openbsd.org//pub/OpenBSD/OpenBGPD/openbgpd-4.4.1.tgz:
 B ftp: Writing -: Broken pipe
 B Can't find openbgpd-4.4.1.tgz
 B /usr/sbin/pkg_add: openbgpd-4.4.1.tgz:Fatal error
 B # uname -a
 B OpenBSD NY.tpn-af.mil 4.4 GENERIC#1021 i386

 I suspect this has more to do with the actual package. Any ideas?

 Ciao for now,





--
http://www.openbsd.org/lyrics.html





--
http://www.openbsd.org/lyrics.html



Re: Help with PKG_PATH=

2009-05-14 Thread Tomáš Bodžár
;-)

It's nothing IT specific.People just make mistakes.Even me.But there
is a possibility that someone can learn from it :-)

PS:Everyone is newbie.We will be pro in coffin :-D

2009/5/14 Fortunato fortunato.montre...@earthlink.net:
 Newbie slap to head - D'OH!

 I'm gonna have to memorize the standard package:

 B http://www.openbsd.org/faq/faq1.html#Included

 Dankeschoen...

 -Original Message-
From: Mike Erdely m...@erdelynet.com
Sent: May 14, 2009 1:59 PM
To: Fortunato fortunato.montre...@earthlink.net
Cc: misc@openbsd.org
Subject: Re: Help with PKG_PATH=

On Thu, May 14, 2009 at 01:39:13PM -0700, Fortunato wrote:
 B  # pwd
 B  /root/Desktop
 B  # ls -l openbgpd-4.4.1.tgz
 B  -rw-r--r-- B 1 root B wheel B 163070 May 13 18:08 openbgpd-4.4.1.tgz
 B  # export PKG_PATH=/root/Desktop
 B  # pkg_add openbgpd-4.4.1.tgz
 B  Can't find openbgpd-4.4.1.tgz
 B  /usr/sbin/pkg_add: openbgpd-4.4.1.tgz:Fatal error

openbgpd is not a package. B It's included in the base operating system
(assuming you're running OpenBSD).

$ which bgpd
/usr/sbin/bgpd

-ME





--
http://www.openbsd.org/lyrics.html