From owner-freebsd-questions@FreeBSD.ORG Wed Jan 16 19:31:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8D9A16A469 for ; Wed, 16 Jan 2008 19:31:13 +0000 (UTC) (envelope-from colin.brace@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 4EFA413C461 for ; Wed, 16 Jan 2008 19:31:12 +0000 (UTC) (envelope-from colin.brace@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so424643fgg.35 for ; Wed, 16 Jan 2008 11:31:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=2vxRY3yA5M/Vykv306xLEswUlXt7Az7ITnUKXrULwAc=; b=hvRNMSO8nEhcd7480WBUponlEfG+WOcJkaAdtUUEK+eLe+WFh5UNuFY7+6XdPAvvy7s+dQO4tESyIKRWJk4Cp4uVBxcKqPoMB4QTJfQpv0Unbk9+Cdos2xORpnmx4Nx8bGuGAyDCYUm9suxSZQd48zrTv557uzwoBYetr6CX/yw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=dA7DDsNVQfvNSSxpc+e7Le3VXOUm2q1q+t8swzBEM9avT7sAo0UNJm6O4XgyZuJRk8EE0wt7Cx/A2ufWOppdvtBATfdwcqcGcWisX889KZa+VoQqlPuQM2xeAkB9QOz7r/7nfcYxOQKA8ytjfYbfQzXS4LrrM0+orRpuYFn4n64= Received: by 10.82.150.20 with SMTP id x20mr2112982bud.5.1200511871268; Wed, 16 Jan 2008 11:31:11 -0800 (PST) Received: by 10.82.108.2 with HTTP; Wed, 16 Jan 2008 11:31:11 -0800 (PST) Message-ID: Date: Wed, 16 Jan 2008 20:31:11 +0100 From: "Colin Brace" Sender: colin.brace@gmail.com To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 091637e3831138fa Subject: pkg_add: remote install (-r) broken X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jan 2008 19:31:13 -0000 Hi all, At some point after my original installation of v.7-BETA3 in late November and a subsquent upgrade to BETA4 with Colin Percival's freebsd-update, installing packages remotely with pkg_add on my system broke. For example: $ sudo pkg_add -vr rtorrent scheme: [ftp] user: [] password: [] host: [ftp.freebsd.org] port: [0] document: [/pub/FreeBSD/ports/i386/packages-7-current/Latest/rtorrent.tbz] ---> ftp.freebsd.org:21 looking up ftp.freebsd.org connecting to ftp.freebsd.org:21 <<< 220 ftp.FreeBSD.org NcFTPd Server (licensed copy) ready. >>> USER anonymous <<< 331 Guest login ok, send your complete e-mail address as password. >>> PASS colin@venus.lim.nl <<< 230-You are user #181 of 1000 simultaneous users allowed. <<< 230- <<< 230 Logged in anonymously. >>> PWD <<< 257 "/" is cwd. >>> CWD pub/FreeBSD/ports/i386/packages-7-current/Latest <<< 250 "/pub/FreeBSD/ports/i386/packages-7-current/Latest" is new cwd. >>> MODE S <<< 200 Mode okay. >>> TYPE I <<< 200 Type okay. binding data socket >>> PORT 172,19,3,3,209,68 <<< 200 PORT command successful. initiating transfer >>> RETR rtorrent.tbz <<< 550 Cannot connect to 78.27.2.208:53572 - Unknown error: 0. Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-current/Latest/rtorrent.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-current/Latest/rtorrent.tbz' by URL pkg_add: 1 package addition(s) failed Now, I *know* the package and host are online; I can copy and paste the URL from the screen to grab it with wget: wget ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-current/Latest/rtorrent.tbz This works. What could be going wrong with add_pkg here? As I indicate above, I am currently at 7.0-BETA4 Thanks. -- Colin Brace Amsterdam http://lim.nl