Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2008 15:38:17 +0100
From:      "Colin Brace" <cb@lim.nl>
To:        freebsd-questions@freebsd.org
Subject:   portupgrade can't fetch packages
Message-ID:  <aec9371b0803100738i63bead9bn8d3d257bd53bed79@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,

Earlier today I ran "portupgrade -aP" to update my system. Alas,
everytime it tried to download a package, it failed and resorted to
downloading and compiling the source. For example:

[...]
--->  Checking for the latest package of 'lang/python25'
--->  Fetching the package(s) for 'python25-2.5.2_1' (lang/python25)
--->  Fetching python25-2.5.2_1
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7-stable/All/python25-2.5.2_1.tbz:
Can't open data connection
** The command returned a non-zero exit status: 1
** Failed to fetch
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7-stable/All/python25-2.5.2_1.tbz
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7-stable/All/python25-2.5.2_1.tgz:
File unavailable (e.g., file not found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7-stable/All/python25-2.5.2_1.tgz
** Failed to fetch python25-2.5.2_1
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! python25-2.5.2_1      (fetch error)
** Could not find the latest version (2.5.2_1)
--->  Using the port instead of a package
[...]

However, I could copy and paste the given URL,
<ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7-stable/All/python25-2.5.2_1.tgz>,
 into another terminal window and download it manually with wget, ftp,
fetch, and/or curl (I tested them all).

What could be preventing portupgrade from being able to download the
packages itself?

Thanks.

$ uname -r
7.0-STABLE

-- 
  Colin Brace
  Amsterdam
  http://lim.nl



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