From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 18:33:29 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 EDFCB106564A for ; Mon, 22 Dec 2008 18:33:29 +0000 (UTC) (envelope-from me@janh.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by mx1.freebsd.org (Postfix) with ESMTP id 50DE38FC08 for ; Mon, 22 Dec 2008 18:33:29 +0000 (UTC) (envelope-from me@janh.de) Received: from janh.freebsd (e177250219.adsl.alicedsl.de [85.177.250.219]) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis) id 0ML29c-1LEpap1ZC7-0007zu; Mon, 22 Dec 2008 19:33:27 +0100 Message-ID: <494FDD70.60504@janh.de> Date: Mon, 22 Dec 2008 19:33:20 +0100 From: Jan Henrik Sylvester User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: Luca Presotto References: 20081222155057.5153b9a5@gumby.homeunix.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18izORix+s3FG2RbrQOcBBxfYK+fpS5p756Rl5 MsGEOofTgTnhb8Ucc6d3jYUb2qeV2dMswvMTPXxLlJeRVoBXLZ dye5CWEOAVhAvnLZ90CYw== Cc: questions-list freebsd Subject: Re: Could not find package - using ports 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: Mon, 22 Dec 2008 18:33:30 -0000 Luca wrote: >> The reason that portupgrade -P was not using packages is that, by >> default it fetches packages built against the tree that's on the >> install disks, so there wont be any for updated ports. >> >> You can set portupgrade to fetch packages for the 7-stable development >> branch (you can google for how to do this). For the most part this will >> work, but occasionally there will be library problems. > >Thank you, now it's clear. >I will try this as soon as I can. I did that and would not do it again for a massive upgrade: http://lists.freebsd.org/pipermail/freebsd-questions/2008-August/180336.html Using freebsd-update for a (minor version) upgrade to 7.1-RC1 and after that using 7.1-RELEASE packages for a portupgrade will probably take less time overall. See the 7.1-RC1 announcement on how to do the first part: http://lists.freebsd.org/pipermail/freebsd-stable/2008-December/047014.html When it is available, you should upgrade to 7.1-RELEASE, which will take less time with freebsd-update from 7.1-RC1 than from 7.0-RELEASE, since there are less configuration file changes to be merged. For the portupgrade, you should have in mind that portupgrade uses the ports tree to know what to upgrade to which version. Your ports tree is newer than the 7.1-RELEASE packages. Anyhow, if the newest package is not available but a newer one than the one installed, portupgrade usually works, too. Reading /usr/ports/UPDATING before is still advisable. You might still run into problems of the nature that kde was used to be build against openldap23-client at the time of 7.0-RELEASE, but the 7.1-RELEASE packages are build against openldap24-client and these two ports cannot coexist. With ports this is not a problem, since it can be build against either version. (AFAIR, this particular case will work out fine, but there was something else requiring manual work besides everything listed in UPDATING.) Probably not for 7.0->7.1, but in some cases removing all packages and reinstalling all takes less time than anything else. Cheers, Jan Henrik