From owner-freebsd-current@FreeBSD.ORG Fri Jan 19 17:30:34 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1EF9316A404 for ; Fri, 19 Jan 2007 17:30:34 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 86D5113C461 for ; Fri, 19 Jan 2007 17:30:33 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so468596uge for ; Fri, 19 Jan 2007 09:30:32 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=GtAr5lwuoXHBIN5KBGFlttPgo88eKqN1dEqVf5q+dxj/vCOarBH2HrVkWJoN3n1BgQ2hUn2NgxCc296aSOHxzG+eXe5aVO85AAm6MFNYEyTSEn00jcAozcN2f7Egc+L4rhnH3Tl16FjObpYoKPJFUxw7j+EVlLZeJ6FDuZDdqXQ= Received: by 10.82.135.13 with SMTP id i13mr724663bud.1169227832152; Fri, 19 Jan 2007 09:30:32 -0800 (PST) Received: by 10.78.164.20 with HTTP; Fri, 19 Jan 2007 09:30:32 -0800 (PST) Message-ID: Date: Fri, 19 Jan 2007 20:30:32 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Bartek Dedersen" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: e9c7d5c68ae400ec Cc: current@freebsd.org Subject: Re: Updating the ports from STABLE to CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jan 2007 17:30:34 -0000 On 1/19/07, Bartek Dedersen wrote: > Hi. > > I thought of trying out the bleeding edge and hoped my knowledge of > BSD is high enough to handle it without any major problems. > > But: I installed FreeBSD-6.1 with the provided ISO package available > on freebsd.org. Some packages were installed via pkg_add. After one > week, the technician of the German telecommunication firm managed to > visit me and put his finger on the cables in the cellar. Well, I > thought of upgrading some packages with the ports-subsystem. It was > pretty easy and nice. But then I wanted more and installed CURRENT > from the CVS-source. Some buildworlds and kernel configuration later, > I had a 7.0 Current. Ok, after a startx I got some error that libXmmu > cannot be found. Ok, so I tried to recompile xorg-libraries. Ok, but > there were lots of broken packages due to a filesystem breakdown after > a kernel panic. > Well, I tried to delete it with pkg_delete -f and it worked. Now, I am > recompiling it from the updated ports-collection. > > Do I have to expect more failures and do I see an upcoming recompiling > week due to broken libraries which do not work on CURRENT? Is it more > useful to reinstall BSD from scratch and update it first? > > I know, CURRENT is not for productive use but I need something to put > my fingers on. Maybe I will learn. > > Is there a command to recompile, deinstall and reinstall every > installed package from the ports-system? If not, it will be hell. "portupgrade -af", but I'd advise to "pkg_delete -af" (which has a custom to fail miserably, you might have to pkg_delete in portions of 50-200 packages) and reinstall everything you need later.