From owner-freebsd-stable@FreeBSD.ORG Sat Nov 12 15:22:43 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4440106566B for ; Sat, 12 Nov 2011 15:22:43 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta14.emeryville.ca.mail.comcast.net (qmta14.emeryville.ca.mail.comcast.net [76.96.27.212]) by mx1.freebsd.org (Postfix) with ESMTP id 8B8768FC0A for ; Sat, 12 Nov 2011 15:22:43 +0000 (UTC) Received: from omta16.emeryville.ca.mail.comcast.net ([76.96.30.72]) by qmta14.emeryville.ca.mail.comcast.net with comcast id wFM21h0041ZMdJ4AEFNcRp; Sat, 12 Nov 2011 15:22:36 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta16.emeryville.ca.mail.comcast.net with comcast id wFHc1h00v1t3BNj8cFHd4E; Sat, 12 Nov 2011 15:17:37 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 097D4102C1D; Sat, 12 Nov 2011 07:22:42 -0800 (PST) Date: Sat, 12 Nov 2011 07:22:42 -0800 From: Jeremy Chadwick To: Kenneth Hatteland Message-ID: <20111112152241.GA27697@icarus.home.lan> References: <20111112153605.e1ccb1fb54c00d8e233c411e@kleppnett.no> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111112153605.e1ccb1fb54c00d8e233c411e@kleppnett.no> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: pkg_add -r does not find packages FreeBSD 9.0 rc1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Nov 2011 15:22:43 -0000 On Sat, Nov 12, 2011 at 03:36:05PM +0100, Kenneth Hatteland wrote: > I have installed RC1 and after getting confused with the new install routines, I have my system up. But when I try to install packages like nano and cvsup-without-gui to build my machine up from base the system reports no packages found. This have only rarely happened on my other systems and never on a fresh install.....any clues ??? Chances are the FTP mirrors (which are what pkg_add -r relies on) do not have binary packages build specifically for 9.x at this point in time. $ ftp ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/ ... ftp> dir 227 Entering Passive Mode (204,152,184,73,207,75). 150 Here comes the directory listing. lrwxrwxrwx 1 633 493 15 Apr 19 2007 packages -> packages-stable drwxrwxr-x 95 967 100 2048 Nov 29 2010 packages-6-stable drwxrwxr-x 95 967 100 2048 Nov 07 18:57 packages-7-stable drwxrwxr-x 95 967 100 2048 Feb 09 2011 packages-7.4-release drwxrwxr-x 95 967 100 2048 Nov 06 17:07 packages-8-stable drwxrwxr-x 95 967 100 2048 Feb 10 2011 packages-8.2-release drwxrwxr-x 95 967 100 2048 Nov 09 17:38 packages-9-stable lrwxr-xr-x 1 967 100 17 Aug 28 2009 packages-current -> packages-8-stable lrwxr-xr-x 1 967 100 17 Nov 07 07:51 packages-stable -> packages-9-stable 226 Directory send OK. So there's a packages-9-stable directory dated 2-3 days ago. Whether or not your pkg_add client is actually trying to access that directory is unknown to me; you provided absolutely no output from pkg_add -r so I have to speculate. Without details I'm forced to make assumptions. Furthermore, some FTP mirrors may not update their mirror data as often as others. To work around this, you can specify a full URL of the package to pkg_add -r and it will work. Also be aware that ftp.freebsd.org actually returns multiple A records (3 specifically), so which actual server you get varies. "dig a ftp.freebsd.org" will show you what I mean. Finally, please be aware that a cvsup replacement, csup(1), has been in the base system since FreeBSD 6.2-RELEASE. It works the same as cvsup, parses the same files, near-identical flags, etc.. If there is a feature of cvsup that csup doesn't have, please tell us what that is so someone can implement it or provide a workaround; the less crap you have to install on your system the better (and I for one do not care for the language cvsup is written in, while csup is purely C). -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |