trouble with IPv6 address with pkg_add(1)

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

trouble with IPv6 address with pkg_add(1)

Bruno Carnazzi
   Hi all,

When using PKG_PATH=ftp://ftp.freenet.de/pub/ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386
with pkg_add(1), updating package with "sudo pkg_add -ui -F update -F
updatedepends" fails, saying "no package in PKG_PATH". When using
PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386,
everything work fine. As both path includes exactly the same packages,
I expect there is a trouble with IPv6 adress (I go through a IPv4
NAT-box, and my LAN is IPv4-only) :

$ host ftp.freenet.de
ftp.freenet.de is an alias for ftp-0.freenet.de.
ftp-0.freenet.de has address 194.97.2.67
ftp-0.freenet.de has address 194.97.2.68
ftp-0.freenet.de has address 194.97.2.69
ftp.freenet.de is an alias for ftp-0.freenet.de.
ftp-0.freenet.de has IPv6 address 2001:748:100:50::3
ftp-0.freenet.de has IPv6 address 2001:748:100:50::4
ftp-0.freenet.de has IPv6 address 2001:748:100:50::5
ftp.freenet.de is an alias for ftp-0.freenet.de.

and

$ host ftp.openbsd.org
ftp.openbsd.org is an alias for openbsd.sunsite.ualberta.ca.
openbsd.sunsite.ualberta.ca has address 129.128.5.191
ftp.openbsd.org is an alias for openbsd.sunsite.ualberta.ca.
ftp.openbsd.org is an alias for openbsd.sunsite.ualberta.ca.

I don't want' to waste OpenBSD mainsite bandwidth :)

I suppose I can find a work-around with FETCH_CMD, but it's against
OpenBSD "it-just-works" spirit...

Note : uname -a is OpenBSD beasty.etherspace.run 4.0 GENERIC#1237 i386

Best regards,

Bruno.

Reply | Threaded
Open this post in threaded view
|

Re: trouble with IPv6 address with pkg_add(1)

marcus.popp (Bugzilla)
On 2006-11-28T19:40, Bruno Carnazzi wrote:

>   Hi all,
>
> When using
> PKG_PATH=ftp://ftp.freenet.de/pub/ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386
> with pkg_add(1), updating package with "sudo pkg_add -ui -F update -F
> updatedepends" fails, saying "no package in PKG_PATH". When using
> PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386,
> everything work fine. As both path includes exactly the same packages,
> I expect there is a trouble with IPv6 adress (I go through a IPv4
> NAT-box, and my LAN is IPv4-only) :
I don't think this problem is caused by IPv6.
Have you tried adding a slash, as stated in man 1 pkg_add, to the
PKG_PATH?
like PKG_PATH=ftp://ftp.freenet.de/pub/ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386/

so long,

Marcus.

Reply | Threaded
Open this post in threaded view
|

Re: trouble with IPv6 address with pkg_add(1)

Bruno Carnazzi
2006/11/28, Marcus Popp <[hidden email]>:

> On 2006-11-28T19:40, Bruno Carnazzi wrote:
> >   Hi all,
> >
> > When using
> > PKG_PATH=ftp://ftp.freenet.de/pub/ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386
> > with pkg_add(1), updating package with "sudo pkg_add -ui -F update -F
> > updatedepends" fails, saying "no package in PKG_PATH". When using
> > PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386,
> > everything work fine. As both path includes exactly the same packages,
> > I expect there is a trouble with IPv6 adress (I go through a IPv4
> > NAT-box, and my LAN is IPv4-only) :
> I don't think this problem is caused by IPv6.
> Have you tried adding a slash, as stated in man 1 pkg_add, to the
> PKG_PATH?

I'm updating... :)

But I don't think the backslash is the problem, as in second case,
everything works fine (without backslash)...

> like PKG_PATH=ftp://ftp.freenet.de/pub/ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386/
>
> so long,
>
> Marcus.

Reply | Threaded
Open this post in threaded view
|

Re: trouble with IPv6 address with pkg_add(1)

marcus.popp (Bugzilla)
On 2006-11-28T20:58, Bruno Carnazzi wrote:
...
> >I don't think this problem is caused by IPv6.
> >Have you tried adding a slash, as stated in man 1 pkg_add, to the
> >PKG_PATH?
>
> I'm updating... :)
>
> But I don't think the backslash is the problem, as in second case,
> everything works fine (without backslash)...
very likely these are different ftp-servers (application) with differnt
configurations => different behavior.

so long,

Marcus.

Reply | Threaded
Open this post in threaded view
|

Re: trouble with IPv6 address with pkg_add(1)

Bruno Carnazzi
2006/11/28, Marcus Popp <[hidden email]>:
> On 2006-11-28T20:58, Bruno Carnazzi wrote:
> ...
> > >I don't think this problem is caused by IPv6.
> > >Have you tried adding a slash, as stated in man 1 pkg_add, to the
> > >PKG_PATH?

You are right : adding an ending slash did the trick.

Thank you and sorry for the noise...

> >
> > I'm updating... :)
> >
> > But I don't think the backslash is the problem, as in second case,
> > everything works fine (without backslash)...
> very likely these are different ftp-servers (application) with differnt
> configurations => different behavior.
>
> so long,
>
> Marcus.