Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2010 12:20:53 +0000
From:      Angelin Lalev <lalev.angelin@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: portsnap - broken metadata
Message-ID:  <532b03711002030420q4754ba64q1d11596892e2173b@mail.gmail.com>
In-Reply-To: <532b03711001230152v5cf1958eg232805aec8d62b61@mail.gmail.com>
References:  <532b03711001230152v5cf1958eg232805aec8d62b61@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 23, 2010 at 9:52 AM, Angelin Lalev <lalev.angelin@gmail.com> wr=
ote:
> Greetings,
> I believe I have broken the metainformation folders of portsnap.
> How to fix them?
>
> ironholm# rm -rf /var/db/portsnap/
> ironholm# mkdir /var/db/portsnap
> ironholm# portsnap fetch
> Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found.
> Fetching public key from portsnap2.FreeBSD.org... done.
> Fetching snapshot tag from portsnap2.FreeBSD.org... done.
> Fetching snapshot metadata... done.
> Fetching snapshot generated at Sat Jan 23 01:17:43 UTC 2010:
> 8161b7b0a3b6b42453659f19197bfcc324b0a54b57dc29100% of =A0 61 MB =A0249 kB=
ps 00m00s
> Extracting snapshot... done.
> Verifying snapshot integrity... done.
> Fetching snapshot tag from portsnap2.FreeBSD.org... done.
> Fetching snapshot metadata... done.
> Updating from Sat Jan 23 01:17:43 UTC 2010 to Sat Jan 23 08:00:35 UTC 201=
0.
> Fetching 4 metadata patches. done.
> Applying metadata patches... done.
> Fetching 4 metadata files... /usr/sbin/portsnap: cannot open
> bd5906dc86367765516942be65b56170d979598ac1325709aa83e67efec39d6d.gz:
> No such file or directory
> metadata is corrupt.
> ironholm#
>

I have some additional details:

I have proxy server that requires username and password and I have set
the HTTP_PROXY and FTP_PROXY environment variables accordingly.
(HTTP_PROXY =3D FTP_PROXY =3D
USERNAME:PASSWORD@proxy.uni-svishtov.bg:8080)

portsnap --debug shows, among other rows the following error message:

phttpget: host =3D USERNAME, port =3D PASSWORD@proxy.uni-svishtov.bg:8080:
servname not
 supported for ai_socktype

Seems to me like a bug somewhere in portsnap. Any help?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?532b03711002030420q4754ba64q1d11596892e2173b>