From owner-freebsd-questions@FreeBSD.ORG Thu Nov 16 13:33:17 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14E2A16A5B0 for ; Thu, 16 Nov 2006 13:33:17 +0000 (UTC) (envelope-from jrg718@gmx.net) Received: from unimail.uni-dortmund.de (mx1.HRZ.Uni-Dortmund.DE [129.217.128.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6233843D46 for ; Thu, 16 Nov 2006 13:33:16 +0000 (GMT) (envelope-from jrg718@gmx.net) Received: from [192.168.3.20] (dsbg-d9bb1fca.pool.mediaWays.net [217.187.31.202]) (authenticated bits=0) by unimail.uni-dortmund.de (8.13.8/8.13.8) with ESMTP id kAGDWbLf017671 for ; Thu, 16 Nov 2006 14:32:48 +0100 (CET) Message-ID: <455C6872.8060403@gmx.net> Date: Thu, 16 Nov 2006 14:32:34 +0100 From: =?ISO-8859-1?Q?J=FCrgen_Strass?= User-Agent: Thunderbird 1.5 (X11/20060317) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-MailScanner-Information: UniDo-UniMail X-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam, SpamAssassin (nicht zwischen gespeichert, Wertung=-4.399, benoetigt 5, autolearn=not spam, ALL_TRUSTED, BAYES_00) X-MailScanner-From: jrg718@gmx.net X-Spam-Status: No Subject: Portupgrade - missing packages 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: Thu, 16 Nov 2006 13:33:17 -0000 Hi there, I'm new to FreeBSD and still trying out some things. After installing the 6.1-Release some days ago, I ran freebsd-update, portsnap and portupgrade to update the system / fix security issues. What I wanted to do was an entire upgrade based on binary packages. portupgrade -aPPR reported several errors about not being able to find the related packages though. I read the handbook again and realized that I might need to set PACKAGESITE. As described, running a release, I set it to ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/ Still, portupgrade couldn't find the packages. So I set it to ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/All/ which worked with regard to downloading the packages, but resulted in several errors about packages being built for another version of FreeBSD (okay, it didn't take me long to realize that current packages probably won't work for a release). Setting PACKAGESITE back to ftp://.../packages-6-stable/Latest/ and deinstalling all packages, I tried to install new packages directly with "pkg_add -r". Same problem as with portupgrade: pkg_add couldn't find some dependent packages. When I looked at ftp.freebsd.org, I realized that some symbolic links in Latest/ pointed into nirvana. For example, the .tbz file python was linked to didn't exist in All/. I tried ftp.de.freebsd.org and since the links were correct, I was able to install the 'latest' packages with pkg_add -r without errors. I also found out that the Russian ftp server has some packages the German server doesn't have and vice versa (same directories!). I ran 'pkg_version -v | grep -e "updating"' and it showed to me that my ports collection nevertheless was newer than the packages I just had downloaded. Please, where do I get the newest packages for the 6.1-Release? How do I need to set my PACKAGESITE variable? Is it intended that the FTP servers are out of sync? Is there any misunderstanding about doing binary updates on my part? Many greetings, Jürgen PS: Very similar questions were already asked on this mailing lists, but not answered satisfyingly. At least it seems I'm not the only newbie having problems with portupgrade. It would be nice if the handbook could say a bit more about setting PACKAGESITE correctly.