portsnap - broken metadata

Angelin Lalev lalev.angelin at gmail.com
Wed Feb 3 12:20:55 UTC 2010


On Sat, Jan 23, 2010 at 9:52 AM, Angelin Lalev <lalev.angelin at gmail.com> wrote:
> 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   61 MB  249 kBps 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 2010.
> 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 = FTP_PROXY =
USERNAME:PASSWORD at proxy.uni-svishtov.bg:8080)

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

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

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


More information about the freebsd-questions mailing list